# 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" name = "radix-common" version = "1.3.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library of common types and functions shared by all layers of the Radix stack, from the Radix DLT project." readme = "README.md" license-file = "LICENSE" repository = "https://github.com/radixdlt/radixdlt-scrypto" [lib] name = "radix_common" path = "src/lib.rs" bench = false [[test]] name = "derive_manifest_sbor" path = "tests/derive_manifest_sbor.rs" [[test]] name = "derive_scrypto_sbor" path = "tests/derive_scrypto_sbor.rs" [[test]] name = "manifest_codec" path = "tests/manifest_codec.rs" [[test]] name = "scrypto_codec" path = "tests/scrypto_codec.rs" [[bench]] name = "math" path = "benches/math/main.rs" harness = false [[bench]] name = "schema" path = "benches/schema.rs" harness = false [dependencies.arbitrary] version = "1.3.0" features = [ "derive", "derive", ] optional = true [dependencies.bech32] version = "0.9.0" default-features = false [dependencies.blake2] version = "0.10.6" default-features = false [dependencies.blst] version = "0.3.11" features = ["portable"] optional = false default-features = false [dependencies.bnum] version = "0.11.0" features = [ "numtraits", "numtraits", ] default-features = false [dependencies.ed25519-dalek] version = "2.1.1" features = [ "fast", "zeroize", ] default-features = false [dependencies.ethnum] version = "1.3.2" optional = true default-features = false [dependencies.hex] version = "0.4.3" default-features = false [dependencies.lazy_static] version = "1.4.0" [dependencies.num-bigint] version = "0.4.3" default-features = false [dependencies.num-integer] version = "0.1.45" default-features = false [dependencies.num-traits] version = "0.2.15" default-features = false [dependencies.paste] version = "1.0.13" [dependencies.radix-rust] version = "1.3.0" default-features = false [dependencies.radix-sbor-derive] version = "1.3.0" default-features = false [dependencies.rug] version = "1.18" optional = true [dependencies.sbor] version = "1.3.0" default-features = false [dependencies.secp256k1] version = "0.28.0" features = [ "recovery", "recovery", ] optional = true default-features = false [dependencies.serde] version = "1.0.144" features = [ "derive", "derive", ] optional = true default-features = false [dependencies.sha3] version = "0.10.8" optional = false default-features = false [dependencies.strum] version = "0.24" features = [ "derive", "derive", ] default-features = false [dependencies.zeroize] version = "1.3.0" optional = false [dev-dependencies.criterion] version = "0.3" features = [ "html_reports", "html_reports", ] [dev-dependencies.serde_json] version = "1.0.105" [features] alloc = [ "hex/alloc", "sbor/alloc", "radix-rust/alloc", "radix-sbor-derive/alloc", "serde_json/alloc", "ed25519-dalek/alloc", "secp256k1?/alloc", "lazy_static/spin_no_std", "blst/no-threads", ] coverage = [] default = ["std"] full_math_benches = [ "dep:rug", "dep:ethnum", ] fuzzing = [ "arbitrary", "serde", "bnum/arbitrary", "bnum/serde", "sbor/fuzzing", "radix-rust/fuzzing", ] resource_tracker = [] secp256k1_sign_and_validate = ["secp256k1"] serde = [ "dep:serde", "radix-rust/serde", "sbor/serde", "hex/serde", ] std = [ "hex/std", "sbor/std", "radix-rust/std", "radix-sbor-derive/std", "serde_json/std", "ed25519-dalek/std", "secp256k1?/std", "blake2/std", "sha3/std", ]