mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 12:05: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
@@ -35,32 +35,32 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
|
||||
sp-tracing = { version = "10.0.0", path = "../../primitives/tracing" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
fuzzing = ["pallet-balances", "sp-tracing"]
|
||||
default = [ "std" ]
|
||||
fuzzing = [ "pallet-balances", "sp-tracing" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"frame-support/std",
|
||||
"frame-system/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std",
|
||||
"sp-io/std",
|
||||
"sp-staking/std",
|
||||
"sp-core/std",
|
||||
"log/std",
|
||||
"pallet-balances?/std",
|
||||
"sp-tracing?/std"
|
||||
"scale-info/std",
|
||||
"sp-core/std",
|
||||
"sp-io/std",
|
||||
"sp-runtime/std",
|
||||
"sp-staking/std",
|
||||
"sp-std/std",
|
||||
"sp-tracing?/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"sp-staking/runtime-benchmarks",
|
||||
"frame-support/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"pallet-balances?/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks"
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
"sp-staking/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"frame-support/try-runtime",
|
||||
"frame-system/try-runtime",
|
||||
"pallet-balances?/try-runtime",
|
||||
"sp-runtime/try-runtime"
|
||||
"sp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -40,7 +40,7 @@ sp-core = { version = "21.0.0", path = "../../../primitives/core" }
|
||||
sp-io = { version = "23.0.0", path = "../../../primitives/io" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
|
||||
std = [
|
||||
"frame-benchmarking/std",
|
||||
@@ -48,28 +48,28 @@ std = [
|
||||
"frame-support/std",
|
||||
"frame-system/std",
|
||||
"pallet-bags-list/std",
|
||||
"pallet-staking/std",
|
||||
"pallet-nomination-pools/std",
|
||||
"sp-runtime/std",
|
||||
"sp-runtime-interface/std",
|
||||
"sp-staking/std",
|
||||
"sp-std/std",
|
||||
"pallet-balances/std",
|
||||
"pallet-nomination-pools/std",
|
||||
"pallet-staking/std",
|
||||
"pallet-timestamp/std",
|
||||
"sp-core/std",
|
||||
"sp-io/std"
|
||||
"sp-io/std",
|
||||
"sp-runtime-interface/std",
|
||||
"sp-runtime/std",
|
||||
"sp-staking/std",
|
||||
"sp-std/std",
|
||||
]
|
||||
|
||||
runtime-benchmarks = [
|
||||
"frame-election-provider-support/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"frame-benchmarking/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
"sp-staking/runtime-benchmarks",
|
||||
"frame-election-provider-support/runtime-benchmarks",
|
||||
"frame-support/runtime-benchmarks",
|
||||
"pallet-staking/runtime-benchmarks",
|
||||
"pallet-nomination-pools/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"pallet-bags-list/runtime-benchmarks",
|
||||
"pallet-balances/runtime-benchmarks",
|
||||
"pallet-timestamp/runtime-benchmarks"
|
||||
"pallet-nomination-pools/runtime-benchmarks",
|
||||
"pallet-staking/runtime-benchmarks",
|
||||
"pallet-timestamp/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
"sp-staking/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -19,10 +19,5 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../../primiti
|
||||
pallet-nomination-pools = { version = "1.0.0", default-features = false, path = "../" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"sp-api/std",
|
||||
"sp-std/std",
|
||||
"pallet-nomination-pools/std",
|
||||
]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "pallet-nomination-pools/std", "sp-api/std", "sp-std/std" ]
|
||||
|
||||
Reference in New Issue
Block a user