feat: initialize Kurdistan SDK - independent fork of Polkadot SDK
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
[package]
|
||||
name = "sp-runtime-interface"
|
||||
version = "24.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Substrate runtime interface"
|
||||
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 = { workspace = true }
|
||||
codec = { features = ["bytes"], workspace = true }
|
||||
impl-trait-for-tuples = { workspace = true }
|
||||
sp-externalities = { workspace = true }
|
||||
sp-runtime-interface-proc-macro = { workspace = true, default-features = true }
|
||||
sp-std = { workspace = true }
|
||||
sp-storage = { workspace = true }
|
||||
sp-tracing = { workspace = true }
|
||||
sp-wasm-interface = { workspace = true }
|
||||
static_assertions = { workspace = true, default-features = true }
|
||||
|
||||
[target.'cfg(all(any(target_arch = "riscv32", target_arch = "riscv64"), substrate_runtime))'.dependencies]
|
||||
polkavm-derive = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
rustversion = { workspace = true }
|
||||
sp-io = { workspace = true, default-features = true }
|
||||
sp-runtime-interface-test-wasm = { workspace = true }
|
||||
sp-state-machine = { workspace = true, default-features = true }
|
||||
trybuild = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
"sp-externalities/std",
|
||||
"sp-io/std",
|
||||
"sp-runtime-interface-test-wasm/std",
|
||||
"sp-state-machine/std",
|
||||
"sp-std/std",
|
||||
"sp-storage/std",
|
||||
"sp-tracing/std",
|
||||
"sp-wasm-interface/std",
|
||||
]
|
||||
|
||||
# ATTENTION
|
||||
#
|
||||
# Only use when you know what you are doing.
|
||||
#
|
||||
# Disables static assertions in `impls.rs` that checks the word size. To prevent any footgun, the
|
||||
# check is changed into a runtime check.
|
||||
disable_target_static_assertions = []
|
||||
runtime-benchmarks = [
|
||||
"sp-io/runtime-benchmarks",
|
||||
"sp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
Reference in New Issue
Block a user