Files
pezkuwi-subxt/substrate/primitives/state-machine/Cargo.toml
T
Squirrel 1b5f4243d1 sp-std removal from substrate/primitives (#3274)
This PR removes sp-std crate from substrate/primitives sub-directories.

For now crates that have `pub use` of sp-std or export macros that would
necessitate users of the macros to `extern crate alloc` have been
excluded from this PR.

There should be no breaking changes in this PR.

---------

Co-authored-by: Koute <koute@users.noreply.github.com>
2024-03-18 05:29:35 +00:00

58 lines
1.5 KiB
TOML

[package]
name = "sp-state-machine"
version = "0.35.0"
authors.workspace = true
description = "Substrate State Machine"
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
documentation = "https://docs.rs/sp-state-machine"
readme = "README.md"
[lints]
workspace = true
[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 = { workspace = true }
parking_lot = { version = "0.12.1", optional = true }
rand = { version = "0.8.5", optional = true }
smallvec = "1.11.0"
thiserror = { optional = true, workspace = true }
tracing = { version = "0.1.29", optional = true }
sp-core = { path = "../core", default-features = false }
sp-externalities = { path = "../externalities", default-features = false }
sp-panic-handler = { path = "../panic-handler", optional = true }
sp-trie = { path = "../trie", default-features = false }
trie-db = { version = "0.28.0", default-features = false }
[dev-dependencies]
array-bytes = "6.1"
pretty_assertions = "1.2.1"
rand = "0.8.5"
sp-runtime = { 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-runtime/std",
"sp-trie/std",
"thiserror",
"tracing",
"trie-db/std",
]