Basic TOML Lint (#11348)

* basic lint

* lint ordering
This commit is contained in:
Shawn Tabrizi
2022-05-04 14:38:54 +01:00
committed by GitHub
parent 19a9e56444
commit 7d5202341b
186 changed files with 1435 additions and 1531 deletions
@@ -13,9 +13,9 @@ repository = "https://github.com/paritytech/substrate/"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-keystore = { version = "0.12.0", path = "../../keystore", default-features = false }
substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
sp-api = { version = "4.0.0-dev", path = "../../api" }
sp-application-crypto = { version = "6.0.0", path = "../" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-keystore = { version = "0.12.0", default-features = false, path = "../../keystore" }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../../test-utils/runtime/client" }
+7 -8
View File
@@ -13,34 +13,33 @@ readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [
"derive",
"max-encoded-len",
] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
integer-sqrt = "0.1.2"
static_assertions = "1.1.0"
num-traits = { version = "0.2.8", default-features = false }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
static_assertions = "1.1.0"
sp-debug-derive = { version = "4.0.0", default-features = false, path = "../debug-derive" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[dev-dependencies]
rand = "0.7.2"
criterion = "0.3"
primitive-types = "0.11.1"
rand = "0.7.2"
[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"num-traits/std",
"sp-std/std",
"scale-info/std",
"serde",
"sp-debug-derive/std",
"sp-std/std",
]
[[bench]]
@@ -14,10 +14,10 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-arithmetic = { version = "5.0.0", path = ".." }
honggfuzz = "0.5.49"
primitive-types = "0.11.1"
num-bigint = "0.2"
primitive-types = "0.11.1"
sp-arithmetic = { version = "5.0.0", path = ".." }
[[bin]]
name = "biguint"
@@ -13,20 +13,20 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../application-crypto" }
codec = { package = "parity-scale-codec", default-features = false, version = "3.0.0" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../application-crypto" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[features]
default = ["std"]
std = [
"sp-application-crypto/std",
"codec/std",
"scale-info/std",
"sp-std/std",
"sp-api/std",
"sp-runtime/std"
"sp-application-crypto/std",
"sp-runtime/std",
"sp-std/std",
]
+4 -4
View File
@@ -13,18 +13,18 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-trait = { version = "0.1.50", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
async-trait = { version = "0.1.50", optional = true }
[features]
default = [ "std" ]
std = [
"async-trait",
"codec/std",
"sp-std/std",
"sp-inherents/std",
"sp-runtime/std",
"async-trait",
"sp-std/std",
]
+6 -7
View File
@@ -13,14 +13,13 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { version = "3.0.0", package = "parity-scale-codec", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-api = { version = "4.0.0-dev", path = "../api", default-features = false }
sp-application-crypto = { version = "6.0.0", path = "../application-crypto", default-features = false }
sp-core = { version = "6.0.0", path = "../core", default-features = false }
sp-runtime = { version = "6.0.0", path = "../runtime", default-features = false }
sp-std = { version = "4.0.0", path = "../std", default-features = false }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../application-crypto" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[dev-dependencies]
hex = "0.4.3"
@@ -13,18 +13,18 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[features]
default = [ "std" ]
std = [
"sp-runtime/std",
"codec/std",
"sp-inherents/std",
"sp-api/std",
"sp-inherents/std",
"sp-runtime/std",
"sp-std/std",
]
+4 -4
View File
@@ -14,14 +14,14 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
futures = "0.3.21"
log = "0.4.16"
lru = "0.7.5"
parking_lot = "0.12.0"
thiserror = "1.0.30"
futures = "0.3.21"
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
sp-api = { version = "4.0.0-dev", path = "../api" }
sp-consensus = { version = "0.10.0-dev", path = "../consensus/common" }
sp-database = { version = "4.0.0-dev", path = "../database" }
sp-runtime = { version = "6.0.0", path = "../runtime" }
sp-state-machine = { version = "0.12.0", path = "../state-machine" }
sp-database = { version = "4.0.0-dev", path = "../database" }
sp-api = { version = "4.0.0-dev", path = "../api" }
+14 -14
View File
@@ -13,30 +13,30 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../../application-crypto" }
async-trait = { version = "0.1.50", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" }
sp-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../timestamp" }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../../application-crypto" }
sp-consensus = { version = "0.10.0-dev", optional = true, path = "../common" }
sp-consensus-slots = { version = "0.10.0-dev", default-features = false, path = "../slots" }
sp-consensus = { version = "0.10.0-dev", path = "../common", optional = true }
async-trait = { version = "0.1.50", optional = true }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../timestamp" }
[features]
default = ["std"]
std = [
"sp-application-crypto/std",
"async-trait",
"codec/std",
"scale-info/std",
"sp-std/std",
"sp-api/std",
"sp-runtime/std",
"sp-inherents/std",
"sp-timestamp/std",
"sp-consensus-slots/std",
"sp-application-crypto/std",
"sp-consensus",
"async-trait",
"sp-consensus-slots/std",
"sp-inherents/std",
"sp-runtime/std",
"sp-std/std",
"sp-timestamp/std",
]
+13 -13
View File
@@ -13,32 +13,33 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../../application-crypto" }
async-trait = { version = "0.1.50", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
merlin = { version = "2.0", default-features = false }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../../application-crypto" }
sp-consensus = { version = "0.10.0-dev", optional = true, path = "../common" }
sp-consensus-slots = { version = "0.10.0-dev", default-features = false, path = "../slots" }
sp-consensus-vrf = { version = "0.10.0-dev", path = "../vrf", default-features = false }
sp-consensus-vrf = { version = "0.10.0-dev", default-features = false, path = "../vrf" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" }
sp-keystore = { version = "0.12.0", default-features = false, path = "../../keystore", optional = true }
sp-keystore = { version = "0.12.0", default-features = false, optional = true, path = "../../keystore" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-timestamp = { version = "4.0.0-dev", path = "../../timestamp", optional = true }
serde = { version = "1.0.136", features = ["derive"], optional = true }
async-trait = { version = "0.1.50", optional = true }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-timestamp = { version = "4.0.0-dev", optional = true, path = "../../timestamp" }
[features]
default = ["std"]
std = [
"sp-application-crypto/std",
"async-trait",
"codec/std",
"scale-info/std",
"merlin/std",
"sp-std/std",
"scale-info/std",
"serde",
"sp-api/std",
"sp-application-crypto/std",
"sp-consensus",
"sp-consensus-slots/std",
"sp-consensus-vrf/std",
@@ -46,7 +47,6 @@ std = [
"sp-inherents/std",
"sp-keystore",
"sp-runtime/std",
"serde",
"sp-std/std",
"sp-timestamp",
"async-trait",
]
@@ -16,18 +16,18 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-trait = "0.1.42"
codec = { package = "parity-scale-codec", version = "3.0.0", features = [
"derive",
"derive",
] }
futures = { version = "0.3.21", features = ["thread-pool"] }
log = "0.4.16"
sp-core = { path = "../../core", version = "6.0.0"}
sp-inherents = { version = "4.0.0-dev", path = "../../inherents" }
sp-state-machine = { version = "0.12.0", path = "../../state-machine" }
futures-timer = "3.0.1"
log = "0.4.16"
thiserror = "1.0.30"
sp-core = { version = "6.0.0", path = "../../core" }
sp-inherents = { version = "4.0.0-dev", path = "../../inherents" }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
sp-state-machine = { version = "0.12.0", path = "../../state-machine" }
sp-std = { version = "4.0.0", path = "../../std" }
sp-version = { version = "5.0.0", path = "../../version" }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
thiserror = "1.0.30"
[dev-dependencies]
futures = "0.3.21"
@@ -13,18 +13,18 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
[features]
default = ["std"]
std = [
"sp-std/std",
"sp-api/std",
"sp-runtime/std",
"sp-core/std",
"codec/std",
"sp-api/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]
@@ -13,18 +13,18 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { version = "3.0.0", package = "parity-scale-codec", default-features = false }
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated", "u64_backend"], default-features = false }
sp-std = { version = "4.0.0", path = "../../std", default-features = false }
sp-core = { version = "6.0.0", path = "../../core", default-features = false }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
schnorrkel = { version = "0.9.1", default-features = false, features = ["preaudit_deprecated", "u64_backend"] }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
[features]
default = ["std"]
std = [
"codec/std",
"schnorrkel/std",
"sp-std/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]
+5 -6
View File
@@ -4,7 +4,7 @@ version = "4.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.dev"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Primitive core crate hashing implementation."
documentation = "https://docs.rs/sp-core-hashing"
@@ -13,21 +13,20 @@ documentation = "https://docs.rs/sp-core-hashing"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
byteorder = { version = "1.3.2", default-features = false }
digest = { version = "0.10.3", default-features = false }
blake2 = { version = "0.10.2", default-features = false }
byteorder = { version = "1.3.2", default-features = false }
digest = { version = "0.10.3", default-features = false }
sha2 = { version = "0.10.2", default-features = false }
sha3 = { version = "0.10.0", default-features = false }
twox-hash = { version = "1.6.2", default-features = false, features = ["digest_0_10"] }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
[features]
default = ["std"]
std = [
"sp-std/std",
"blake2/std",
"sha2/std",
"sha3/std",
"sp-std/std",
"twox-hash/std",
]
@@ -4,7 +4,7 @@ version = "5.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.dev"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "This crate provides procedural macros for calculating static hash."
documentation = "https://docs.rs/sp-core-hashing-proc-macro"
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
proc-macro = true
[dependencies]
syn = { version = "1.0.82", features = ["full", "parsing"] }
quote = "1.0.6"
proc-macro2 = "1.0.37"
sp-core-hashing = { version = "4.0.0", path = "../", default-features = false }
quote = "1.0.6"
syn = { version = "1.0.82", features = ["full", "parsing"] }
sp-core-hashing = { version = "4.0.0", default-features = false, path = "../" }
+1 -2
View File
@@ -11,6 +11,5 @@ documentation = "https://docs.rs/sp-database"
readme = "README.md"
[dependencies]
parking_lot = "0.12.0"
kvdb = "0.11.0"
parking_lot = "0.12.0"
@@ -14,10 +14,10 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-storage = { version = "6.0.0", path = "../storage", default-features = false }
sp-std = { version = "4.0.0", path = "../std", default-features = false }
environmental = { version = "1.1.3", default-features = false }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
environmental = { version = "1.1.3", default-features = false }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-storage = { version = "6.0.0", default-features = false, path = "../storage" }
[features]
default = ["std"]
@@ -13,28 +13,27 @@ readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
grandpa = { package = "finality-grandpa", version = "0.15.0", default-features = false, features = ["derive-codec"] }
log = { version = "0.4.16", optional = true }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../application-crypto" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-keystore = { version = "0.12.0", default-features = false, path = "../keystore", optional = true }
sp-keystore = { version = "0.12.0", default-features = false, optional = true, path = "../keystore" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[features]
default = ["std"]
std = [
"log",
"serde",
"codec/std",
"scale-info/std",
"grandpa/std",
"log",
"scale-info/std",
"serde",
"sp-api/std",
"sp-application-crypto/std",
"sp-core/std",
+9 -10
View File
@@ -13,15 +13,14 @@ readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-runtime = { version = "6.0.0", path = "../runtime", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.30", optional = true }
impl-trait-for-tuples = "0.2.2"
async-trait = { version = "0.1.50", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
impl-trait-for-tuples = "0.2.2"
thiserror = { version = "1.0.30", optional = true }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-runtime = { version = "6.0.0", optional = true, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[dev-dependencies]
futures = "0.3.21"
@@ -29,10 +28,10 @@ futures = "0.3.21"
[features]
default = [ "std" ]
std = [
"sp-std/std",
"async-trait",
"codec/std",
"sp-core/std",
"thiserror",
"sp-runtime",
"async-trait",
"sp-std/std",
"thiserror",
]
+2 -2
View File
@@ -14,7 +14,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-core = { version = "6.0.0", path = "../core" }
sp-runtime = { version = "6.0.0", path = "../runtime" }
lazy_static = "1.4.0"
strum = { version = "0.23.0", features = ["derive"] }
sp-core = { version = "6.0.0", path = "../core" }
sp-runtime = { version = "6.0.0", path = "../runtime" }
+5 -6
View File
@@ -14,16 +14,15 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-trait = "0.1.50"
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
futures = "0.3.21"
merlin = { version = "2.0", default-features = false }
parking_lot = { version = "0.12.0", default-features = false }
schnorrkel = { version = "0.9.1", default-features = false, features = ["preaudit_deprecated", "u64_backend"] }
serde = { version = "1.0", optional = true }
thiserror = "1.0"
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated", "u64_backend"], default-features = false }
merlin = { version = "2.0", default-features = false }
sp-core = { version = "6.0.0", path = "../core" }
sp-externalities = { version = "0.12.0", path = "../externalities", default-features = false }
sp-externalities = { version = "0.12.0", default-features = false, path = "../externalities" }
[dev-dependencies]
rand = "0.7.2"
@@ -32,6 +31,6 @@ rand_chacha = "0.2.2"
[features]
default = ["std"]
std = [
"serde",
"schnorrkel/std",
"serde",
]
@@ -14,8 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
log = { version = "0.4.16", default-features = false }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-debug-derive = { version = "4.0.0", default-features = false, path = "../debug-derive" }
@@ -15,15 +15,15 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-arithmetic = { version = "5.0.0", default-features = false, path = "../arithmetic" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-runtime = { version = "6.0.0", path = "../runtime", default-features = false }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[dev-dependencies]
substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" }
rand = "0.7.3"
substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" }
[features]
default = ["std"]
@@ -32,8 +32,8 @@ std = [
"codec/std",
"scale-info/std",
"serde",
"sp-std/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]
@@ -15,10 +15,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
clap = { version = "3.1.6", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
honggfuzz = "0.5"
rand = { version = "0.8", features = ["std", "small_rng"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-npos-elections = { version = "4.0.0-dev", path = ".." }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
+2 -2
View File
@@ -13,10 +13,10 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
[features]
default = ["std"]
std = ["sp-core/std", "sp-api/std", "sp-runtime/std"]
std = ["sp-api/std", "sp-core/std", "sp-runtime/std"]
@@ -15,5 +15,5 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
backtrace = "0.3.64"
regex = "1.5.5"
lazy_static = "1.4.0"
regex = "1.5.5"
+1 -1
View File
@@ -13,9 +13,9 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
rustc-hash = "1.1.0"
serde = { version = "1.0.136", features = ["derive"] }
sp-core = { version = "6.0.0", path = "../core" }
rustc-hash = "1.1.0"
[dev-dependencies]
serde_json = "1.0.79"
@@ -16,8 +16,8 @@ targets = ["x86_64-unknown-linux-gnu"]
proc-macro = true
[dependencies]
syn = { version = "1.0.82", features = ["full", "visit", "fold", "extra-traits"] }
quote = "1.0.10"
proc-macro2 = "1.0.37"
Inflector = "0.11.4"
proc-macro-crate = "1.1.3"
proc-macro2 = "1.0.37"
quote = "1.0.10"
syn = { version = "1.0.82", features = ["full", "visit", "fold", "extra-traits"] }
@@ -13,14 +13,14 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-io = { version = "6.0.0", default-features = false, path = "../../io" }
sp-runtime-interface = { version = "6.0.0", default-features = false, path = "../" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-io = { version = "6.0.0", default-features = false, path = "../../io" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
[build-dependencies]
substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder" }
[features]
default = [ "std" ]
std = [ "sp-runtime-interface/std", "sp-std/std", "sp-core/std", "sp-io/std" ]
std = [ "sp-core/std", "sp-io/std", "sp-runtime-interface/std", "sp-std/std" ]
@@ -13,14 +13,14 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
sp-io = { version = "6.0.0", default-features = false, path = "../../io" }
sp-runtime-interface = { version = "6.0.0", default-features = false, path = "../" }
sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
sp-io = { version = "6.0.0", default-features = false, path = "../../io" }
sp-core = { version = "6.0.0", default-features = false, path = "../../core" }
[build-dependencies]
substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder" }
[features]
default = [ "std" ]
std = [ "sp-runtime-interface/std", "sp-std/std", "sp-core/std", "sp-io/std" ]
std = [ "sp-core/std", "sp-io/std", "sp-runtime-interface/std", "sp-std/std" ]
@@ -12,13 +12,13 @@ repository = "https://github.com/paritytech/substrate/"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-runtime-interface = { version = "6.0.0", path = "../" }
tracing = "0.1.29"
tracing-core = "0.1.26"
sc-executor = { version = "0.10.0-dev", path = "../../../client/executor" }
sc-executor-common = { version = "0.10.0-dev", path = "../../../client/executor/common" }
sp-io = { version = "6.0.0", path = "../../io" }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
sp-runtime-interface = { version = "6.0.0", path = "../" }
sp-runtime-interface-test-wasm = { version = "2.0.0", path = "../test-wasm" }
sp-runtime-interface-test-wasm-deprecated = { version = "2.0.0", path = "../test-wasm-deprecated" }
sp-state-machine = { version = "0.12.0", path = "../../state-machine" }
sp-runtime = { version = "6.0.0", path = "../../runtime" }
sp-io = { version = "6.0.0", path = "../../io" }
tracing = "0.1.29"
tracing-core = "0.1.26"
+25 -26
View File
@@ -13,49 +13,48 @@ readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
serde = { version = "1.0.136", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../application-crypto" }
sp-arithmetic = { version = "5.0.0", default-features = false, path = "../arithmetic" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-io = { version = "6.0.0", default-features = false, path = "../io" }
either = { version = "1.5", default-features = false }
hash256-std-hasher = { version = "0.15.2", default-features = false }
impl-trait-for-tuples = "0.2.2"
log = { version = "0.4.16", default-features = false }
parity-util-mem = { version = "0.11.0", default-features = false, features = ["primitive-types"] }
paste = "1.0"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.2.2"
parity-util-mem = { version = "0.11.0", default-features = false, features = ["primitive-types"] }
hash256-std-hasher = { version = "0.15.2", default-features = false }
either = { version = "1.5", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../application-crypto" }
sp-arithmetic = { version = "5.0.0", default-features = false, path = "../arithmetic" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-io = { version = "6.0.0", default-features = false, path = "../io" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[dev-dependencies]
serde_json = "1.0.79"
rand = "0.7.2"
sp-state-machine = { version = "0.12.0", path = "../state-machine" }
sp-api = { version = "4.0.0-dev", path = "../api" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }
serde_json = "1.0.79"
zstd = { version = "0.10.0", default-features = false }
sp-api = { version = "4.0.0-dev", path = "../api" }
sp-state-machine = { version = "0.12.0", path = "../state-machine" }
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
[features]
bench = []
runtime-benchmarks = []
default = ["std"]
std = [
"codec/std",
"either/use_std",
"hash256-std-hasher/std",
"log/std",
"parity-util-mem/std",
"rand",
"scale-info/std",
"serde",
"sp-application-crypto/std",
"sp-arithmetic/std",
"codec/std",
"scale-info/std",
"log/std",
"sp-core/std",
"rand",
"sp-std/std",
"sp-io/std",
"serde",
"parity-util-mem/std",
"hash256-std-hasher/std",
"either/use_std",
"sp-std/std",
]
+3 -4
View File
@@ -19,10 +19,9 @@ wasmi = { version = "0.9.1", default-features = false, features = ["core"] }
wasmi = "0.9.0"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
log = { version = "0.4", default-features = false }
wasmi = { version = "0.9.0", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-io = { version = "6.0.0", default-features = false, path = "../io" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
@@ -35,13 +34,13 @@ wat = "1.0"
[features]
default = ["std"]
std = [
"log/std",
"wasmi",
"codec/std",
"log/std",
"sp-core/std",
"sp-io/std",
"sp-std/std",
"sp-wasm-interface/std",
"wasmi",
]
strict = []
wasmer-sandbox = []
+4 -4
View File
@@ -17,9 +17,9 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features =
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../staking" }
sp-runtime = { version = "6.0.0", optional = true, path = "../runtime" }
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../staking" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[features]
default = [ "std" ]
@@ -28,7 +28,7 @@ std = [
"scale-info/std",
"sp-api/std",
"sp-core/std",
"sp-std/std",
"sp-staking/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
]
+19 -19
View File
@@ -14,43 +14,43 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = { version = "0.4.16", optional = true }
thiserror = { version = "1.0.30", optional = true }
parking_lot = { version = "0.12.0", optional = true }
hash-db = { version = "0.15.2", default-features = false }
trie-root = { version = "0.17.0", default-features = false }
sp-trie = { version = "6.0.0", path = "../trie", default-features = false }
sp-core = { version = "6.0.0", path = "../core", default-features = false }
sp-panic-handler = { version = "4.0.0", path = "../panic-handler", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
hash-db = { version = "0.15.2", default-features = false }
log = { version = "0.4.16", optional = true }
num-traits = { version = "0.2.8", default-features = false }
parking_lot = { version = "0.12.0", optional = true }
rand = { version = "0.7.2", optional = true }
sp-externalities = { version = "0.12.0", path = "../externalities", default-features = false }
smallvec = "1.8.0"
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
thiserror = { version = "1.0.30", optional = true }
tracing = { version = "0.1.29", optional = true }
trie-root = { version = "0.17.0", default-features = false }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-externalities = { version = "0.12.0", default-features = false, path = "../externalities" }
sp-panic-handler = { version = "4.0.0", optional = true, path = "../panic-handler" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-trie = { version = "6.0.0", default-features = false, path = "../trie" }
[dev-dependencies]
hex-literal = "0.3.4"
sp-runtime = { version = "6.0.0", path = "../runtime" }
pretty_assertions = "1.0.0"
rand = "0.7.2"
sp-runtime = { version = "6.0.0", path = "../runtime" }
[features]
default = ["std"]
std = [
"codec/std",
"hash-db/std",
"num-traits/std",
"sp-core/std",
"sp-externalities/std",
"sp-std/std",
"sp-trie/std",
"trie-root/std",
"log",
"thiserror",
"num-traits/std",
"parking_lot",
"rand",
"sp-core/std",
"sp-externalities/std",
"sp-panic-handler",
"tracing"
"sp-std/std",
"sp-trie/std",
"thiserror",
"tracing",
"trie-root/std",
]
-1
View File
@@ -6,7 +6,6 @@ edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Lowest-abstraction level for the Substrate runtime: just exports useful primitives from std or client/alloc to be used with any code that depends on the runtime."
documentation = "https://docs.rs/sp-std"
readme = "README.md"
+4 -4
View File
@@ -14,13 +14,13 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
impl-serde = { version = "0.3.1", optional = true }
ref-cast = "1.0.0"
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-debug-derive = { version = "4.0.0", default-features = false, path = "../debug-derive" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[features]
default = [ "std" ]
std = [ "sp-std/std", "serde", "impl-serde", "codec/std", "sp-debug-derive/std" ]
std = [ "codec/std", "impl-serde", "serde", "sp-debug-derive/std", "sp-std/std" ]
+1 -1
View File
@@ -22,7 +22,7 @@ sp-runtime-interface = { version = "6.0.0", default-features = false, path = "..
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[dev-dependencies]
codec = { package = "parity-scale-codec", default-features = false, version = "3.0.0" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
[features]
default = ["std"]
@@ -12,18 +12,18 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../application-crypto" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
parity-util-mem = { version = "0.11.0", default-features = false, features = ["primitive-types"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-application-crypto = { version = "6.0.0", default-features = false, path = "../application-crypto" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
[features]
default = [
"std",
]
std = [
"sp-application-crypto/std",
"serde",
"sp-application-crypto/std",
]
+16 -16
View File
@@ -13,26 +13,26 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" }
thiserror = { version = "1.0.30", optional = true }
log = { version = "0.4.16", optional = true }
futures-timer = { version = "3.0.2", optional = true }
async-trait = { version = "0.1.50", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
futures-timer = { version = "3.0.2", optional = true }
log = { version = "0.4.16", optional = true }
thiserror = { version = "1.0.30", optional = true }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[features]
default = [ "std" ]
std = [
"sp-api/std",
"sp-std/std",
"sp-runtime/std",
"codec/std",
"sp-inherents/std",
"thiserror",
"log",
"futures-timer",
"async-trait",
"codec/std",
"futures-timer",
"log",
"sp-api/std",
"sp-inherents/std",
"sp-runtime/std",
"sp-std/std",
"thiserror",
]
@@ -13,26 +13,26 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-trait = { version = "0.1.50", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
log = { version = "0.4.16", optional = true }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-core = { version = "6.0.0", optional = true, path = "../core" }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-trie = { version = "6.0.0", optional = true, path = "../trie" }
sp-core = { version = "6.0.0", path = "../core", optional = true }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
log = { version = "0.4.16", optional = true }
async-trait = { version = "0.1.50", optional = true }
[features]
default = [ "std" ]
std = [
"async-trait",
"codec/std",
"log",
"scale-info/std",
"sp-std/std",
"sp-core",
"sp-inherents/std",
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
"sp-core",
"log",
"async-trait",
]
+10 -10
View File
@@ -19,33 +19,33 @@ harness = false
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
hash-db = { version = "0.15.2", default-features = false }
memory-db = { version = "0.29.0", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.30", optional = true }
trie-db = { version = "0.23.1", default-features = false }
trie-root = { version = "0.17.0", default-features = false }
memory-db = { version = "0.29.0", default-features = false }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
thiserror = { version = "1.0.30", optional = true }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[dev-dependencies]
trie-bench = "0.30.0"
trie-standardmap = "0.15.2"
criterion = "0.3.3"
hex-literal = "0.3.4"
trie-bench = "0.30.0"
trie-standardmap = "0.15.2"
sp-runtime = { version = "6.0.0", path = "../runtime" }
[features]
default = ["std"]
std = [
"sp-std/std",
"codec/std",
"scale-info/std",
"hash-db/std",
"memory-db/std",
"scale-info/std",
"sp-core/std",
"sp-std/std",
"thiserror",
"trie-db/std",
"trie-root/std",
"sp-core/std",
"thiserror",
]
memory-tracker = []
+12 -12
View File
@@ -14,26 +14,26 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
impl-serde = { version = "0.3.1", optional = true }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-version-proc-macro = { version = "4.0.0-dev", default-features = false, path = "proc-macro" }
impl-serde = { version = "0.3.1", optional = true }
parity-wasm = { version = "0.42.2", optional = true }
sp-core-hashing-proc-macro = { version = "5.0.0", path = "../core/hashing/proc-macro" }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
thiserror = { version = "1.0.30", optional = true }
sp-core-hashing-proc-macro = { version = "5.0.0", path = "../core/hashing/proc-macro" }
sp-runtime = { version = "6.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-version-proc-macro = { version = "4.0.0-dev", default-features = false, path = "proc-macro" }
[features]
default = ["std"]
std = [
"impl-serde",
"serde",
"codec/std",
"scale-info/std",
"sp-std/std",
"sp-runtime/std",
"impl-serde",
"parity-wasm",
"scale-info/std",
"serde",
"sp-runtime/std",
"sp-std/std",
"thiserror",
]
@@ -16,10 +16,10 @@ targets = ["x86_64-unknown-linux-gnu"]
proc-macro = true
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] }
proc-macro2 = "1.0.37"
quote = "1.0.10"
syn = { version = "1.0.82", features = ["full", "fold", "extra-traits", "visit"] }
proc-macro2 = "1.0.37"
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] }
[dev-dependencies]
sp-version = { version = "5.0.0", path = ".." }
@@ -14,13 +14,13 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
wasmi = { version = "0.9.1", optional = true }
wasmtime = { version = "0.35.3", optional = true, default-features = false }
log = { version = "0.4.16", optional = true }
impl-trait-for-tuples = "0.2.2"
sp-std = { version = "4.0.0", path = "../std", default-features = false }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
impl-trait-for-tuples = "0.2.2"
log = { version = "0.4.16", optional = true }
wasmi = { version = "0.9.1", optional = true }
wasmtime = { version = "0.35.3", default-features = false, optional = true }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
[features]
default = [ "std" ]
std = [ "wasmi", "sp-std/std", "codec/std", "log" ]
std = [ "codec/std", "log", "sp-std/std", "wasmi" ]