Skip to content
Snippets Groups Projects
Commit a4bb42d8 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

Backfill missing TOML features (#11351)

* only check std

* add default-features=false

* Revert "add default-features=false"

This reverts commit bc9453757a1df670f418a2d57ee4ce203425ab1b.

* missing features only to non-optional
parent f9e4e87e
Branches
No related merge requests found
Showing
with 25 additions and 1 deletion
......@@ -43,6 +43,7 @@ std = [
"pallet-beefy/std",
"pallet-mmr/std",
"pallet-session/std",
"scale-info/std",
"serde",
"sp-core/std",
"sp-io/std",
......
......@@ -44,8 +44,11 @@ std = [
"scale-info/std",
"serde",
"sp-api/std",
"sp-application-crypto/std",
"sp-io/std",
"sp-runtime-interface/std",
"sp-runtime/std",
"sp-std/std",
"sp-storage/std",
]
runtime-benchmarks = []
......@@ -35,8 +35,10 @@ std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-npos-elections/std",
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = []
......@@ -26,6 +26,7 @@ default = ["std"]
std = [
"codec/std",
"frame-benchmarking/std",
"frame-election-provider-support/std",
"frame-system/std",
"sp-npos-elections/std",
"sp-runtime/std",
......
......@@ -43,6 +43,7 @@ std = [
"frame-system/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-tracing/std",
......
......@@ -55,6 +55,7 @@ std = [
"sp-application-crypto/std",
"sp-core/std",
"sp-finality-grandpa/std",
"sp-io/std",
"sp-runtime/std",
"sp-session/std",
"sp-staking/std",
......
......@@ -36,6 +36,7 @@ std = [
"frame-system/std",
"scale-info/std",
"serde",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
......
......@@ -41,6 +41,7 @@ std = [
"frame-system/std",
"pallet-session/std",
"pallet-staking/std",
"rand/std",
"sp-runtime/std",
"sp-session/std",
"sp-std/std",
......
......@@ -45,4 +45,5 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-transaction-storage-proof/std",
]
......@@ -35,6 +35,7 @@ std = [
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"log/std",
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
......
......@@ -34,6 +34,7 @@ std = [
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
......
......@@ -35,6 +35,7 @@ std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"log/std",
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
......
......@@ -25,6 +25,7 @@ sp-std = { version = "4.0.0", default-features = false, path = "../../std" }
default = ["std"]
std = [
"blake2/std",
"byteorder/std",
"sha2/std",
"sha3/std",
"sp-std/std",
......
......@@ -21,7 +21,7 @@ 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"
sp-core = { version = "6.0.0", path = "../core" }
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
sp-externalities = { version = "0.12.0", default-features = false, path = "../externalities" }
[dev-dependencies]
......@@ -31,6 +31,10 @@ rand_chacha = "0.2.2"
[features]
default = ["std"]
std = [
"codec/std",
"merlin/std",
"schnorrkel/std",
"serde",
"sp-core/std",
"sp-externalities/std",
]
......@@ -24,6 +24,10 @@ default = [
"std",
]
std = [
"codec/std",
"parity-util-mem/std",
"serde",
"sp-application-crypto/std",
"sp-core/std",
"sp-runtime/std",
]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment