mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 10:07:56 +00:00
f8e3bdad3d
* Rework storage iterators * Make sure storage iteration is also accounted for when benchmarking * Use `trie-db` from crates.io * Appease clippy * Bump `trie-bench` to 0.35.0 * Fix tests' compilation * Update comment to clarify how `IterArgs::start_at` works * Add extra tests * Fix iterators on `Client` so that they behave as before * Add extra `unwrap`s in tests * More clippy fixes * Come on clippy, give me a break already * Rename `allow_missing` to `stop_on_incomplete_database` * Add `#[inline]` to `with_recorder_and_cache` * Use `with_recorder_and_cache` in `with_trie_db`; add doc comment * Simplify code: use `with_trie_db` in `next_storage_key_from_root` * Remove `expect`s in the benchmarking CLI * Add extra doc comments * Move `RawIter` before `TrieBackendEssence` (no code changes; just cut-paste) * Remove a TODO in tests * Update comment for `StorageIterator::was_complete` * Update `trie-db` to 0.25.1
55 lines
1.6 KiB
TOML
55 lines
1.6 KiB
TOML
[package]
|
|
name = "sp-state-machine"
|
|
version = "0.13.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Substrate State Machine"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
documentation = "https://docs.rs/sp-state-machine"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false }
|
|
hash-db = { version = "0.15.2", default-features = false }
|
|
log = { version = "0.4.17", default-features = false }
|
|
parking_lot = { version = "0.12.1", optional = true }
|
|
rand = { version = "0.8.5", optional = true }
|
|
smallvec = "1.8.0"
|
|
thiserror = { version = "1.0.30", optional = true }
|
|
tracing = { version = "0.1.29", optional = true }
|
|
sp-core = { version = "7.0.0", default-features = false, path = "../core" }
|
|
sp-externalities = { version = "0.13.0", default-features = false, path = "../externalities" }
|
|
sp-panic-handler = { version = "5.0.0", optional = true, path = "../panic-handler" }
|
|
sp-std = { version = "5.0.0", default-features = false, path = "../std" }
|
|
sp-trie = { version = "7.0.0", default-features = false, path = "../trie" }
|
|
|
|
[dev-dependencies]
|
|
array-bytes = "4.1"
|
|
pretty_assertions = "1.2.1"
|
|
rand = "0.8.5"
|
|
sp-runtime = { version = "7.0.0", path = "../runtime" }
|
|
trie-db = "0.25.1"
|
|
assert_matches = "1.5"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"hash-db/std",
|
|
"log/std",
|
|
"parking_lot",
|
|
"rand",
|
|
"sp-core/std",
|
|
"sp-externalities/std",
|
|
"sp-panic-handler",
|
|
"sp-std/std",
|
|
"sp-trie/std",
|
|
"thiserror",
|
|
"tracing",
|
|
]
|