[package] name = "sp-trie" version = "37.0.0" authors.workspace = true description = "Patricia trie stuff using a parity-scale-codec node format (polkadot v1.15.0)" repository.workspace = true license = "Apache-2.0" edition.workspace = true homepage = "https://substrate.io" documentation = "https://docs.rs/sp-trie" readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [[bench]] name = "bench" harness = false [dependencies] ahash = { optional = true, workspace = true } codec = { workspace = true } hash-db = { workspace = true } lazy_static = { optional = true, workspace = true } memory-db = { workspace = true } nohash-hasher = { optional = true, workspace = true } parking_lot = { optional = true, workspace = true, default-features = true } rand = { optional = true, workspace = true, default-features = true } scale-info = { features = ["derive"], workspace = true } thiserror = { optional = true, workspace = true } tracing = { optional = true, workspace = true, default-features = true } trie-db = { workspace = true } trie-root = { workspace = true } sp-core.workspace = true sp-externalities.workspace = true schnellru = { optional = true, workspace = true } [dev-dependencies] array-bytes = { workspace = true, default-features = true } criterion = { workspace = true, default-features = true } trie-bench = { workspace = true } trie-standardmap = { workspace = true } sp-runtime = { default-features = true, path = "../runtime" } [features] default = ["std"] std = [ "ahash", "codec/std", "hash-db/std", "lazy_static", "memory-db/std", "nohash-hasher", "parking_lot", "rand", "scale-info/std", "schnellru", "sp-core/std", "sp-externalities/std", "thiserror", "tracing", "trie-db/std", "trie-root/std", ]