mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
8fc8c81144
* Add memory tracker feature to sp-trie to fix wasm panic * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "sp-trie"
|
|
version = "2.0.0-rc5"
|
|
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.1", default-features = false }
|
|
sp-std = { version = "2.0.0-rc5", default-features = false, path = "../std" }
|
|
hash-db = { version = "0.15.2", default-features = false }
|
|
trie-db = { version = "0.22.0", default-features = false }
|
|
trie-root = { version = "0.16.0", default-features = false }
|
|
memory-db = { version = "0.24.0", default-features = false }
|
|
sp-core = { version = "2.0.0-rc5", default-features = false, path = "../core" }
|
|
|
|
[dev-dependencies]
|
|
trie-bench = "0.24.0"
|
|
trie-standardmap = "0.15.2"
|
|
criterion = "0.2.11"
|
|
hex-literal = "0.2.1"
|
|
sp-runtime = { version = "2.0.0-rc5", 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",
|
|
]
|
|
memory-tracker = []
|