Cargo Features
[dependencies]
tari_crypto = { version = "0.22.0", default-features = false, features = ["std", "precomputed_tables", "borsh", "bulletproofs_plus", "serde"] }
- default = borsh, bulletproofs_plus, precomputed_tables, serde
-
These default features are set whenever
tari_crypto
is added without
somewhere in the dependency tree.default-features = false - std
-
Enables std of blake2, optional borsh, digest, log, merlin, rand_chacha ^0.3, rand_core ^0.6, optional serde, sha3, snafu ^0.7, subtle, tari_utilities, and zeroize
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - precomputed_tables default
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- borsh default
- bulletproofs_plus default
-
Enables tari_bulletproofs_plus
Affects
tari_crypto::range_proof
,tari_crypto::extended_range_proof
,ristretto::bulletproofs_plus
… - serde default
-
Affects
ristretto::serialize
…