mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +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:
@@ -8,20 +8,20 @@ license = "Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = { version = "0.1.73", optional = true }
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] }
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
tracing = { version = "0.1.37", optional = true }
|
||||
|
||||
# Substrate
|
||||
sc-client-api = { path = "../../../substrate/client/api", optional = true}
|
||||
sp-api = { path = "../../../substrate/primitives/api", optional = true}
|
||||
sp-core = { path = "../../../substrate/primitives/core", default-features = false}
|
||||
sp-inherents = { path = "../../../substrate/primitives/inherents", default-features = false}
|
||||
sp-runtime = { path = "../../../substrate/primitives/runtime", optional = true}
|
||||
sp-state-machine = { path = "../../../substrate/primitives/state-machine", optional = true}
|
||||
sp-std = { path = "../../../substrate/primitives/std", default-features = false}
|
||||
sp-storage = { path = "../../../substrate/primitives/storage", optional = true}
|
||||
sp-trie = { path = "../../../substrate/primitives/trie", default-features = false}
|
||||
sc-client-api = { path = "../../../substrate/client/api", optional = true }
|
||||
sp-api = { path = "../../../substrate/primitives/api", optional = true }
|
||||
sp-core = { path = "../../../substrate/primitives/core", default-features = false }
|
||||
sp-inherents = { path = "../../../substrate/primitives/inherents", default-features = false }
|
||||
sp-runtime = { path = "../../../substrate/primitives/runtime", optional = true }
|
||||
sp-state-machine = { path = "../../../substrate/primitives/state-machine", optional = true }
|
||||
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
|
||||
sp-storage = { path = "../../../substrate/primitives/storage", optional = true }
|
||||
sp-trie = { path = "../../../substrate/primitives/trie", default-features = false }
|
||||
|
||||
# Cumulus
|
||||
cumulus-primitives-core = { path = "../core", default-features = false }
|
||||
@@ -29,7 +29,7 @@ cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface", o
|
||||
cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder", optional = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
|
||||
Reference in New Issue
Block a user