Files
pezkuwi-subxt/substrate/primitives/trie/Cargo.toml
T
Benjamin Kampmann 5a33228ea9 Reduce usage of Blake2Hasher (#5132)
This reduces the usage of `Blake2Hasher` in the code base and replaces
it with `BlakeTwo256`. The most important change is the removal of the
custom extern function for `Blake2Hasher`. The runtime `Hash` trait is
now also simplified and directly requires that the implementing type
implements `Hashable`.
2020-03-05 08:51:03 +01:00

43 lines
1.2 KiB
TOML

[package]
name = "sp-trie"
version = "2.0.0-alpha.3"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Patricia trie stuff using a parity-scale-codec node format"
repository = "https://github.com/paritytech/substrate/"
license = "GPL-3.0"
edition = "2018"
homepage = "https://substrate.dev"
documentation = "https://docs.rs/sp-trie"
[[bench]]
name = "bench"
harness = false
[dependencies]
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false }
sp-std = { version = "2.0.0-alpha.2", default-features = false, path = "../std" }
hash-db = { version = "0.15.2", default-features = false }
trie-db = { version = "0.20.0", default-features = false }
trie-root = { version = "0.16.0", default-features = false }
memory-db = { version = "0.19.0", default-features = false }
sp-core = { version = "2.0.0-alpha.2", default-features = false, path = "../core" }
[dev-dependencies]
trie-bench = "0.20.0"
trie-standardmap = "0.15.2"
criterion = "0.2.11"
hex-literal = "0.2.1"
sp-runtime = { version = "2.0.0-alpha.2", 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",
]