Files
pezkuwi-subxt/substrate/primitives/runtime/Cargo.toml
T
Nazar Mokrynskyi 6b60c3dbff Relax types on DigestItemRef, such that byte slices can be used in addition to vector references (#10536)
* Relax types on `DigestItemRef`, such that byte slices can be used in addition to vector references

* Apply clippy suggestions
2022-01-20 11:02:22 +01:00

62 lines
2.1 KiB
TOML

[package]
name = "sp-runtime"
version = "4.1.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Runtime Modules shared primitive types."
documentation = "https://docs.rs/sp-runtime"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
serde = { version = "1.0.132", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = ["derive", "max-encoded-len"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
sp-core = { version = "4.1.0-dev", default-features = false, path = "../core" }
sp-application-crypto = { version = "4.0.0", default-features = false, path = "../application-crypto" }
sp-arithmetic = { version = "4.0.0", default-features = false, path = "../arithmetic" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-io = { version = "4.0.0", default-features = false, path = "../io" }
log = { version = "0.4.14", default-features = false }
paste = "1.0"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.2.1"
parity-util-mem = { version = "0.10.2", default-features = false, features = ["primitive-types"] }
hash256-std-hasher = { version = "0.15.2", default-features = false }
either = { version = "1.5", default-features = false }
[dev-dependencies]
serde_json = "1.0.74"
rand = "0.7.2"
sp-state-machine = { version = "0.10.0", path = "../state-machine" }
sp-api = { version = "4.0.0-dev", path = "../api" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
sp-tracing = { version = "4.0.0", path = "../../primitives/tracing" }
zstd = "0.9"
[features]
bench = []
runtime-benchmarks = []
default = ["std"]
std = [
"sp-application-crypto/std",
"sp-arithmetic/std",
"codec/std",
"scale-info/std",
"log/std",
"sp-core/std",
"rand",
"sp-std/std",
"sp-io/std",
"serde",
"parity-util-mem/std",
"hash256-std-hasher/std",
"either/use_std",
]