Cargo Features

incrementalmerkletree has no features set by default.

incrementalmerkletree = { version = "0.5.1", features = ["legacy-api", "test-dependencies"] }

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


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

Enables proptest, rand, and rand_core