mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +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:
@@ -16,14 +16,14 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
bytes = { version = "1.1.0", default-features = false }
|
||||
sp-wasm-interface = { path = "../wasm-interface", default-features = false }
|
||||
sp-std = { path = "../std", default-features = false}
|
||||
sp-tracing = { path = "../tracing", default-features = false}
|
||||
sp-std = { path = "../std", default-features = false }
|
||||
sp-tracing = { path = "../tracing", default-features = false }
|
||||
sp-runtime-interface-proc-macro = { path = "proc-macro" }
|
||||
sp-externalities = { path = "../externalities", default-features = false}
|
||||
sp-externalities = { path = "../externalities", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["bytes"] }
|
||||
static_assertions = "1.0.0"
|
||||
primitive-types = { version = "0.12.0", default-features = false }
|
||||
sp-storage = { path = "../storage", default-features = false}
|
||||
sp-storage = { path = "../storage", default-features = false }
|
||||
impl-trait-for-tuples = "0.2.2"
|
||||
|
||||
[dev-dependencies]
|
||||
@@ -35,7 +35,7 @@ rustversion = "1.0.6"
|
||||
trybuild = "1.0.74"
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bytes/std",
|
||||
"codec/std",
|
||||
|
||||
@@ -21,4 +21,4 @@ proc-macro-crate = "1.1.3"
|
||||
proc-macro2 = "1.0.56"
|
||||
quote = "1.0.28"
|
||||
expander = "2.0.0"
|
||||
syn = { version = "2.0.38", features = ["full", "visit", "fold", "extra-traits"] }
|
||||
syn = { version = "2.0.38", features = ["extra-traits", "fold", "full", "visit"] }
|
||||
|
||||
@@ -13,15 +13,15 @@ publish = false
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
sp-core = { path = "../../core", default-features = false}
|
||||
sp-io = { path = "../../io", default-features = false}
|
||||
sp-runtime-interface = { path = "..", default-features = false}
|
||||
sp-core = { path = "../../core", default-features = false }
|
||||
sp-io = { path = "../../io", default-features = false }
|
||||
sp-runtime-interface = { path = "..", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"sp-core/std",
|
||||
"sp-io/std",
|
||||
|
||||
@@ -14,16 +14,16 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
bytes = { version = "1.1.0", default-features = false }
|
||||
sp-core = { path = "../../core", default-features = false}
|
||||
sp-io = { path = "../../io", default-features = false}
|
||||
sp-runtime-interface = { path = "..", default-features = false}
|
||||
sp-std = { path = "../../std", default-features = false}
|
||||
sp-core = { path = "../../core", default-features = false }
|
||||
sp-io = { path = "../../io", default-features = false }
|
||||
sp-runtime-interface = { path = "..", default-features = false }
|
||||
sp-std = { path = "../../std", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bytes/std",
|
||||
"sp-core/std",
|
||||
|
||||
Reference in New Issue
Block a user