# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75.0" name = "amplify" version = "4.8.0" authors = [ "Dr. Maxim Orlovsky ", "Martin Habovstiak ", ] build = false exclude = [ ".github", "derive", "syn", "num", "serde_str_helpers", "stringly_conversions", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Amplifying Rust language capabilities: multiple generic trait implementations, type wrappers, derive macros" homepage = "https://github.com/rust-amplify" readme = "README.md" keywords = [ "generics", "core", "wrap", "patterns", ] categories = [ "data-structures", "rust-patterns", ] license = "MIT" repository = "https://github.com/rust-amplify/rust-amplify" [lib] name = "amplify" path = "src/lib.rs" [dependencies.amplify_apfloat] version = "0.3.1" optional = true [dependencies.amplify_derive] version = "4.0.1" optional = true [dependencies.amplify_num] version = "0.5.3" [dependencies.amplify_syn] version = "2.0.1" optional = true [dependencies.ascii] version = "1.1.0" [dependencies.libc] version = "0.2" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.serde_crate] version = "1.0" features = ["derive"] optional = true package = "serde" [dependencies.stringly_conversions] version = "0.1.1" features = ["alloc"] optional = true [dev-dependencies.serde_json] version = "1.0" [features] all = [ "serde", "std", "stringly_conversions", "c_raw", "proc_attr", "derive", "rand", "apfloat", "apfloat_std", ] alloc = ["amplify_num/alloc"] apfloat = ["amplify_apfloat"] apfloat_alloc = ["amplify_apfloat/alloc"] apfloat_std = ["amplify_apfloat/std"] c_raw = [ "libc", "std", ] default = [ "std", "derive", "hex", ] derive = ["amplify_derive"] hex = ["amplify_num/hex"] proc_attr = ["amplify_syn"] serde = [ "serde_crate", "std", "amplify_num/serde", "ascii/serde", "stringly_conversions", "stringly_conversions/alloc", "stringly_conversions/serde_str_helpers", ] std = [ "amplify_num/std", "alloc", ] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2" features = ["js"] optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.rand] version = "0.8.4" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3"