mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 22:05:42 +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,16 +16,16 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
async-trait = { version = "0.1.57", optional = true }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
sp-api = { path = "../../api", default-features = false}
|
||||
sp-application-crypto = { path = "../../application-crypto", default-features = false}
|
||||
sp-consensus-slots = { path = "../slots", default-features = false}
|
||||
sp-inherents = { path = "../../inherents", default-features = false}
|
||||
sp-runtime = { path = "../../runtime", default-features = false}
|
||||
sp-std = { path = "../../std", default-features = false}
|
||||
sp-timestamp = { path = "../../timestamp", default-features = false}
|
||||
sp-api = { path = "../../api", default-features = false }
|
||||
sp-application-crypto = { path = "../../application-crypto", default-features = false }
|
||||
sp-consensus-slots = { path = "../slots", default-features = false }
|
||||
sp-inherents = { path = "../../inherents", default-features = false }
|
||||
sp-runtime = { path = "../../runtime", default-features = false }
|
||||
sp-std = { path = "../../std", default-features = false }
|
||||
sp-timestamp = { path = "../../timestamp", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
|
||||
@@ -16,18 +16,18 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
async-trait = { version = "0.1.57", optional = true }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
serde = { version = "1.0.193", default-features = false, features = ["derive", "alloc"], optional = true }
|
||||
sp-api = { path = "../../api", default-features = false}
|
||||
sp-application-crypto = { path = "../../application-crypto", default-features = false}
|
||||
sp-consensus-slots = { path = "../slots", default-features = false}
|
||||
sp-core = { path = "../../core", default-features = false}
|
||||
sp-inherents = { path = "../../inherents", default-features = false}
|
||||
sp-runtime = { path = "../../runtime", default-features = false}
|
||||
sp-std = { path = "../../std", default-features = false}
|
||||
sp-timestamp = { path = "../../timestamp", optional = true}
|
||||
serde = { version = "1.0.193", default-features = false, features = ["alloc", "derive"], optional = true }
|
||||
sp-api = { path = "../../api", default-features = false }
|
||||
sp-application-crypto = { path = "../../application-crypto", default-features = false }
|
||||
sp-consensus-slots = { path = "../slots", default-features = false }
|
||||
sp-core = { path = "../../core", default-features = false }
|
||||
sp-inherents = { path = "../../inherents", default-features = false }
|
||||
sp-runtime = { path = "../../runtime", default-features = false }
|
||||
sp-std = { path = "../../std", default-features = false }
|
||||
sp-timestamp = { path = "../../timestamp", optional = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"async-trait",
|
||||
"codec/std",
|
||||
|
||||
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
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"] }
|
||||
serde = { version = "1.0.193", default-features = false, optional = true, features = ["derive", "alloc"] }
|
||||
serde = { version = "1.0.193", default-features = false, optional = true, features = ["alloc", "derive"] }
|
||||
sp-api = { path = "../../api", default-features = false }
|
||||
sp-application-crypto = { path = "../../application-crypto", default-features = false }
|
||||
sp-core = { path = "../../core", default-features = false }
|
||||
@@ -30,7 +30,7 @@ array-bytes = "6.1"
|
||||
w3f-bls = { version = "0.1.3", features = ["std"] }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
|
||||
@@ -18,16 +18,16 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
|
||||
grandpa = { package = "finality-grandpa", version = "0.16.2", default-features = false, features = ["derive-codec"] }
|
||||
log = { version = "0.4.17", default-features = false }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
serde = { version = "1.0.193", features = ["derive", "alloc"], default-features = false, optional = true }
|
||||
sp-api = { path = "../../api", default-features = false}
|
||||
sp-application-crypto = { path = "../../application-crypto", default-features = false}
|
||||
sp-core = { path = "../../core", default-features = false}
|
||||
sp-keystore = { path = "../../keystore", default-features = false, optional = true}
|
||||
sp-runtime = { path = "../../runtime", default-features = false}
|
||||
sp-std = { path = "../../std", default-features = false}
|
||||
serde = { version = "1.0.193", features = ["alloc", "derive"], default-features = false, optional = true }
|
||||
sp-api = { path = "../../api", default-features = false }
|
||||
sp-application-crypto = { path = "../../application-crypto", default-features = false }
|
||||
sp-core = { path = "../../core", default-features = false }
|
||||
sp-keystore = { path = "../../keystore", default-features = false, optional = true }
|
||||
sp-runtime = { path = "../../runtime", default-features = false }
|
||||
sp-std = { path = "../../std", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"grandpa/std",
|
||||
|
||||
@@ -14,13 +14,13 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
sp-api = { path = "../../api", default-features = false}
|
||||
sp-core = { path = "../../core", default-features = false}
|
||||
sp-runtime = { path = "../../runtime", default-features = false}
|
||||
sp-std = { path = "../../std", default-features = false}
|
||||
sp-api = { path = "../../api", default-features = false }
|
||||
sp-core = { path = "../../core", default-features = false }
|
||||
sp-runtime = { path = "../../runtime", default-features = false }
|
||||
sp-std = { path = "../../std", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"sp-api/std",
|
||||
|
||||
@@ -26,7 +26,7 @@ sp-runtime = { default-features = false, path = "../../runtime" }
|
||||
sp-std = { default-features = false, path = "../../std" }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"scale-codec/std",
|
||||
"scale-info/std",
|
||||
|
||||
@@ -15,12 +15,12 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true }
|
||||
sp-std = { path = "../../std", default-features = false}
|
||||
sp-timestamp = { path = "../../timestamp", default-features = false}
|
||||
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"], optional = true }
|
||||
sp-std = { path = "../../std", default-features = false }
|
||||
sp-timestamp = { path = "../../timestamp", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"scale-info/std",
|
||||
@@ -30,4 +30,4 @@ std = [
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [ "dep:serde", "scale-info/serde" ]
|
||||
serde = ["dep:serde", "scale-info/serde"]
|
||||
|
||||
Reference in New Issue
Block a user