Files
pezkuwi-subxt/substrate/primitives/state-machine/Cargo.toml
T
Xavier Lau 86198c5471 Use array-bytes for All Array/Bytes/Hex Operations (#12190)
* Use `array-bytes` for All Array/Bytes/Hex Operations

Signed-off-by: Xavier Lau <xavier@inv.cafe>

* Reorder

* Self Review

* Format

* Fix Tests

* Bump `array-bytes`

* Optimize large test res

Signed-off-by: Xavier Lau <xavier@inv.cafe>
Co-authored-by: parity-processbot <>
2022-09-21 06:12:20 +00:00

59 lines
1.8 KiB
TOML

[package]
name = "sp-state-machine"
version = "0.12.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.0.0", default-features = false }
hash-db = { version = "0.15.2", default-features = false }
log = { version = "0.4.17", optional = true }
num-traits = { version = "0.2.8", default-features = false }
parking_lot = { version = "0.12.1", optional = true }
rand = { version = "0.7.2", optional = true }
smallvec = "1.8.0"
thiserror = { version = "1.0.30", optional = true }
tracing = { version = "0.1.29", optional = true }
trie-root = { version = "0.17.0", default-features = false }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-externalities = { version = "0.12.0", default-features = false, path = "../externalities" }
sp-panic-handler = { version = "4.0.0", optional = true, path = "../panic-handler" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-trie = { version = "6.0.0", default-features = false, path = "../trie" }
[dev-dependencies]
array-bytes = "4.1"
pretty_assertions = "1.2.1"
rand = "0.7.2"
sp-runtime = { version = "6.0.0", path = "../runtime" }
trie-db = "0.24.0"
assert_matches = "1.5"
[features]
default = ["std"]
std = [
"codec/std",
"hash-db/std",
"log",
"num-traits/std",
"parking_lot",
"rand",
"sp-core/std",
"sp-externalities/std",
"sp-panic-handler",
"sp-std/std",
"sp-trie/std",
"thiserror",
"tracing",
"trie-root/std",
]