mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 10:41:01 +00:00
Switch to shiny new fast, RLP-less trie (#795)
* Bump codec * Fix tests * Patricia trie builds * Introduce trie * Some yak shaving. * Some fixes * Remove RLP ref * Fixes * It builds! * Some tests fixed * Another test fix * Rejig more hashes * substrate-trie::iterator_works test * Update lock * Polish * Docs * Undo incorrect "fix" for tests * Fix nits
This commit is contained in:
committed by
Arkadiy Paronyan
parent
b02c274374
commit
82d6ca3484
@@ -0,0 +1,35 @@
|
||||
[package]
|
||||
name = "substrate-trie"
|
||||
version = "0.4.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
description = "Patricia trie stuff using a parity-codec node format"
|
||||
repository = "https://github.com/paritytech/parity-common"
|
||||
license = "GPL-3.0"
|
||||
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
harness = false
|
||||
|
||||
[dependencies]
|
||||
parity-codec = { version = "~2.0.1" }
|
||||
hash-db = { git = "https://github.com/paritytech/trie", default_features = false }
|
||||
trie-db = { git = "https://github.com/paritytech/trie", optional = true }
|
||||
trie-root = { git = "https://github.com/paritytech/trie", default_features = false }
|
||||
memory-db = { git = "https://github.com/paritytech/trie", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
substrate-primitives = { path = "../primitives" }
|
||||
trie-bench = { git = "https://github.com/paritytech/trie" }
|
||||
trie-standardmap = { git = "https://github.com/paritytech/trie" }
|
||||
keccak-hasher = { git = "https://github.com/paritytech/trie" }
|
||||
criterion = "0.1.2"
|
||||
hex-literal = "0.1.0"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"hash-db/std",
|
||||
"memory-db",
|
||||
"trie-db",
|
||||
"trie-root/std"
|
||||
]
|
||||
Reference in New Issue
Block a user