# 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 = "2018" name = "tari_crypto" version = "0.21.0" authors = ["The Tari Development Community"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Tari Cryptography library" homepage = "https://tari.com" readme = "README.md" categories = ["cryptography"] license = "BSD-3-Clause" repository = "https://github.com/tari-project/tari" [lib] name = "tari_crypto" crate-type = [ "lib", "cdylib", ] path = "src/lib.rs" bench = false [[bench]] name = "benches" path = "benches/mod.rs" harness = false [[bench]] name = "commitment" path = "benches/commitment.rs" [[bench]] name = "signatures" path = "benches/signatures.rs" [dependencies.blake2] version = "0.10" default-features = false [dependencies.borsh] version = "1.5" features = ["derive"] optional = true default-features = false [dependencies.bulletproofs_plus] version = "0.4" optional = true package = "tari_bulletproofs_plus" [dependencies.curve25519-dalek] version = "4" features = [ "alloc", "rand_core", "precomputed-tables", "zeroize", ] default-features = false [dependencies.digest] version = "0.10" default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.merlin] version = "3" default-features = false [dependencies.once_cell] version = "1.8" features = ["critical-section"] default-features = false [dependencies.rand_chacha] version = "0.3" default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.serde] version = "1.0" optional = true [dependencies.sha3] version = "0.10" default-features = false [dependencies.snafu] version = "0.7" default-features = false [dependencies.subtle] version = "2.5.0" default-features = false [dependencies.tari_utilities] version = "0.8" default-features = false [dependencies.zeroize] version = "1" default-features = false [dev-dependencies.bincode] version = "1.1" [dev-dependencies.criterion] version = "0.5" default-features = false [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1.0" [dev-dependencies.sha2] version = "0.10" [dev-dependencies.tari_utilities] version = "0.8" features = ["std"] [features] default = [ "bulletproofs_plus", "serde", "precomputed_tables", "borsh", ] precomputed_tables = [] std = [ "blake2/std", "borsh?/std", "digest/std", "log/std", "merlin/std", "once_cell/std", "rand_chacha/std", "rand_core/std", "serde?/std", "sha3/std", "snafu/std", "subtle/std", "tari_utilities/std", "zeroize/std", ]