mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
Enforce consistent and correct toml formatting (#2518)
Using taplo, fixes all our broken and inconsistent toml formatting and adds CI to keep them tidy. If people want we can customise the format rules as described here https://taplo.tamasfe.dev/configuration/formatter-options.html @ggwpez, I suggest zepter is used only for checking features are propagated, and leave formatting for taplo to avoid duplicate work and conflicts. TODO - [x] Use `exclude = [...]` syntax in taplo file to ignore zombienet tests instead of deleting the dir --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -17,5 +17,5 @@ futures = "0.3.16"
|
||||
tokio = { version = "1.22.0", features = ["macros", "time"] }
|
||||
|
||||
[dev-dependencies]
|
||||
trybuild = { version = "1.0.74", features = [ "diff" ] }
|
||||
trybuild = { version = "1.0.74", features = ["diff"] }
|
||||
sc-service = { path = "../client/service" }
|
||||
|
||||
@@ -26,4 +26,4 @@ sc-service = { path = "../../client/service" }
|
||||
futures = "0.3.28"
|
||||
|
||||
[features]
|
||||
try-runtime = [ "node-cli/try-runtime" ]
|
||||
try-runtime = ["node-cli/try-runtime"]
|
||||
|
||||
@@ -22,13 +22,13 @@ serde_json = "1.0.108"
|
||||
sc-client-api = { path = "../../client/api" }
|
||||
sc-client-db = { path = "../../client/db", default-features = false, features = [
|
||||
"test-helpers",
|
||||
]}
|
||||
] }
|
||||
sc-consensus = { path = "../../client/consensus/common" }
|
||||
sc-executor = { path = "../../client/executor" }
|
||||
sc-offchain = { path = "../../client/offchain" }
|
||||
sc-service = { path = "../../client/service", default-features = false, features = [
|
||||
"test-helpers",
|
||||
]}
|
||||
] }
|
||||
sp-blockchain = { path = "../../primitives/blockchain" }
|
||||
sp-consensus = { path = "../../primitives/consensus/common" }
|
||||
sp-core = { path = "../../primitives/core" }
|
||||
|
||||
@@ -13,37 +13,37 @@ publish = false
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false, features = ["serde"] }
|
||||
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false, features = ["serde"] }
|
||||
sp-consensus-aura = { path = "../../primitives/consensus/aura", default-features = false, features = ["serde"] }
|
||||
sp-consensus-babe = { path = "../../primitives/consensus/babe", default-features = false, features = ["serde"] }
|
||||
sp-genesis-builder = { path = "../../primitives/genesis-builder", default-features = false}
|
||||
sp-block-builder = { path = "../../primitives/block-builder", default-features = false}
|
||||
sp-genesis-builder = { path = "../../primitives/genesis-builder", default-features = false }
|
||||
sp-block-builder = { path = "../../primitives/block-builder", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
sp-inherents = { path = "../../primitives/inherents", default-features = false}
|
||||
sp-keyring = { path = "../../primitives/keyring", optional = true}
|
||||
sp-offchain = { path = "../../primitives/offchain", default-features = false}
|
||||
sp-core = { path = "../../primitives/core", default-features = false}
|
||||
sp-std = { path = "../../primitives/std", default-features = false}
|
||||
sp-io = { path = "../../primitives/io", default-features = false}
|
||||
frame-support = { path = "../../frame/support", default-features = false}
|
||||
sp-version = { path = "../../primitives/version", default-features = false}
|
||||
sp-session = { path = "../../primitives/session", default-features = false}
|
||||
sp-api = { path = "../../primitives/api", default-features = false}
|
||||
sp-inherents = { path = "../../primitives/inherents", default-features = false }
|
||||
sp-keyring = { path = "../../primitives/keyring", optional = true }
|
||||
sp-offchain = { path = "../../primitives/offchain", default-features = false }
|
||||
sp-core = { path = "../../primitives/core", default-features = false }
|
||||
sp-std = { path = "../../primitives/std", default-features = false }
|
||||
sp-io = { path = "../../primitives/io", default-features = false }
|
||||
frame-support = { path = "../../frame/support", default-features = false }
|
||||
sp-version = { path = "../../primitives/version", default-features = false }
|
||||
sp-session = { path = "../../primitives/session", default-features = false }
|
||||
sp-api = { path = "../../primitives/api", default-features = false }
|
||||
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
|
||||
pallet-babe = { path = "../../frame/babe", default-features = false}
|
||||
pallet-balances = { path = "../../frame/balances", default-features = false}
|
||||
frame-executive = { path = "../../frame/executive", default-features = false}
|
||||
frame-system = { path = "../../frame/system", default-features = false}
|
||||
frame-system-rpc-runtime-api = { path = "../../frame/system/rpc/runtime-api", default-features = false}
|
||||
pallet-timestamp = { path = "../../frame/timestamp", default-features = false}
|
||||
pallet-babe = { path = "../../frame/babe", default-features = false }
|
||||
pallet-balances = { path = "../../frame/balances", default-features = false }
|
||||
frame-executive = { path = "../../frame/executive", default-features = false }
|
||||
frame-system = { path = "../../frame/system", default-features = false }
|
||||
frame-system-rpc-runtime-api = { path = "../../frame/system/rpc/runtime-api", default-features = false }
|
||||
pallet-timestamp = { path = "../../frame/timestamp", default-features = false }
|
||||
sp-consensus-grandpa = { path = "../../primitives/consensus/grandpa", default-features = false, features = ["serde"] }
|
||||
sp-trie = { path = "../../primitives/trie", default-features = false}
|
||||
sp-transaction-pool = { path = "../../primitives/transaction-pool", default-features = false}
|
||||
sp-trie = { path = "../../primitives/trie", default-features = false }
|
||||
sp-transaction-pool = { path = "../../primitives/transaction-pool", default-features = false }
|
||||
trie-db = { version = "0.28.0", default-features = false }
|
||||
sc-service = { path = "../../client/service", default-features = false, features = ["test-helpers"], optional = true}
|
||||
sp-state-machine = { path = "../../primitives/state-machine", default-features = false}
|
||||
sp-externalities = { path = "../../primitives/externalities", default-features = false}
|
||||
sc-service = { path = "../../client/service", default-features = false, features = ["test-helpers"], optional = true }
|
||||
sp-state-machine = { path = "../../primitives/state-machine", default-features = false }
|
||||
sp-externalities = { path = "../../primitives/externalities", default-features = false }
|
||||
|
||||
# 3rd party
|
||||
array-bytes = { version = "6.1", optional = true }
|
||||
@@ -65,7 +65,7 @@ serde_json = { version = "1.0.108", default-features = false, features = ["alloc
|
||||
substrate-wasm-builder = { path = "../../utils/wasm-builder", optional = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
|
||||
std = [
|
||||
"array-bytes",
|
||||
@@ -108,4 +108,4 @@ std = [
|
||||
"trie-db/std",
|
||||
]
|
||||
# Special feature to disable logging
|
||||
disable-logging = [ "sp-api/disable-logging" ]
|
||||
disable-logging = ["sp-api/disable-logging"]
|
||||
|
||||
Reference in New Issue
Block a user