mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 20:55:41 +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
@@ -64,45 +64,45 @@ pallet-proxy = { version = "4.0.0-dev", path = "../proxy" }
|
||||
sp-keystore = { version = "0.27.0", path = "../../primitives/keystore" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"serde",
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"sp-core/std",
|
||||
"sp-runtime/std",
|
||||
"sp-io/std",
|
||||
"sp-std/std",
|
||||
"environmental/std",
|
||||
"frame-benchmarking?/std",
|
||||
"frame-support/std",
|
||||
"frame-system/std",
|
||||
"wasm-instrument/std",
|
||||
"wasmi/std",
|
||||
"log/std",
|
||||
"pallet-balances?/std",
|
||||
"pallet-contracts-primitives/std",
|
||||
"pallet-contracts-proc-macro/full",
|
||||
"log/std",
|
||||
"rand/std",
|
||||
"environmental/std",
|
||||
"pallet-balances?/std",
|
||||
"pallet-insecure-randomness-collective-flip/std",
|
||||
"pallet-proxy/std",
|
||||
"pallet-timestamp/std",
|
||||
"pallet-utility/std",
|
||||
"rand/std",
|
||||
"scale-info/std",
|
||||
"serde",
|
||||
"sp-api/std",
|
||||
"sp-keystore/std"
|
||||
"sp-core/std",
|
||||
"sp-io/std",
|
||||
"sp-keystore/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std",
|
||||
"wasm-instrument/std",
|
||||
"wasmi/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"frame-benchmarking/runtime-benchmarks",
|
||||
"rand",
|
||||
"rand_pcg",
|
||||
"wasm-instrument",
|
||||
"pallet-balances/runtime-benchmarks",
|
||||
"frame-support/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"pallet-balances/runtime-benchmarks",
|
||||
"pallet-proxy/runtime-benchmarks",
|
||||
"pallet-timestamp/runtime-benchmarks",
|
||||
"pallet-utility/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks"
|
||||
"rand",
|
||||
"rand_pcg",
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
"wasm-instrument",
|
||||
]
|
||||
try-runtime = [
|
||||
"frame-support/try-runtime",
|
||||
|
||||
@@ -23,11 +23,11 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../../pr
|
||||
sp-weights = { version = "20.0.0", default-features = false, path = "../../../primitives/weights" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std",
|
||||
"scale-info/std",
|
||||
"sp-weights/std"
|
||||
"sp-weights/std",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user