[package] name = "reth-trie-sparse" version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true description = "Sparse MPT implementation" [lints] workspace = true [dependencies] # reth reth-primitives-traits.workspace = true reth-execution-errors.workspace = true reth-trie-common.workspace = true tracing.workspace = true # alloy alloy-primitives.workspace = true alloy-rlp.workspace = true # misc auto_impl.workspace = true smallvec = { workspace = true, features = ["const_new"] } # metrics reth-metrics = { workspace = true, optional = true } metrics = { workspace = true, optional = true } [dev-dependencies] reth-primitives-traits = { workspace = true, features = ["arbitrary"] } reth-provider = { workspace = true, features = ["test-utils"] } reth-storage-api.workspace = true reth-testing-utils.workspace = true reth-trie = { workspace = true, features = ["test-utils"] } reth-trie-common = { workspace = true, features = ["test-utils", "arbitrary"] } reth-trie-db = { workspace = true, features = ["test-utils"] } reth-tracing.workspace = true arbitrary.workspace = true assert_matches.workspace = true criterion.workspace = true itertools.workspace = true pretty_assertions.workspace = true proptest-arbitrary-interop.workspace = true proptest.workspace = true rand.workspace = true rand_08.workspace = true [features] default = ["std", "metrics"] std = [ "reth-storage-api/std", "reth-primitives-traits/std", "reth-execution-errors/std", "reth-trie-common/std", "alloy-primitives/std", "alloy-rlp/std", "tracing/std", ] metrics = ["dep:reth-metrics", "dep:metrics", "std"] test-utils = [ "std", "reth-primitives-traits/test-utils", "reth-provider/test-utils", "reth-trie-common/test-utils", "reth-trie-db/test-utils", "reth-trie/test-utils", ] arbitrary = [ "std", "reth-primitives-traits/arbitrary", "reth-trie-common/arbitrary", "alloy-primitives/arbitrary", "smallvec/arbitrary", ] [[bench]] name = "root" harness = false [[bench]] name = "rlp_node" harness = false