mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 23:15:42 +00:00
Format and Sort features in Cargo.toml files (#14803)
* CI: Add feature sorting check Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Sort all features Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add some mistakes Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Add some mistakes" This reverts commit b2b1099f979f6decb22d09b46689c1554bb72e81. * CI job naming Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add oneliner formatting Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Explain tool Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use latest version Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Better erorr message Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Format after master merge Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use --check option Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Messed up the merge commit... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
878c562cd4
commit
8b9455465b
@@ -25,7 +25,7 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../std" }
|
||||
sp-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../timestamp" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
|
||||
@@ -27,7 +27,7 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../std" }
|
||||
sp-timestamp = { version = "4.0.0-dev", optional = true, path = "../../timestamp" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
@@ -40,7 +40,7 @@ std = [
|
||||
"sp-inherents/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std",
|
||||
"sp-timestamp/std",
|
||||
"sp-timestamp/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
|
||||
@@ -30,7 +30,7 @@ array-bytes = "6.1"
|
||||
w3f-bls = { version = "0.1.3", features = ["std"]}
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
@@ -56,6 +56,6 @@ serde = [
|
||||
# This feature adds BLS crypto primitives. It should not be used in production since
|
||||
# the BLS implementation and interface may still be subject to significant change.
|
||||
bls-experimental = [
|
||||
"sp-core/bls-experimental",
|
||||
"sp-application-crypto/bls-experimental",
|
||||
"sp-application-crypto/bls-experimental",
|
||||
"sp-core/bls-experimental",
|
||||
]
|
||||
|
||||
@@ -27,7 +27,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../runti
|
||||
sp-std = { version = "8.0.0", default-features = false, path = "../../std" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"grandpa/std",
|
||||
@@ -37,9 +37,9 @@ std = [
|
||||
"sp-api/std",
|
||||
"sp-application-crypto/std",
|
||||
"sp-core/std",
|
||||
"sp-keystore/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std"
|
||||
"sp-keystore/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
|
||||
@@ -20,7 +20,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../runti
|
||||
sp-std = { version = "8.0.0", default-features = false, path = "../../std" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"sp-api/std",
|
||||
|
||||
@@ -20,7 +20,7 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../std" }
|
||||
sp-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../timestamp" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
@@ -30,7 +30,4 @@ std = [
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
serde = [ "dep:serde", "scale-info/serde" ]
|
||||
|
||||
Reference in New Issue
Block a user