mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
afc3318f21
* Implement runtime version checks in `set_code` Check that the new runtime code given to `set_code` fullfills some requirements: - `spec_name` matches - `spec_version` does not decreases - `impl_version` does not decreases - Either `spec_version` and `impl_version` increase * Make tests almost work * Some fixes after master merge * Fix tests * Add missed file * Make depedency check happy? * Remove leftover `sc-executor` * AHHHHH * Reset debug stuff * Remove some 'static * More 'static * Some docs * Update `Cargo.lock`
41 lines
1.3 KiB
TOML
41 lines
1.3 KiB
TOML
[package]
|
|
name = "sp-runtime-interface"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
sp-wasm-interface = { version = "2.0.0", optional = true, path = "../wasm-interface" }
|
|
sp-std = { version = "2.0.0", default-features = false, path = "../std" }
|
|
sp-runtime-interface-proc-macro = { version = "2.0.0", path = "proc-macro" }
|
|
sp-externalities = { version = "0.8.0", optional = true, path = "../externalities" }
|
|
codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false }
|
|
static_assertions = "1.0.0"
|
|
primitive-types = { version = "0.6.1", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
sp-runtime-interface-test-wasm = { version = "2.0.0", path = "test-wasm" }
|
|
sp-state-machine = { version = "0.8", path = "../../primitives/state-machine" }
|
|
sp-core = { version = "2.0.0", path = "../core" }
|
|
sp-io = { version = "2.0.0", path = "../io" }
|
|
rustversion = "1.0.0"
|
|
trybuild = "1.0.17"
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"sp-wasm-interface",
|
|
"sp-std/std",
|
|
"codec/std",
|
|
"sp-externalities",
|
|
"primitive-types/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 = []
|