Cargo Features
[dependencies]
tuple-hash = { version = "0.5.1", default-features = false, features = ["alloc", "rust-crypto", "std"] }
- default = rust-crypto
-
The
rust-crypto
feature is set by default whenevertuple-hash
is added without
somewhere in the dependency tree.default-features = false - alloc
-
Enable
alloc
support.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
std
support.
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.