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
This commit is contained in:
Shawn Tabrizi
2022-05-05 12:43:52 +01:00
committed by GitHub
parent f9e4e87efa
commit a4bb42d85c
15 changed files with 25 additions and 1 deletions
@@ -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",
+5 -1
View File
@@ -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",
]