Cargo Features

ShardTree has no features set by default.

[dependencies]
shardtree = { version = "0.3.1", features = ["legacy-api", "test-dependencies"] }
legacy-api

The legacy-api feature guards types and functions that are useful for migrating data previously managed using incrementalmerkletree/legacy-api types into the ShardTree data structure.

Enables legacy-api of incrementalmerkletree

test-dependencies = assert_matches, proptest

The test-depenencies feature can be enabled to expose types and functions that are useful for testing shardtree functionality.

Enables test-dependencies of incrementalmerkletree

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.

assert_matches test-dependencies?
proptest test-dependencies?