mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +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
@@ -20,13 +20,6 @@ sp-core = { version = "21.0.0", path = "../../primitives/core" }
|
||||
sp-runtime = { version = "24.0.0", path = "../../primitives/runtime" }
|
||||
|
||||
[features]
|
||||
debug = ["array-bytes", "log"]
|
||||
default = ["debug", "std"]
|
||||
std = [
|
||||
|
||||
"log/std",
|
||||
|
||||
"hash-db/std",
|
||||
"sp-core/std",
|
||||
"sp-runtime/std"
|
||||
]
|
||||
debug = [ "array-bytes", "log" ]
|
||||
default = [ "debug", "std" ]
|
||||
std = [ "hash-db/std", "log/std", "sp-core/std", "sp-runtime/std" ]
|
||||
|
||||
@@ -56,13 +56,13 @@ sp-wasm-interface = { version = "14.0.0", path = "../../../primitives/wasm-inter
|
||||
gethostname = "0.2.3"
|
||||
|
||||
[features]
|
||||
default = ["rocksdb"]
|
||||
default = [ "rocksdb" ]
|
||||
runtime-benchmarks = [
|
||||
"sc-client-db/runtime-benchmarks",
|
||||
"frame-benchmarking/runtime-benchmarks",
|
||||
"frame-support/runtime-benchmarks",
|
||||
"frame-system/runtime-benchmarks",
|
||||
"sc-client-db/runtime-benchmarks",
|
||||
"sc-service/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks"
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
]
|
||||
rocksdb = ["sc-cli/rocksdb", "sc-client-db/rocksdb"]
|
||||
rocksdb = [ "sc-cli/rocksdb", "sc-client-db/rocksdb" ]
|
||||
|
||||
@@ -53,8 +53,8 @@ tokio = "1.27.0"
|
||||
|
||||
[features]
|
||||
try-runtime = [
|
||||
"sp-debug-derive/force-debug",
|
||||
"frame-try-runtime/try-runtime",
|
||||
"sp-debug-derive/force-debug",
|
||||
"sp-runtime/try-runtime",
|
||||
"substrate-cli-test-utils/try-runtime"
|
||||
"substrate-cli-test-utils/try-runtime",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user