Cargo Features

[dependencies]
merkle_hash = { version = "3.8.0", default-features = false, features = ["parallel", "camino", "sha", "retain", "encode", "bincode"] }
default = camino, encode, parallel

These default features are set whenever merkle_hash is added without default-features = false somewhere in the dependency tree.

parallel default = rayon
camino default

Enables camino

Affects merkle_path::MerklePath.relative, merkle_path::MerklePath.absolute

sha = sha2
retain

Affects merkle_item::MerkleItem.children_paths

encode default

Affects hex_encoding::bytes_to_hex, hex_encoding::Encodable

bincode

Enables bincode, serde1 of optional camino

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.

rayon parallel
sha2 sha?