mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
4a293bc5a2
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>
76 lines
2.8 KiB
TOML
76 lines
2.8 KiB
TOML
[package]
|
|
name = "frame-support-test"
|
|
version = "3.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
static_assertions = "1.1.0"
|
|
serde = { version = "1.0.193", default-features = false, features = ["derive"] }
|
|
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"] }
|
|
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
|
|
sp-api = { path = "../../../primitives/api", default-features = false }
|
|
sp-arithmetic = { path = "../../../primitives/arithmetic", default-features = false }
|
|
sp-io = { path = "../../../primitives/io", default-features = false }
|
|
sp-state-machine = { path = "../../../primitives/state-machine", optional = true }
|
|
frame-support = { path = "..", default-features = false }
|
|
frame-benchmarking = { path = "../../benchmarking", default-features = false }
|
|
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
|
|
sp-core = { path = "../../../primitives/core", default-features = false }
|
|
sp-std = { path = "../../../primitives/std", default-features = false }
|
|
sp-version = { path = "../../../primitives/version", default-features = false }
|
|
sp-metadata-ir = { path = "../../../primitives/metadata-ir", default-features = false }
|
|
trybuild = { version = "1.0.74", features = ["diff"] }
|
|
pretty_assertions = "1.3.0"
|
|
rustversion = "1.0.6"
|
|
frame-system = { path = "../../system", default-features = false }
|
|
frame-executive = { path = "../../executive", default-features = false }
|
|
# The "std" feature for this pallet is never activated on purpose, in order to test construct_runtime error message
|
|
test-pallet = { package = "frame-support-test-pallet", path = "pallet", default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"frame-benchmarking/std",
|
|
"frame-executive/std",
|
|
"frame-metadata/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"sp-api/std",
|
|
"sp-arithmetic/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-metadata-ir/std",
|
|
"sp-runtime/std",
|
|
"sp-state-machine/std",
|
|
"sp-std/std",
|
|
"sp-version/std",
|
|
"test-pallet/std",
|
|
]
|
|
experimental = ["frame-support/experimental"]
|
|
try-runtime = [
|
|
"frame-executive/try-runtime",
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|
|
# WARNING:
|
|
# Only CI runs with this feature enabled. This feature is for testing stuff related to the FRAME macros
|
|
# in conjunction with rust features.
|
|
frame-feature-testing = []
|
|
frame-feature-testing-2 = []
|
|
# Disable ui tests
|
|
disable-ui-tests = []
|
|
no-metadata-docs = ["frame-support/no-metadata-docs"]
|