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 whenever tuple-hash is added without default-features = false somewhere in the dependency tree.

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.

Enables std of optional sha3

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.

sha3 rust-crypto