mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
fully refactor runtime-std to use conditional compilation
This commit is contained in:
@@ -1,6 +1,21 @@
|
||||
[package]
|
||||
name = "runtime-std"
|
||||
name = "polkadot-runtime-std"
|
||||
version = "0.1.0"
|
||||
authors = ["Robert Habermeier <rphmeier@gmail.com>"]
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
build = "build.rs"
|
||||
|
||||
[build-dependencies]
|
||||
rustc_version = "0.2"
|
||||
|
||||
[dependencies]
|
||||
pwasm-alloc = { path = "../wasm-runtime/pwasm-alloc", version = "0.1" }
|
||||
pwasm-libc = { path = "../wasm-runtime/pwasm-libc", version = "0.1" }
|
||||
environmental = { path = "../environmental", version = "0.1", optional = true }
|
||||
polkadot-state-machine = { path = "../state-machine", version = "0.1", optional = true }
|
||||
polkadot-primitives = { path = "../primitives", version = "0.1", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["environmental", "polkadot-state-machine", "polkadot-primitives"]
|
||||
nightly = []
|
||||
strict = []
|
||||
|
||||
Reference in New Issue
Block a user