Cargo Features
[dependencies]
tari_crypto = { version = "0.21.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, once_cell, rand_chacha, rand_core, optional serde, sha3, snafu ^0.7, subtle, tari_utilities, and zeroize
once_cell:
Enables
once_cell::sync
module. - 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
…