[package]
name = "sp-runtime-interface"
version = "28.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "Substrate runtime interface (polkadot v1.13.0)"
documentation = "https://docs.rs/sp-runtime-interface/"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
bytes = { version = "1.1.0", default-features = false }
sp-wasm-interface = { path = "../wasm-interface", default-features = false, version = "21.0.0" }
sp-std = { path = "../std", default-features = false, version = "14.0.0" }
sp-tracing = { path = "../tracing", default-features = false, version = "17.0.0" }
sp-runtime-interface-proc-macro = { version = "18.0.0", path = "proc-macro" }
sp-externalities = { path = "../externalities", default-features = false, version = "0.29.0" }
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["bytes"] }
static_assertions = "1.0.0"
primitive-types = { version = "0.12.0", default-features = false }
sp-storage = { path = "../storage", default-features = false, version = "21.0.0" }
impl-trait-for-tuples = "0.2.2"
[target.'cfg(all(any(target_arch = "riscv32", target_arch = "riscv64"), substrate_runtime))'.dependencies]
polkavm-derive = { workspace = true }
[dev-dependencies]
sp-runtime-interface-test-wasm = { path = "test-wasm" }
sp-state-machine = { path = "../state-machine" }
sp-core = { path = "../core" }
sp-io = { path = "../io" }
rustversion = "1.0.6"
trybuild = "1.0.88"
[features]
default = ["std"]
std = [
"bytes/std",
"codec/std",
"primitive-types/std",
"sp-externalities/std",
"sp-std/std",
"sp-storage/std",
"sp-tracing/std",
"sp-wasm-interface/std",
]
disable_target_static_assertions = []