mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +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
@@ -32,24 +32,24 @@ log = { version = "0.4.17", default-features = false }
|
||||
sp-test-primitives = { version = "2.0.0", path = "../test-primitives" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"sp-core/std",
|
||||
"sp-externalities",
|
||||
"sp-std/std",
|
||||
"sp-runtime/std",
|
||||
"sp-state-machine/std",
|
||||
"sp-trie/std",
|
||||
"sp-version/std",
|
||||
"hash-db",
|
||||
"thiserror",
|
||||
"log/std",
|
||||
"scale-info/std",
|
||||
"sp-metadata-ir?/std",
|
||||
"sp-api-proc-macro/std",
|
||||
"sp-core/std",
|
||||
"sp-externalities",
|
||||
"sp-externalities?/std",
|
||||
"sp-test-primitives/std"
|
||||
"sp-metadata-ir?/std",
|
||||
"sp-runtime/std",
|
||||
"sp-state-machine/std",
|
||||
"sp-std/std",
|
||||
"sp-test-primitives/std",
|
||||
"sp-trie/std",
|
||||
"sp-version/std",
|
||||
"thiserror",
|
||||
]
|
||||
# Special feature to disable logging completely.
|
||||
#
|
||||
@@ -58,10 +58,7 @@ std = [
|
||||
# building a runtime for registering it on chain.
|
||||
#
|
||||
# This sets the max logging level to `off` for `log`.
|
||||
disable-logging = ["log/max_level_off"]
|
||||
disable-logging = [ "log/max_level_off" ]
|
||||
# Do not report the documentation in the metadata.
|
||||
no-metadata-docs = ["sp-api-proc-macro/no-metadata-docs"]
|
||||
frame-metadata = [
|
||||
"sp-metadata-ir",
|
||||
"sp-api-proc-macro/frame-metadata"
|
||||
]
|
||||
no-metadata-docs = [ "sp-api-proc-macro/no-metadata-docs" ]
|
||||
frame-metadata = [ "sp-api-proc-macro/frame-metadata", "sp-metadata-ir" ]
|
||||
|
||||
@@ -29,7 +29,7 @@ assert_matches = "1.3.0"
|
||||
|
||||
[features]
|
||||
# Required for the doc tests
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = []
|
||||
no-metadata-docs = []
|
||||
frame-metadata = []
|
||||
|
||||
Reference in New Issue
Block a user