mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
30a7e6788c
* Remove `AsLocalTrieCache` trait * Introduce new trait AsTrieDbCache * Use AsTrieDbCache trait * Make it compile * Docs * Improve naming of associated type, implement cache usage for no-std * Improve naming * Improve docs * Allow construction with optional cache * FMT * Remove unused variable * Revert unwanted change * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * More comment adjustments * Docs * Trigger CI * ".git/.scripts/commands/fmt/fmt.sh" * Apply suggestions from code review Co-authored-by: Koute <koute@users.noreply.github.com> * Review comments * Review comments * Apply suggestions from code review Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> * fmt * Bump trie-db again --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: command-bot <> Co-authored-by: Koute <koute@users.noreply.github.com> Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
56 lines
1.7 KiB
TOML
56 lines
1.7 KiB
TOML
[package]
|
|
name = "sp-state-machine"
|
|
version = "0.28.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.6.1", default-features = false }
|
|
hash-db = { version = "0.16.0", 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 = "21.0.0", default-features = false, path = "../core" }
|
|
sp-externalities = { version = "0.19.0", default-features = false, path = "../externalities" }
|
|
sp-panic-handler = { version = "8.0.0", optional = true, path = "../panic-handler" }
|
|
sp-std = { version = "8.0.0", default-features = false, path = "../std" }
|
|
sp-trie = { version = "22.0.0", default-features = false, path = "../trie" }
|
|
trie-db = { version = "0.27.1", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
array-bytes = "4.1"
|
|
pretty_assertions = "1.2.1"
|
|
rand = "0.8.5"
|
|
sp-runtime = { version = "24.0.0", path = "../runtime" }
|
|
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",
|
|
"trie-db/std",
|
|
"thiserror",
|
|
"tracing",
|
|
]
|