[package]
name = "sp-io"
version = "28.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "I/O for Substrate runtimes"
documentation = "https://docs.rs/sp-io"
readme = "README.md"
build = "build.rs"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
bytes = { version = "1.1.0", default-features = false }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["bytes"] }
sp-core = { path = "../core", default-features = false, version = "26.0.0" }
sp-keystore = { path = "../keystore", default-features = false, optional = true, version = "0.32.0" }
sp-std = { path = "../std", default-features = false, version = "12.0.0" }
libsecp256k1 = { version = "0.7", optional = true }
sp-state-machine = { path = "../state-machine", default-features = false, optional = true, version = "0.33.0" }
sp-runtime-interface = { path = "../runtime-interface", default-features = false, version = "22.0.0" }
sp-trie = { path = "../trie", default-features = false, optional = true, version = "27.0.0" }
sp-externalities = { path = "../externalities", default-features = false, version = "0.23.0" }
sp-tracing = { path = "../tracing", default-features = false, version = "14.0.0" }
log = { version = "0.4.17", optional = true }
secp256k1 = { version = "0.24.0", features = ["recovery", "global-context"], optional = true }
tracing = { version = "0.1.29", default-features = false }
tracing-core = { version = "0.1.28", default-features = false}
ed25519-dalek = { version = "2.0", default-features = false, optional = true }
[build-dependencies]
rustversion = "1.0.6"
[features]
default = [ "std" ]
std = [
"bytes/std",
"codec/std",
"ed25519-dalek",
"ed25519-dalek?/std",
"libsecp256k1",
"log/std",
"secp256k1",
"sp-core/std",
"sp-externalities/std",
"sp-keystore/std",
"sp-runtime-interface/std",
"sp-state-machine/std",
"sp-std/std",
"sp-tracing/std",
"sp-trie/std",
"tracing-core/std",
"tracing/std",
]
with-tracing = [ "sp-tracing/with-tracing" ]
disable_panic_handler = []
disable_oom = []
disable_allocator = []
improved_panic_error_reporting = []
bls-experimental = [ "sp-keystore/bls-experimental" ]