Cargo Features

ShardTree has no features set by default.

[dependencies]
shardtree = { version = "0.5.0", 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

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

Enables assert_matches, incrementalmerkletree-testing and proptest, test-dependencies of incrementalmerkletree