Cargo Features

incrementalmerkletree has no features set by default.

[dependencies]
incrementalmerkletree = { version = "0.8.0", features = ["legacy-api", "test-dependencies"] }
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

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