[package]
name = "sp-trie"
version = "2.0.0-rc2"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Patricia trie stuff using a parity-scale-codec node format"
repository = "https://github.com/paritytech/substrate/"
license = "Apache-2.0"
edition = "2018"
homepage = "https://substrate.dev"
documentation = "https://docs.rs/sp-trie"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[[bench]]
name = "bench"
harness = false

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false }
sp-std = { version = "2.0.0-rc2", default-features = false, path = "../std" }
hash-db = { version = "0.15.2", default-features = false }
trie-db = { version = "0.20.1", default-features = false }
trie-root = { version = "0.16.0", default-features = false }
memory-db = { version = "0.20.0", default-features = false }
sp-core = { version = "2.0.0-rc2", default-features = false, path = "../core" }

[dev-dependencies]
trie-bench = "0.21.0"
trie-standardmap = "0.15.2"
criterion = "0.2.11"
hex-literal = "0.2.1"
sp-runtime = { version = "2.0.0-rc2", path = "../runtime" }

[features]
default = ["std"]
std = [
	"sp-std/std",
	"codec/std",
	"hash-db/std",
	"memory-db/std",
	"trie-db/std",
	"trie-root/std",
	"sp-core/std",
]
