Cargo Features
[dependencies]
tuple-hash = { version = "0.6.0", default-features = false, features = ["alloc", "rust-crypto", "std"] }
- default = rust-crypto
-
The
rust-cryptofeature is set by default whenevertuple-hashis added withoutsomewhere in the dependency tree.default-features = false - alloc
-
Enable
allocsupport.Currently unused.
- rust-crypto default = sha3
-
Enable RustCrypto support.
Affects
hash::TupleHash128,hash::TupleHash256,hash::TupleHashXof128,hash::TupleHashXof256,hash::tuple_hash128,hash::tuple_hash256,hash::tuple_hash_xof128,hash::tuple_hash_xof256… - std
-
Enable
stdsupport.
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.