Cargo Features

incrementalmerkletree has no features set by default.

[dependencies]
incrementalmerkletree = { version = "0.8.1", features = ["std", "legacy-api", "test-dependencies"] }
std test-dependencies?

The std feature is no longer enabled by default because it is not needed for backwards compatibility; it is only enabled by the test-dependencies feature.

legacy-api

The legacy-api feature guards types and functions that were previously part of the zcash_primitives crate. Those types were removed in the zcash_primitives 0.12 release and are now maintained here.

Affects frontier::PathFiller, frontier::CommitmentTree, frontier::testing.arb_commitment_tree, incrementalmerkletree::witness

test-dependencies = std

The test-dependencies feature guards types and functions that are useful for testing incremental Merkle trees and Merkle tree frontiers.

Enables proptest, rand ^0.8, and rand_core ^0.6