diff --git a/Cargo.toml b/Cargo.toml index e4adc76f..8d839b27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1449,7 +1449,10 @@ relay-bizinikiwi-client = { version = "0.1.0", path = "pezbridges/relays/client- relay-utils = { version = "0.1.0", path = "pezbridges/relays/utils" } remote-externalities = { path = "bizinikiwi/utils/pezframe/remote-externalities", version = "0.35.0", default-features = false, package = "pezframe-remote-externalities" } # Using rustls-tls for pure Rust TLS - no OpenSSL dependency -reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls", "json"] } +reqwest = { version = "0.12.9", default-features = false, features = [ + "json", + "rustls-tls", +] } revm = { version = "27.0.2", default-features = false } ripemd = { version = "0.1.3", default-features = false } rlp = { version = "0.6.1", default-features = false } diff --git a/bizinikiwi/bin/node/cli/Cargo.toml b/bizinikiwi/bin/node/cli/Cargo.toml index 70bf3727..26017d4e 100644 --- a/bizinikiwi/bin/node/cli/Cargo.toml +++ b/bizinikiwi/bin/node/cli/Cargo.toml @@ -50,7 +50,10 @@ harness = false [dependencies] # Umbrella crate for re-exports -pezkuwi-sdk = { workspace = true, default-features = true, features = ["node", "runtime"] } +pezkuwi-sdk = { workspace = true, default-features = true, features = [ + "node", + "runtime", +] } # third-party dependencies array-bytes = { workspace = true, default-features = true } diff --git a/bizinikiwi/bin/node/primitives/Cargo.toml b/bizinikiwi/bin/node/primitives/Cargo.toml index 4bb5963c..331e1fdc 100644 --- a/bizinikiwi/bin/node/primitives/Cargo.toml +++ b/bizinikiwi/bin/node/primitives/Cargo.toml @@ -24,7 +24,5 @@ pezsp-runtime = { workspace = true } default = ["std"] std = ["pezsp-core/std", "pezsp-runtime/std"] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/bin/utils/chain-spec-builder/Cargo.toml b/bizinikiwi/bin/utils/chain-spec-builder/Cargo.toml index e868a3e0..a83b1e75 100644 --- a/bizinikiwi/bin/utils/chain-spec-builder/Cargo.toml +++ b/bizinikiwi/bin/utils/chain-spec-builder/Cargo.toml @@ -50,7 +50,5 @@ runtime-benchmarks = [ "bizinikiwi-test-runtime/runtime-benchmarks", "pezsc-chain-spec/runtime-benchmarks", ] -std = [ - "pezsc-chain-spec/std", -] +std = ["pezsc-chain-spec/std"] with-tracing = [] diff --git a/bizinikiwi/bin/utils/pez-subkey/Cargo.toml b/bizinikiwi/bin/utils/pez-subkey/Cargo.toml index bb572195..03ea64c4 100644 --- a/bizinikiwi/bin/utils/pez-subkey/Cargo.toml +++ b/bizinikiwi/bin/utils/pez-subkey/Cargo.toml @@ -26,6 +26,4 @@ pezsc-cli = { workspace = true, default-features = true } [features] runtime-benchmarks = ["pezsc-cli/runtime-benchmarks"] -std = [ - "pezsc-cli/std", -] +std = ["pezsc-cli/std"] diff --git a/bizinikiwi/client/allocator/Cargo.toml b/bizinikiwi/client/allocator/Cargo.toml index 14ae03c0..c74c9131 100644 --- a/bizinikiwi/client/allocator/Cargo.toml +++ b/bizinikiwi/client/allocator/Cargo.toml @@ -23,7 +23,5 @@ pezsp-wasm-interface = { workspace = true, default-features = true } thiserror = { workspace = true } [features] -std = [ - "log/std", -] +std = ["log/std"] serde = [] diff --git a/bizinikiwi/client/block-builder/Cargo.toml b/bizinikiwi/client/block-builder/Cargo.toml index c70539ac..39556d9e 100644 --- a/bizinikiwi/client/block-builder/Cargo.toml +++ b/bizinikiwi/client/block-builder/Cargo.toml @@ -41,10 +41,7 @@ runtime-benchmarks = [ "pezsp-state-machine/runtime-benchmarks", "pezsp-trie/runtime-benchmarks", ] -std = [ - "bizinikiwi-test-runtime-client/std", - "pezsp-blockchain/std", -] +std = ["bizinikiwi-test-runtime-client/std", "pezsp-blockchain/std"] try-runtime = [ "bizinikiwi-test-runtime-client/try-runtime", "pezsp-api/try-runtime", diff --git a/bizinikiwi/client/executor/common/Cargo.toml b/bizinikiwi/client/executor/common/Cargo.toml index 6a9f29e9..15d176ab 100644 --- a/bizinikiwi/client/executor/common/Cargo.toml +++ b/bizinikiwi/client/executor/common/Cargo.toml @@ -26,7 +26,4 @@ wasm-instrument = { workspace = true, default-features = true } [features] default = [] -std = [ - "pezsc-allocator/std", - "polkavm/std", -] +std = ["pezsc-allocator/std", "polkavm/std"] diff --git a/bizinikiwi/client/executor/polkavm/Cargo.toml b/bizinikiwi/client/executor/polkavm/Cargo.toml index 534d6d6a..d9d228d3 100644 --- a/bizinikiwi/client/executor/polkavm/Cargo.toml +++ b/bizinikiwi/client/executor/polkavm/Cargo.toml @@ -24,9 +24,5 @@ pezsc-executor-common = { workspace = true, default-features = true } pezsp-wasm-interface = { workspace = true, default-features = true } [features] -std = [ - "log/std", - "pezsc-executor-common/std", - "polkavm/std", -] +std = ["log/std", "pezsc-executor-common/std", "polkavm/std"] serde = [] diff --git a/bizinikiwi/client/executor/runtime-test/Cargo.toml b/bizinikiwi/client/executor/runtime-test/Cargo.toml index bdd71831..959c033c 100644 --- a/bizinikiwi/client/executor/runtime-test/Cargo.toml +++ b/bizinikiwi/client/executor/runtime-test/Cargo.toml @@ -42,8 +42,6 @@ runtime-benchmarks = [ "pezsp-runtime-interface/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] with-tracing = [] diff --git a/bizinikiwi/client/keystore/Cargo.toml b/bizinikiwi/client/keystore/Cargo.toml index 2f792b8c..0894fec0 100644 --- a/bizinikiwi/client/keystore/Cargo.toml +++ b/bizinikiwi/client/keystore/Cargo.toml @@ -47,6 +47,4 @@ bandersnatch-experimental = [ ] std = [] serde = [] -runtime-benchmarks = [ - "pezsp-application-crypto/runtime-benchmarks", -] +runtime-benchmarks = ["pezsp-application-crypto/runtime-benchmarks"] diff --git a/bizinikiwi/client/merkle-mountain-range/rpc/Cargo.toml b/bizinikiwi/client/merkle-mountain-range/rpc/Cargo.toml index 0875e63a..a7c491ce 100644 --- a/bizinikiwi/client/merkle-mountain-range/rpc/Cargo.toml +++ b/bizinikiwi/client/merkle-mountain-range/rpc/Cargo.toml @@ -39,9 +39,7 @@ runtime-benchmarks = [ "pezsp-mmr-primitives/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "pezsp-blockchain/std", -] +std = ["pezsp-blockchain/std"] try-runtime = [ "pezsp-api/try-runtime", "pezsp-blockchain/try-runtime", diff --git a/bizinikiwi/client/network/common/Cargo.toml b/bizinikiwi/client/network/common/Cargo.toml index 5c8fd4f2..27d101c6 100644 --- a/bizinikiwi/client/network/common/Cargo.toml +++ b/bizinikiwi/client/network/common/Cargo.toml @@ -23,7 +23,5 @@ pezsp-runtime = { workspace = true, default-features = true } [features] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] std = [] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/client/proposer-metrics/Cargo.toml b/bizinikiwi/client/proposer-metrics/Cargo.toml index 49bfee99..32c25247 100644 --- a/bizinikiwi/client/proposer-metrics/Cargo.toml +++ b/bizinikiwi/client/proposer-metrics/Cargo.toml @@ -21,8 +21,5 @@ log = { workspace = true, default-features = true } prometheus-endpoint = { workspace = true, default-features = true } [features] -std = [ - "log/std", - "prometheus-endpoint/std", -] +std = ["log/std", "prometheus-endpoint/std"] serde = [] diff --git a/bizinikiwi/client/rpc-servers/Cargo.toml b/bizinikiwi/client/rpc-servers/Cargo.toml index 8e585288..2b1995b6 100644 --- a/bizinikiwi/client/rpc-servers/Cargo.toml +++ b/bizinikiwi/client/rpc-servers/Cargo.toml @@ -39,10 +39,5 @@ tower-http = { workspace = true, features = ["cors"] } [features] runtime-benchmarks = ["pezsc-rpc-api/runtime-benchmarks"] -std = [ - "log/std", - "pezsc-rpc-api/std", - "prometheus-endpoint/std", - "serde/std", -] +std = ["log/std", "pezsc-rpc-api/std", "prometheus-endpoint/std", "serde/std"] serde = [] diff --git a/bizinikiwi/client/runtime-utilities/Cargo.toml b/bizinikiwi/client/runtime-utilities/Cargo.toml index 08ff9c8a..a60544dc 100644 --- a/bizinikiwi/client/runtime-utilities/Cargo.toml +++ b/bizinikiwi/client/runtime-utilities/Cargo.toml @@ -44,9 +44,6 @@ runtime-benchmarks = [ "pezsp-state-machine/runtime-benchmarks", "pezsp-version/runtime-benchmarks", ] -std = [ - "pezkuwi-subxt/std", - "pezsc-executor-common/std", -] +std = ["pezkuwi-subxt/std", "pezsc-executor-common/std"] serde = [] with-tracing = [] diff --git a/bizinikiwi/client/state-db/Cargo.toml b/bizinikiwi/client/state-db/Cargo.toml index 10d799ef..ac506a9f 100644 --- a/bizinikiwi/client/state-db/Cargo.toml +++ b/bizinikiwi/client/state-db/Cargo.toml @@ -23,7 +23,5 @@ parking_lot = { workspace = true, default-features = true } pezsp-core = { workspace = true, default-features = true } [features] -std = [ - "log/std", -] +std = ["log/std"] serde = [] diff --git a/bizinikiwi/client/storage-monitor/Cargo.toml b/bizinikiwi/client/storage-monitor/Cargo.toml index 7f622d18..25ce7a61 100644 --- a/bizinikiwi/client/storage-monitor/Cargo.toml +++ b/bizinikiwi/client/storage-monitor/Cargo.toml @@ -21,7 +21,5 @@ thiserror = { workspace = true } tokio = { features = ["time"], workspace = true, default-features = true } [features] -std = [ - "log/std", -] +std = ["log/std"] serde = [] diff --git a/bizinikiwi/client/sysinfo/Cargo.toml b/bizinikiwi/client/sysinfo/Cargo.toml index 3c160810..02702591 100644 --- a/bizinikiwi/client/sysinfo/Cargo.toml +++ b/bizinikiwi/client/sysinfo/Cargo.toml @@ -39,12 +39,7 @@ runtime-benchmarks = [ "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "log/std", - "pezsc-telemetry/std", -] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +std = ["log/std", "pezsc-telemetry/std"] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] with-tracing = [] diff --git a/bizinikiwi/client/telemetry/Cargo.toml b/bizinikiwi/client/telemetry/Cargo.toml index ba8ff2de..b13c3065 100644 --- a/bizinikiwi/client/telemetry/Cargo.toml +++ b/bizinikiwi/client/telemetry/Cargo.toml @@ -31,8 +31,5 @@ thiserror = { workspace = true } wasm-timer = { workspace = true } [features] -std = [ - "log/std", - "pezsc-utils/std", -] +std = ["log/std", "pezsc-utils/std"] serde = [] diff --git a/bizinikiwi/client/transaction-pool/api/Cargo.toml b/bizinikiwi/client/transaction-pool/api/Cargo.toml index e4f81360..a4c5a4d0 100644 --- a/bizinikiwi/client/transaction-pool/api/Cargo.toml +++ b/bizinikiwi/client/transaction-pool/api/Cargo.toml @@ -32,14 +32,6 @@ runtime-benchmarks = [ "pezsp-blockchain/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "log/std", - "pezsp-blockchain/std", - "pezsp-core/std", - "pezsp-runtime/std", -] -try-runtime = [ - "pezsp-blockchain/try-runtime", - "pezsp-runtime/try-runtime", -] +std = ["log/std", "pezsp-blockchain/std", "pezsp-core/std", "pezsp-runtime/std"] +try-runtime = ["pezsp-blockchain/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/client/utils/Cargo.toml b/bizinikiwi/client/utils/Cargo.toml index 177bdeea..04e26aed 100644 --- a/bizinikiwi/client/utils/Cargo.toml +++ b/bizinikiwi/client/utils/Cargo.toml @@ -28,8 +28,5 @@ tokio-test = { workspace = true } [features] default = ["metered"] metered = [] -std = [ - "log/std", - "pezsp-arithmetic/std", -] +std = ["log/std", "pezsp-arithmetic/std"] serde = [] diff --git a/bizinikiwi/deprecated/hashing/proc-macro/Cargo.toml b/bizinikiwi/deprecated/hashing/proc-macro/Cargo.toml index 80f2160b..7abdd7be 100644 --- a/bizinikiwi/deprecated/hashing/proc-macro/Cargo.toml +++ b/bizinikiwi/deprecated/hashing/proc-macro/Cargo.toml @@ -19,6 +19,4 @@ targets = ["x86_64-unknown-linux-gnu"] pezsp-crypto-hashing-proc-macro = { workspace = true, default-features = true } [features] -std = [ - "pezsp-crypto-hashing-proc-macro/std", -] +std = ["pezsp-crypto-hashing-proc-macro/std"] diff --git a/bizinikiwi/pezframe/Cargo.toml b/bizinikiwi/pezframe/Cargo.toml index 0ba7acab..69ac303c 100644 --- a/bizinikiwi/pezframe/Cargo.toml +++ b/bizinikiwi/pezframe/Cargo.toml @@ -134,10 +134,7 @@ try-runtime = [ "pezsp-transaction-pool?/try-runtime", "pezsp-version?/try-runtime", ] -experimental = [ - "pezframe-support/experimental", - "pezframe-system/experimental", -] +experimental = ["pezframe-support/experimental", "pezframe-system/experimental"] runtime = [ "pezframe-executive", "pezframe-system-rpc-runtime-api", diff --git a/bizinikiwi/pezframe/bags-list/remote-tests/Cargo.toml b/bizinikiwi/pezframe/bags-list/remote-tests/Cargo.toml index 156864de..89920307 100644 --- a/bizinikiwi/pezframe/bags-list/remote-tests/Cargo.toml +++ b/bizinikiwi/pezframe/bags-list/remote-tests/Cargo.toml @@ -46,10 +46,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "remote-externalities/runtime-benchmarks", ] -std = [ - "log/std", - "remote-externalities/std", -] +std = ["log/std", "remote-externalities/std"] try-runtime = [ "pezframe-election-provider-support/try-runtime", "pezframe-support/try-runtime", diff --git a/bizinikiwi/pezframe/contracts/fixtures/Cargo.toml b/bizinikiwi/pezframe/contracts/fixtures/Cargo.toml index 0b510b5c..7a489902 100644 --- a/bizinikiwi/pezframe/contracts/fixtures/Cargo.toml +++ b/bizinikiwi/pezframe/contracts/fixtures/Cargo.toml @@ -32,9 +32,6 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", ] std = [] -try-runtime = [ - "pezframe-system/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezframe-system/try-runtime", "pezsp-runtime/try-runtime"] serde = [] experimental = [] diff --git a/bizinikiwi/pezframe/contracts/uapi/Cargo.toml b/bizinikiwi/pezframe/contracts/uapi/Cargo.toml index f7b53d25..c1662bf9 100644 --- a/bizinikiwi/pezframe/contracts/uapi/Cargo.toml +++ b/bizinikiwi/pezframe/contracts/uapi/Cargo.toml @@ -27,8 +27,5 @@ scale-info = { features = ["derive"], optional = true, workspace = true } [features] default = ["scale"] scale = ["dep:codec", "scale-info"] -std = [ - "codec?/std", - "scale-info?/std", -] +std = ["codec?/std", "scale-info?/std"] serde = [] diff --git a/bizinikiwi/pezframe/election-provider-multi-phase/test-staking-e2e/Cargo.toml b/bizinikiwi/pezframe/election-provider-multi-phase/test-staking-e2e/Cargo.toml index fee6a37a..73962c62 100644 --- a/bizinikiwi/pezframe/election-provider-multi-phase/test-staking-e2e/Cargo.toml +++ b/bizinikiwi/pezframe/election-provider-multi-phase/test-staking-e2e/Cargo.toml @@ -78,10 +78,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-staking/runtime-benchmarks", ] -std = [ - "log/std", - "pezsp-npos-elections/std", -] +std = ["log/std", "pezsp-npos-elections/std"] serde = [] experimental = [] with-tracing = [] diff --git a/bizinikiwi/pezframe/election-provider-support/solution-type/fuzzer/Cargo.toml b/bizinikiwi/pezframe/election-provider-support/solution-type/fuzzer/Cargo.toml index 9e655c9e..32989e7a 100644 --- a/bizinikiwi/pezframe/election-provider-support/solution-type/fuzzer/Cargo.toml +++ b/bizinikiwi/pezframe/election-provider-support/solution-type/fuzzer/Cargo.toml @@ -38,10 +38,7 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "codec/std", - "pezframe-election-provider-solution-type/std", -] +std = ["codec/std", "pezframe-election-provider-solution-type/std"] try-runtime = [ "pezframe-election-provider-support/try-runtime", "pezframe-support/try-runtime", diff --git a/bizinikiwi/pezframe/examples/tasks/Cargo.toml b/bizinikiwi/pezframe/examples/tasks/Cargo.toml index 0b61d82a..c7877f02 100644 --- a/bizinikiwi/pezframe/examples/tasks/Cargo.toml +++ b/bizinikiwi/pezframe/examples/tasks/Cargo.toml @@ -56,10 +56,7 @@ try-runtime = [ "pezframe-system/try-runtime", "pezsp-runtime/try-runtime", ] -experimental = [ - "pezframe-support/experimental", - "pezframe-system/experimental", -] +experimental = ["pezframe-support/experimental", "pezframe-system/experimental"] serde = [] with-tracing = [] tuples-96 = [] diff --git a/bizinikiwi/pezframe/executive/Cargo.toml b/bizinikiwi/pezframe/executive/Cargo.toml index e4af7c49..bbfeccf7 100644 --- a/bizinikiwi/pezframe/executive/Cargo.toml +++ b/bizinikiwi/pezframe/executive/Cargo.toml @@ -41,10 +41,7 @@ pezsp-version = { workspace = true, default-features = true } [features] default = ["std"] -with-tracing = [ - "pezsp-io/with-tracing", - "pezsp-tracing/with-tracing", -] +with-tracing = ["pezsp-io/with-tracing", "pezsp-tracing/with-tracing"] std = [ "bizinikiwi-test-runtime-client/std", "codec/std", diff --git a/bizinikiwi/pezframe/nomination-pools/fuzzer/Cargo.toml b/bizinikiwi/pezframe/nomination-pools/fuzzer/Cargo.toml index fd3616e8..2277799d 100644 --- a/bizinikiwi/pezframe/nomination-pools/fuzzer/Cargo.toml +++ b/bizinikiwi/pezframe/nomination-pools/fuzzer/Cargo.toml @@ -45,9 +45,7 @@ runtime-benchmarks = [ "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "log/std", -] +std = ["log/std"] try-runtime = [ "pezframe-support/try-runtime", "pezframe-system/try-runtime", diff --git a/bizinikiwi/pezframe/nomination-pools/test-delegate-stake/Cargo.toml b/bizinikiwi/pezframe/nomination-pools/test-delegate-stake/Cargo.toml index 9f56a52f..45daab08 100644 --- a/bizinikiwi/pezframe/nomination-pools/test-delegate-stake/Cargo.toml +++ b/bizinikiwi/pezframe/nomination-pools/test-delegate-stake/Cargo.toml @@ -60,10 +60,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-staking/runtime-benchmarks", ] -std = [ - "log/std", - "pezpallet-staking-reward-curve/std", -] +std = ["log/std", "pezpallet-staking-reward-curve/std"] try-runtime = [ "pezframe-election-provider-support/try-runtime", "pezframe-support/try-runtime", diff --git a/bizinikiwi/pezframe/pezframe-metadata/Cargo.toml b/bizinikiwi/pezframe/pezframe-metadata/Cargo.toml index 67b4a621..fc44b209 100644 --- a/bizinikiwi/pezframe/pezframe-metadata/Cargo.toml +++ b/bizinikiwi/pezframe/pezframe-metadata/Cargo.toml @@ -43,11 +43,7 @@ serde_full = ["codec/serde", "scale-info/serde", "serde", "serde/alloc"] decode = ["scale-info/decode"] std = ["codec/std", "decode", "scale-info/std", "serde/std", "serde_full"] -serde = [ - "codec/serde", - "dep:serde", - "scale-info?/serde", -] +serde = ["codec/serde", "dep:serde", "scale-info?/serde"] [lints] workspace = true diff --git a/bizinikiwi/pezframe/revive/dev-node/runtime/Cargo.toml b/bizinikiwi/pezframe/revive/dev-node/runtime/Cargo.toml index 76721c01..430d865d 100644 --- a/bizinikiwi/pezframe/revive/dev-node/runtime/Cargo.toml +++ b/bizinikiwi/pezframe/revive/dev-node/runtime/Cargo.toml @@ -53,10 +53,7 @@ runtime-benchmarks = [ "pezkuwi-sdk/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezkuwi-sdk/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezkuwi-sdk/try-runtime", "pezsp-runtime/try-runtime"] serde = [] experimental = [] with-tracing = [] diff --git a/bizinikiwi/pezframe/revive/fixtures/Cargo.toml b/bizinikiwi/pezframe/revive/fixtures/Cargo.toml index 61d8498d..027ff540 100644 --- a/bizinikiwi/pezframe/revive/fixtures/Cargo.toml +++ b/bizinikiwi/pezframe/revive/fixtures/Cargo.toml @@ -48,6 +48,4 @@ std = [ ] serde = [] with-tracing = [] -runtime-benchmarks = [ - "pezsp-io?/runtime-benchmarks", -] +runtime-benchmarks = ["pezsp-io?/runtime-benchmarks"] diff --git a/bizinikiwi/pezframe/revive/uapi/Cargo.toml b/bizinikiwi/pezframe/revive/uapi/Cargo.toml index fd51e3d8..f853f022 100644 --- a/bizinikiwi/pezframe/revive/uapi/Cargo.toml +++ b/bizinikiwi/pezframe/revive/uapi/Cargo.toml @@ -36,9 +36,5 @@ default = ["scale"] scale = ["dep:codec", "scale-info"] precompiles-sol-interfaces = ["alloy-core"] unstable-hostfn = [] -std = [ - "alloy-core?/std", - "codec?/std", - "scale-info?/std", -] +std = ["alloy-core?/std", "codec?/std", "scale-info?/std"] serde = [] diff --git a/bizinikiwi/pezframe/staking-async/ahm-test/Cargo.toml b/bizinikiwi/pezframe/staking-async/ahm-test/Cargo.toml index 94090cb5..ce074894 100644 --- a/bizinikiwi/pezframe/staking-async/ahm-test/Cargo.toml +++ b/bizinikiwi/pezframe/staking-async/ahm-test/Cargo.toml @@ -50,10 +50,7 @@ pezpallet-root-offences = { workspace = true, default-features = true } pezpallet-staking = { workspace = true, default-features = true } [features] -std = [ - "log/std", - "pezframe-system/std", -] +std = ["log/std", "pezframe-system/std"] try-runtime = [ "pezframe-election-provider-support/try-runtime", "pezframe-support/try-runtime", diff --git a/bizinikiwi/pezframe/staking/reward-curve/Cargo.toml b/bizinikiwi/pezframe/staking/reward-curve/Cargo.toml index bb6103d0..01bba0b9 100644 --- a/bizinikiwi/pezframe/staking/reward-curve/Cargo.toml +++ b/bizinikiwi/pezframe/staking/reward-curve/Cargo.toml @@ -30,7 +30,5 @@ pezsp-runtime = { workspace = true, default-features = true } [features] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] std = [] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/pezframe/support/Cargo.toml b/bizinikiwi/pezframe/support/Cargo.toml index df3dba89..bd827f0b 100644 --- a/bizinikiwi/pezframe/support/Cargo.toml +++ b/bizinikiwi/pezframe/support/Cargo.toml @@ -101,8 +101,8 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-staking/runtime-benchmarks", "pezsp-state-machine?/runtime-benchmarks", + "pezsp-timestamp/runtime-benchmarks", "pezsp-trie/runtime-benchmarks", - "pezsp-timestamp/runtime-benchmarks" ] try-runtime = [ "pezframe-system/try-runtime", @@ -112,6 +112,7 @@ try-runtime = [ "pezsp-inherents/try-runtime", "pezsp-runtime/try-runtime", "pezsp-staking/try-runtime", + "pezsp-timestamp/try-runtime", ] experimental = ["pezframe-support-procedural/experimental"] # By default some types have documentation, `no-metadata-docs` allows to reduce the documentation diff --git a/bizinikiwi/pezframe/support/test/Cargo.toml b/bizinikiwi/pezframe/support/test/Cargo.toml index 9e6d1fc0..ac7400e2 100644 --- a/bizinikiwi/pezframe/support/test/Cargo.toml +++ b/bizinikiwi/pezframe/support/test/Cargo.toml @@ -61,10 +61,7 @@ std = [ "serde/std", "test-pezpallet/std", ] -experimental = [ - "pezframe-support/experimental", - "pezframe-system/experimental", -] +experimental = ["pezframe-support/experimental", "pezframe-system/experimental"] runtime-benchmarks = [ "pezframe-benchmarking/runtime-benchmarks", "pezframe-executive/runtime-benchmarks", diff --git a/bizinikiwi/pezframe/transaction-payment/rpc/Cargo.toml b/bizinikiwi/pezframe/transaction-payment/rpc/Cargo.toml index 33070312..0bcc8af2 100644 --- a/bizinikiwi/pezframe/transaction-payment/rpc/Cargo.toml +++ b/bizinikiwi/pezframe/transaction-payment/rpc/Cargo.toml @@ -38,10 +38,7 @@ runtime-benchmarks = [ "pezsp-blockchain/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "pezsp-blockchain/std", - "pezsp-rpc/std", -] +std = ["pezsp-blockchain/std", "pezsp-rpc/std"] try-runtime = [ "pezpallet-transaction-payment-rpc-runtime-api/try-runtime", "pezsp-api/try-runtime", diff --git a/bizinikiwi/primitives/api/Cargo.toml b/bizinikiwi/primitives/api/Cargo.toml index 7690299e..417530b7 100644 --- a/bizinikiwi/primitives/api/Cargo.toml +++ b/bizinikiwi/primitives/api/Cargo.toml @@ -70,8 +70,5 @@ runtime-benchmarks = [ "pezsp-trie?/runtime-benchmarks", "pezsp-version/runtime-benchmarks", ] -try-runtime = [ - "pezsp-runtime/try-runtime", - "pezsp-version/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime", "pezsp-version/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/application-crypto/Cargo.toml b/bizinikiwi/primitives/application-crypto/Cargo.toml index d38316f0..c7ab36bf 100644 --- a/bizinikiwi/primitives/application-crypto/Cargo.toml +++ b/bizinikiwi/primitives/application-crypto/Cargo.toml @@ -35,12 +35,7 @@ std = [ ] # Serde support without relying on std features. -serde = [ - "codec/serde", - "dep:serde", - "pezsp-core/serde", - "scale-info/serde", -] +serde = ["codec/serde", "dep:serde", "pezsp-core/serde", "scale-info/serde"] # This feature enables all crypto primitives for `no_std` builds like microcontrollers # or Intel SGX. @@ -56,10 +51,7 @@ full_crypto = [ # This feature adds BLS crypto primitives. # It should not be used in production since the implementation and interface may still # be subject to significant changes. -bls-experimental = [ - "pezsp-core/bls-experimental", - "pezsp-io/bls-experimental", -] +bls-experimental = ["pezsp-core/bls-experimental", "pezsp-io/bls-experimental"] # This feature adds Bandersnatch crypto primitives. # It should not be used in production since the implementation and interface may still @@ -69,6 +61,4 @@ bandersnatch-experimental = [ "pezsp-io/bandersnatch-experimental", ] with-tracing = [] -runtime-benchmarks = [ - "pezsp-io/runtime-benchmarks", -] +runtime-benchmarks = ["pezsp-io/runtime-benchmarks"] diff --git a/bizinikiwi/primitives/arithmetic/fuzzer/Cargo.toml b/bizinikiwi/primitives/arithmetic/fuzzer/Cargo.toml index a9ef3f38..ecdfd571 100644 --- a/bizinikiwi/primitives/arithmetic/fuzzer/Cargo.toml +++ b/bizinikiwi/primitives/arithmetic/fuzzer/Cargo.toml @@ -48,7 +48,5 @@ num-bigint = { workspace = true } pezsp-arithmetic = { workspace = true, default-features = true } [features] -std = [ - "num-bigint/std", -] +std = ["num-bigint/std"] serde = [] diff --git a/bizinikiwi/primitives/authority-discovery/Cargo.toml b/bizinikiwi/primitives/authority-discovery/Cargo.toml index 3b6bd273..7fae71a7 100644 --- a/bizinikiwi/primitives/authority-discovery/Cargo.toml +++ b/bizinikiwi/primitives/authority-discovery/Cargo.toml @@ -43,7 +43,4 @@ runtime-benchmarks = [ "pezsp-application-crypto/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] diff --git a/bizinikiwi/primitives/blockchain/Cargo.toml b/bizinikiwi/primitives/blockchain/Cargo.toml index 21b50b82..2b091bd9 100644 --- a/bizinikiwi/primitives/blockchain/Cargo.toml +++ b/bizinikiwi/primitives/blockchain/Cargo.toml @@ -37,10 +37,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-state-machine/runtime-benchmarks", ] -std = [ - "codec/std", - "pezsp-consensus/std", -] +std = ["codec/std", "pezsp-consensus/std"] try-runtime = [ "pezsp-api/try-runtime", "pezsp-consensus/try-runtime", diff --git a/bizinikiwi/primitives/consensus/common/Cargo.toml b/bizinikiwi/primitives/consensus/common/Cargo.toml index 04c5618d..6ff9be4f 100644 --- a/bizinikiwi/primitives/consensus/common/Cargo.toml +++ b/bizinikiwi/primitives/consensus/common/Cargo.toml @@ -35,11 +35,6 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-state-machine/runtime-benchmarks", ] -std = [ - "log/std", -] -try-runtime = [ - "pezsp-inherents/try-runtime", - "pezsp-runtime/try-runtime", -] +std = ["log/std"] +try-runtime = ["pezsp-inherents/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/consensus/grandpa/Cargo.toml b/bizinikiwi/primitives/consensus/grandpa/Cargo.toml index ab72875c..fa3dac98 100644 --- a/bizinikiwi/primitives/consensus/grandpa/Cargo.toml +++ b/bizinikiwi/primitives/consensus/grandpa/Cargo.toml @@ -58,7 +58,4 @@ runtime-benchmarks = [ "pezsp-application-crypto/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] diff --git a/bizinikiwi/primitives/consensus/pow/Cargo.toml b/bizinikiwi/primitives/consensus/pow/Cargo.toml index 9cdd43d4..8985c782 100644 --- a/bizinikiwi/primitives/consensus/pow/Cargo.toml +++ b/bizinikiwi/primitives/consensus/pow/Cargo.toml @@ -29,8 +29,5 @@ runtime-benchmarks = [ "pezsp-api/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/consensus/sassafras/Cargo.toml b/bizinikiwi/primitives/consensus/sassafras/Cargo.toml index f8078970..7780eccc 100644 --- a/bizinikiwi/primitives/consensus/sassafras/Cargo.toml +++ b/bizinikiwi/primitives/consensus/sassafras/Cargo.toml @@ -61,7 +61,4 @@ runtime-benchmarks = [ "pezsp-consensus-slots/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] diff --git a/bizinikiwi/primitives/consensus/slots/Cargo.toml b/bizinikiwi/primitives/consensus/slots/Cargo.toml index b26a9a2c..55af5121 100644 --- a/bizinikiwi/primitives/consensus/slots/Cargo.toml +++ b/bizinikiwi/primitives/consensus/slots/Cargo.toml @@ -27,9 +27,5 @@ default = ["std"] std = ["codec/std", "pezsp-timestamp/std", "scale-info/std", "serde/std"] # Serde support without relying on std features. -serde = [ - "codec/serde", - "dep:serde", - "scale-info/serde", -] +serde = ["codec/serde", "dep:serde", "scale-info/serde"] runtime-benchmarks = ["pezsp-timestamp/runtime-benchmarks"] diff --git a/bizinikiwi/primitives/crypto/ec-utils/Cargo.toml b/bizinikiwi/primitives/crypto/ec-utils/Cargo.toml index 5c6b5776..5af161f8 100644 --- a/bizinikiwi/primitives/crypto/ec-utils/Cargo.toml +++ b/bizinikiwi/primitives/crypto/ec-utils/Cargo.toml @@ -65,6 +65,4 @@ all-curves = [ "ed-on-bls12-377", "ed-on-bls12-381-bandersnatch", ] -runtime-benchmarks = [ - "pezsp-runtime-interface?/runtime-benchmarks", -] +runtime-benchmarks = ["pezsp-runtime-interface?/runtime-benchmarks"] diff --git a/bizinikiwi/primitives/crypto/hashing/proc-macro/Cargo.toml b/bizinikiwi/primitives/crypto/hashing/proc-macro/Cargo.toml index 6e3e2e16..3b88bc60 100644 --- a/bizinikiwi/primitives/crypto/hashing/proc-macro/Cargo.toml +++ b/bizinikiwi/primitives/crypto/hashing/proc-macro/Cargo.toml @@ -24,6 +24,4 @@ quote = { workspace = true } syn = { features = ["full", "parsing"], workspace = true } [features] -std = [ - "pezsp-crypto-hashing/std", -] +std = ["pezsp-crypto-hashing/std"] diff --git a/bizinikiwi/primitives/genesis-builder/Cargo.toml b/bizinikiwi/primitives/genesis-builder/Cargo.toml index c1a7c854..2b578214 100644 --- a/bizinikiwi/primitives/genesis-builder/Cargo.toml +++ b/bizinikiwi/primitives/genesis-builder/Cargo.toml @@ -37,8 +37,5 @@ runtime-benchmarks = [ "pezsp-api/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/inherents/Cargo.toml b/bizinikiwi/primitives/inherents/Cargo.toml index a213fa70..637b60e6 100644 --- a/bizinikiwi/primitives/inherents/Cargo.toml +++ b/bizinikiwi/primitives/inherents/Cargo.toml @@ -37,7 +37,5 @@ std = [ "thiserror", ] runtime-benchmarks = ["pezsp-runtime?/runtime-benchmarks"] -try-runtime = [ - "pezsp-runtime?/try-runtime", -] +try-runtime = ["pezsp-runtime?/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/keyring/Cargo.toml b/bizinikiwi/primitives/keyring/Cargo.toml index c26367ab..d1aba085 100644 --- a/bizinikiwi/primitives/keyring/Cargo.toml +++ b/bizinikiwi/primitives/keyring/Cargo.toml @@ -30,7 +30,5 @@ std = ["pezsp-core/std", "pezsp-runtime/std", "strum/std"] # be subject to significant changes. bandersnatch-experimental = ["pezsp-core/bandersnatch-experimental"] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/merkle-mountain-range/Cargo.toml b/bizinikiwi/primitives/merkle-mountain-range/Cargo.toml index c1e09767..0536f5b2 100644 --- a/bizinikiwi/primitives/merkle-mountain-range/Cargo.toml +++ b/bizinikiwi/primitives/merkle-mountain-range/Cargo.toml @@ -59,7 +59,4 @@ runtime-benchmarks = [ "pezsp-api/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] diff --git a/bizinikiwi/primitives/npos-elections/Cargo.toml b/bizinikiwi/primitives/npos-elections/Cargo.toml index 9373dd73..b53e22e5 100644 --- a/bizinikiwi/primitives/npos-elections/Cargo.toml +++ b/bizinikiwi/primitives/npos-elections/Cargo.toml @@ -49,6 +49,4 @@ serde = [ "scale-info/serde", ] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] diff --git a/bizinikiwi/primitives/npos-elections/fuzzer/Cargo.toml b/bizinikiwi/primitives/npos-elections/fuzzer/Cargo.toml index 5f640be7..36ce319c 100644 --- a/bizinikiwi/primitives/npos-elections/fuzzer/Cargo.toml +++ b/bizinikiwi/primitives/npos-elections/fuzzer/Cargo.toml @@ -48,8 +48,5 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", ] std = [] -try-runtime = [ - "pezsp-npos-elections/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-npos-elections/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/offchain/Cargo.toml b/bizinikiwi/primitives/offchain/Cargo.toml index 343cb27c..d654ddc9 100644 --- a/bizinikiwi/primitives/offchain/Cargo.toml +++ b/bizinikiwi/primitives/offchain/Cargo.toml @@ -28,8 +28,5 @@ runtime-benchmarks = [ "pezsp-api/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml b/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml index ee7228f2..95fdae45 100644 --- a/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml +++ b/bizinikiwi/primitives/pez-ethereum-standards/Cargo.toml @@ -16,7 +16,5 @@ workspace = true alloy-core = { workspace = true, features = ["sol-types"] } [features] -std = [ - "alloy-core/std", -] +std = ["alloy-core/std"] serde = [] diff --git a/bizinikiwi/primitives/runtime-interface/test/Cargo.toml b/bizinikiwi/primitives/runtime-interface/test/Cargo.toml index e841a568..8d913a58 100644 --- a/bizinikiwi/primitives/runtime-interface/test/Cargo.toml +++ b/bizinikiwi/primitives/runtime-interface/test/Cargo.toml @@ -38,12 +38,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-state-machine/runtime-benchmarks", ] -std = [ - "pezsc-executor-common/std", -] -try-runtime = [ - "pezsc-executor/try-runtime", - "pezsp-runtime/try-runtime", -] +std = ["pezsc-executor-common/std"] +try-runtime = ["pezsc-executor/try-runtime", "pezsp-runtime/try-runtime"] serde = [] with-tracing = [] diff --git a/bizinikiwi/primitives/staking/Cargo.toml b/bizinikiwi/primitives/staking/Cargo.toml index 84f8fa3c..22a45442 100644 --- a/bizinikiwi/primitives/staking/Cargo.toml +++ b/bizinikiwi/primitives/staking/Cargo.toml @@ -35,9 +35,7 @@ std = [ "serde/std", ] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [ "codec/serde", "dep:serde", diff --git a/bizinikiwi/primitives/statement-store/Cargo.toml b/bizinikiwi/primitives/statement-store/Cargo.toml index b3232d35..315aec1a 100644 --- a/bizinikiwi/primitives/statement-store/Cargo.toml +++ b/bizinikiwi/primitives/statement-store/Cargo.toml @@ -81,7 +81,4 @@ runtime-benchmarks = [ "pezsp-runtime-interface/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] diff --git a/bizinikiwi/primitives/storage/Cargo.toml b/bizinikiwi/primitives/storage/Cargo.toml index 28febc0e..e8fae7f7 100644 --- a/bizinikiwi/primitives/storage/Cargo.toml +++ b/bizinikiwi/primitives/storage/Cargo.toml @@ -28,8 +28,4 @@ default = ["std"] std = ["codec/std", "impl-serde/std", "pezsp-debug-derive/std", "serde/std"] # Serde support without relying on std features. -serde = [ - "codec/serde", - "dep:serde", - "impl-serde", -] +serde = ["codec/serde", "dep:serde", "impl-serde"] diff --git a/bizinikiwi/primitives/test-primitives/Cargo.toml b/bizinikiwi/primitives/test-primitives/Cargo.toml index f19cc7a3..fa8305eb 100644 --- a/bizinikiwi/primitives/test-primitives/Cargo.toml +++ b/bizinikiwi/primitives/test-primitives/Cargo.toml @@ -48,6 +48,4 @@ runtime-benchmarks = [ "pezsp-application-crypto/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] diff --git a/bizinikiwi/primitives/timestamp/Cargo.toml b/bizinikiwi/primitives/timestamp/Cargo.toml index da3ec67c..cc8d6758 100644 --- a/bizinikiwi/primitives/timestamp/Cargo.toml +++ b/bizinikiwi/primitives/timestamp/Cargo.toml @@ -36,8 +36,5 @@ runtime-benchmarks = [ "pezsp-inherents/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-inherents/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-inherents/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/transaction-pool/Cargo.toml b/bizinikiwi/primitives/transaction-pool/Cargo.toml index 9b523a7c..ab86d430 100644 --- a/bizinikiwi/primitives/transaction-pool/Cargo.toml +++ b/bizinikiwi/primitives/transaction-pool/Cargo.toml @@ -27,8 +27,5 @@ runtime-benchmarks = [ "pezsp-api/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-api/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-api/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/transaction-storage-proof/Cargo.toml b/bizinikiwi/primitives/transaction-storage-proof/Cargo.toml index af6adea4..345428fc 100644 --- a/bizinikiwi/primitives/transaction-storage-proof/Cargo.toml +++ b/bizinikiwi/primitives/transaction-storage-proof/Cargo.toml @@ -41,8 +41,5 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-trie?/runtime-benchmarks", ] -try-runtime = [ - "pezsp-inherents/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-inherents/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/primitives/version/Cargo.toml b/bizinikiwi/primitives/version/Cargo.toml index a3931ed2..3c160a31 100644 --- a/bizinikiwi/primitives/version/Cargo.toml +++ b/bizinikiwi/primitives/version/Cargo.toml @@ -55,6 +55,4 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-version-proc-macro/runtime-benchmarks", ] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] diff --git a/bizinikiwi/utils/pezframe/omni-bencher/Cargo.toml b/bizinikiwi/utils/pezframe/omni-bencher/Cargo.toml index 2e13606d..f506ca72 100644 --- a/bizinikiwi/utils/pezframe/omni-bencher/Cargo.toml +++ b/bizinikiwi/utils/pezframe/omni-bencher/Cargo.toml @@ -40,11 +40,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-statement-store/runtime-benchmarks", ] -std = [ - "pezframe-benchmarking-cli/std", - "pezsc-chain-spec/std", - "pezsc-cli/std", -] +std = ["pezframe-benchmarking-cli/std", "pezsc-chain-spec/std", "pezsc-cli/std"] try-runtime = [ "pezcumulus-test-runtime/try-runtime", "pezframe-benchmarking-cli/try-runtime", diff --git a/bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/Cargo.toml b/bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/Cargo.toml index a71de36c..ec2e7914 100644 --- a/bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/Cargo.toml +++ b/bizinikiwi/utils/pezframe/pez-generate-bags/node-runtime/Cargo.toml @@ -25,9 +25,7 @@ runtime-benchmarks = [ "pez-generate-bags/runtime-benchmarks", "pez-kitchensink-runtime/runtime-benchmarks", ] -std = [ - "pez-generate-bags/std", -] +std = ["pez-generate-bags/std"] try-runtime = [ "pez-generate-bags/try-runtime", "pez-kitchensink-runtime/try-runtime", diff --git a/bizinikiwi/utils/pezframe/remote-externalities/Cargo.toml b/bizinikiwi/utils/pezframe/remote-externalities/Cargo.toml index c0a191cd..4123d990 100644 --- a/bizinikiwi/utils/pezframe/remote-externalities/Cargo.toml +++ b/bizinikiwi/utils/pezframe/remote-externalities/Cargo.toml @@ -46,13 +46,7 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "pezsp-state-machine/runtime-benchmarks", ] -std = [ - "bizinikiwi-rpc-client/std", - "log/std", -] -try-runtime = [ - "bizinikiwi-rpc-client/try-runtime", - "pezsp-runtime/try-runtime", -] +std = ["bizinikiwi-rpc-client/std", "log/std"] +try-runtime = ["bizinikiwi-rpc-client/try-runtime", "pezsp-runtime/try-runtime"] serde = [] with-tracing = [] diff --git a/bizinikiwi/utils/pezframe/rpc/client/Cargo.toml b/bizinikiwi/utils/pezframe/rpc/client/Cargo.toml index 33b9ea96..7d177237 100644 --- a/bizinikiwi/utils/pezframe/rpc/client/Cargo.toml +++ b/bizinikiwi/utils/pezframe/rpc/client/Cargo.toml @@ -36,12 +36,6 @@ runtime-benchmarks = [ "pezsc-rpc-api/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "log/std", - "pezsc-rpc-api/std", -] -try-runtime = [ - "pezsc-rpc-api/try-runtime", - "pezsp-runtime/try-runtime", -] +std = ["log/std", "pezsc-rpc-api/std"] +try-runtime = ["pezsc-rpc-api/try-runtime", "pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/utils/pezframe/rpc/state-trie-migration-rpc/Cargo.toml b/bizinikiwi/utils/pezframe/rpc/state-trie-migration-rpc/Cargo.toml index 731fc1b8..19360ec6 100644 --- a/bizinikiwi/utils/pezframe/rpc/state-trie-migration-rpc/Cargo.toml +++ b/bizinikiwi/utils/pezframe/rpc/state-trie-migration-rpc/Cargo.toml @@ -44,11 +44,7 @@ runtime-benchmarks = [ "pezsp-state-machine/runtime-benchmarks", "pezsp-trie/runtime-benchmarks", ] -std = [ - "codec/std", - "pezsc-client-api/std", - "pezsc-rpc-api/std", -] +std = ["codec/std", "pezsc-client-api/std", "pezsc-rpc-api/std"] try-runtime = [ "pezsc-client-api/try-runtime", "pezsc-rpc-api/try-runtime", diff --git a/bizinikiwi/utils/pezframe/rpc/support/Cargo.toml b/bizinikiwi/utils/pezframe/rpc/support/Cargo.toml index 0839defb..d1a02707 100644 --- a/bizinikiwi/utils/pezframe/rpc/support/Cargo.toml +++ b/bizinikiwi/utils/pezframe/rpc/support/Cargo.toml @@ -38,9 +38,7 @@ runtime-benchmarks = [ "pezsc-rpc-api/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "pezsc-rpc-api/std", -] +std = ["pezsc-rpc-api/std"] try-runtime = [ "pezframe-support/try-runtime", "pezframe-system/try-runtime", diff --git a/bizinikiwi/utils/pezframe/storage-access-test-runtime/Cargo.toml b/bizinikiwi/utils/pezframe/storage-access-test-runtime/Cargo.toml index 868722ca..efd3ae4f 100644 --- a/bizinikiwi/utils/pezframe/storage-access-test-runtime/Cargo.toml +++ b/bizinikiwi/utils/pezframe/storage-access-test-runtime/Cargo.toml @@ -40,7 +40,5 @@ runtime-benchmarks = [ "pezsp-state-machine/runtime-benchmarks", "pezsp-trie/runtime-benchmarks", ] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] diff --git a/bizinikiwi/utils/prometheus/Cargo.toml b/bizinikiwi/utils/prometheus/Cargo.toml index b1b593f1..a0bc64c3 100644 --- a/bizinikiwi/utils/prometheus/Cargo.toml +++ b/bizinikiwi/utils/prometheus/Cargo.toml @@ -43,7 +43,5 @@ tokio = { features = [ ], workspace = true, default-features = true } [features] -std = [ - "log/std", -] +std = ["log/std"] serde = [] diff --git a/pezbridges/pezsnowbridge/primitives/ethereum/Cargo.toml b/pezbridges/pezsnowbridge/primitives/ethereum/Cargo.toml index 56c8555b..7fc272ce 100644 --- a/pezbridges/pezsnowbridge/primitives/ethereum/Cargo.toml +++ b/pezbridges/pezsnowbridge/primitives/ethereum/Cargo.toml @@ -67,9 +67,7 @@ runtime-benchmarks = [ "pezsp-io/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [ "alloy-consensus/serde", "alloy-core/serde", diff --git a/pezbridges/pezsnowbridge/primitives/merkle-tree/Cargo.toml b/pezbridges/pezsnowbridge/primitives/merkle-tree/Cargo.toml index 09db3c05..f54cac19 100644 --- a/pezbridges/pezsnowbridge/primitives/merkle-tree/Cargo.toml +++ b/pezbridges/pezsnowbridge/primitives/merkle-tree/Cargo.toml @@ -33,8 +33,6 @@ pezsp-tracing = { workspace = true, default-features = true } default = ["std"] std = ["codec/std", "pezsp-core/std", "pezsp-runtime/std", "scale-info/std"] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] with-tracing = [] diff --git a/pezbridges/primitives/xcm-bridge-hub-router/Cargo.toml b/pezbridges/primitives/xcm-bridge-hub-router/Cargo.toml index 80ff43c1..ef3f6a86 100644 --- a/pezbridges/primitives/xcm-bridge-hub-router/Cargo.toml +++ b/pezbridges/primitives/xcm-bridge-hub-router/Cargo.toml @@ -36,8 +36,5 @@ runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks", "xcm/runtime-benchmarks", ] -try-runtime = [ - "pezsp-runtime/try-runtime", - "xcm/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime", "xcm/try-runtime"] serde = [] diff --git a/pezbridges/relays/equivocation/Cargo.toml b/pezbridges/relays/equivocation/Cargo.toml index 7c7579cb..f27c7a24 100644 --- a/pezbridges/relays/equivocation/Cargo.toml +++ b/pezbridges/relays/equivocation/Cargo.toml @@ -29,8 +29,4 @@ runtime-benchmarks = [ "pezbp-header-pez-chain/runtime-benchmarks", "relay-utils/runtime-benchmarks", ] -std = [ - "pez-finality-relay/std", - "relay-utils/std", - "tracing/std", -] +std = ["pez-finality-relay/std", "relay-utils/std", "tracing/std"] diff --git a/pezbridges/relays/finality/Cargo.toml b/pezbridges/relays/finality/Cargo.toml index 1283e698..7ea5e72e 100644 --- a/pezbridges/relays/finality/Cargo.toml +++ b/pezbridges/relays/finality/Cargo.toml @@ -31,8 +31,5 @@ runtime-benchmarks = [ "pezbp-header-pez-chain/runtime-benchmarks", "relay-utils/runtime-benchmarks", ] -std = [ - "relay-utils/std", - "tracing/std", -] +std = ["relay-utils/std", "tracing/std"] serde = [] diff --git a/pezbridges/relays/teyrchains/Cargo.toml b/pezbridges/relays/teyrchains/Cargo.toml index f6746d73..b3d61141 100644 --- a/pezbridges/relays/teyrchains/Cargo.toml +++ b/pezbridges/relays/teyrchains/Cargo.toml @@ -34,9 +34,5 @@ runtime-benchmarks = [ "relay-bizinikiwi-client/runtime-benchmarks", "relay-utils/runtime-benchmarks", ] -std = [ - "relay-bizinikiwi-client/std", - "relay-utils/std", - "tracing/std", -] +std = ["relay-bizinikiwi-client/std", "relay-utils/std", "tracing/std"] serde = [] diff --git a/pezbridges/relays/utils/Cargo.toml b/pezbridges/relays/utils/Cargo.toml index 3c08925d..bbf1ba8f 100644 --- a/pezbridges/relays/utils/Cargo.toml +++ b/pezbridges/relays/utils/Cargo.toml @@ -20,11 +20,11 @@ async-trait = { workspace = true } backoff = { workspace = true } futures = { workspace = true } # Using reqwest with rustls-tls for pure Rust TLS (no OpenSSL dependency) -reqwest = { workspace = true } jsonpath_lib = { workspace = true } num-traits = { workspace = true, default-features = true } parking_lot = { workspace = true, default-features = true } pezsp-tracing = { workspace = true, default-features = true } +reqwest = { workspace = true } serde_json = { workspace = true, default-features = true } sysinfo = { workspace = true } thiserror = { workspace = true } @@ -44,13 +44,7 @@ runtime-benchmarks = [ "pezbp-runtime/runtime-benchmarks", "pezsp-runtime/runtime-benchmarks", ] -std = [ - "prometheus-endpoint/std", - "tracing/std", -] -try-runtime = [ - "pezbp-runtime/try-runtime", - "pezsp-runtime/try-runtime", -] +std = ["prometheus-endpoint/std", "tracing/std"] +try-runtime = ["pezbp-runtime/try-runtime", "pezsp-runtime/try-runtime"] serde = [] with-tracing = [] diff --git a/pezcumulus/pezkuwi-omni-node/Cargo.toml b/pezcumulus/pezkuwi-omni-node/Cargo.toml index 8746ae34..5795e0e2 100644 --- a/pezcumulus/pezkuwi-omni-node/Cargo.toml +++ b/pezcumulus/pezkuwi-omni-node/Cargo.toml @@ -32,6 +32,4 @@ bizinikiwi-build-script-utils = { workspace = true, default-features = true } default = [] runtime-benchmarks = ["pezkuwi-omni-node-lib/runtime-benchmarks"] try-runtime = ["pezkuwi-omni-node-lib/try-runtime"] -std = [ - "pezkuwi-omni-node-lib/std", -] +std = ["pezkuwi-omni-node-lib/std"] diff --git a/pezcumulus/pezkuwi-omni-node/lib/Cargo.toml b/pezcumulus/pezkuwi-omni-node/lib/Cargo.toml index 4c686b7d..6e5f1cae 100644 --- a/pezcumulus/pezkuwi-omni-node/lib/Cargo.toml +++ b/pezcumulus/pezkuwi-omni-node/lib/Cargo.toml @@ -102,7 +102,9 @@ pezcumulus-client-consensus-common = { workspace = true, default-features = true pezcumulus-client-consensus-proposer = { workspace = true, default-features = true } pezcumulus-client-consensus-relay-chain = { workspace = true, default-features = true } pezcumulus-client-service = { workspace = true, default-features = true } -pezcumulus-client-teyrchain-inherent = { workspace = true, default-features = true, features = ["mock"] } +pezcumulus-client-teyrchain-inherent = { workspace = true, default-features = true, features = [ + "mock", +] } pezcumulus-primitives-aura = { workspace = true, default-features = true } pezcumulus-primitives-core = { workspace = true, default-features = true } pezcumulus-relay-chain-interface = { workspace = true, default-features = true } diff --git a/pezcumulus/xcm/xcm-pez-emulator/Cargo.toml b/pezcumulus/xcm/xcm-pez-emulator/Cargo.toml index 58a015dd..4f2a792c 100644 --- a/pezcumulus/xcm/xcm-pez-emulator/Cargo.toml +++ b/pezcumulus/xcm/xcm-pez-emulator/Cargo.toml @@ -72,9 +72,7 @@ runtime-benchmarks = [ "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] -std = [ - "xcm-pez-simulator/std", -] +std = ["xcm-pez-simulator/std"] try-runtime = [ "pezcumulus-pezpallet-teyrchain-system/try-runtime", "pezcumulus-primitives-core/try-runtime", diff --git a/pezcumulus/zombienet/zombienet-sdk-helpers/Cargo.toml b/pezcumulus/zombienet/zombienet-sdk-helpers/Cargo.toml index 7d7bfc96..184ac244 100644 --- a/pezcumulus/zombienet/zombienet-sdk-helpers/Cargo.toml +++ b/pezcumulus/zombienet/zombienet-sdk-helpers/Cargo.toml @@ -23,14 +23,14 @@ pezkuwi-zombienet-configuration = { workspace = true } [features] runtime-benchmarks = [ - "pezcumulus-primitives-core/runtime-benchmarks", - "pezkuwi-primitives/runtime-benchmarks", - "pezkuwi-zombienet-sdk/runtime-benchmarks" + "pezcumulus-primitives-core/runtime-benchmarks", + "pezkuwi-primitives/runtime-benchmarks", + "pezkuwi-zombienet-sdk/runtime-benchmarks", ] std = [ - "log/std", - "codec/std", - "pezkuwi-zombienet-configuration/std", - "pezkuwi-zombienet-sdk/std" + "log/std", + "codec/std", + "pezkuwi-zombienet-configuration/std", + "pezkuwi-zombienet-sdk/std", ] serde = [] diff --git a/pezcumulus/zombienet/zombienet-sdk/Cargo.toml b/pezcumulus/zombienet/zombienet-sdk/Cargo.toml index 011af3ef..86c88e6b 100644 --- a/pezcumulus/zombienet/zombienet-sdk/Cargo.toml +++ b/pezcumulus/zombienet/zombienet-sdk/Cargo.toml @@ -33,24 +33,24 @@ rstest = { workspace = true } [features] zombie-ci = [] runtime-benchmarks = [ - "pezcumulus-zombienet-sdk-helpers/runtime-benchmarks", - "pezkuwi-primitives/runtime-benchmarks", - "pezsc-statement-store/runtime-benchmarks", - "pezsp-keyring/runtime-benchmarks", - "pezsp-statement-store/runtime-benchmarks", - "pezkuwi-zombienet-orchestrator/runtime-benchmarks", - "pezkuwi-zombienet-sdk/runtime-benchmarks" + "pezcumulus-zombienet-sdk-helpers/runtime-benchmarks", + "pezkuwi-primitives/runtime-benchmarks", + "pezsc-statement-store/runtime-benchmarks", + "pezsp-keyring/runtime-benchmarks", + "pezsp-statement-store/runtime-benchmarks", + "pezkuwi-zombienet-orchestrator/runtime-benchmarks", + "pezkuwi-zombienet-sdk/runtime-benchmarks", ] std = [ - "anyhow/std", - "log/std", - "codec/std", - "pezcumulus-zombienet-sdk-helpers/std", - "pezkuwi-zombienet-configuration/std", - "pezkuwi-zombienet-orchestrator/std", - "pezkuwi-zombienet-sdk/std", - "pezsc-statement-store/std", - "serde/std", - "serde_json/std" + "anyhow/std", + "log/std", + "codec/std", + "pezcumulus-zombienet-sdk-helpers/std", + "pezkuwi-zombienet-configuration/std", + "pezkuwi-zombienet-orchestrator/std", + "pezkuwi-zombienet-sdk/std", + "pezsc-statement-store/std", + "serde/std", + "serde_json/std", ] serde = [] diff --git a/pezkuwi/core-primitives/Cargo.toml b/pezkuwi/core-primitives/Cargo.toml index b99674ca..ee00f947 100644 --- a/pezkuwi/core-primitives/Cargo.toml +++ b/pezkuwi/core-primitives/Cargo.toml @@ -22,7 +22,5 @@ scale-info = { features = ["derive"], workspace = true } default = ["std"] std = ["codec/std", "pezsp-core/std", "pezsp-runtime/std", "scale-info/std"] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] diff --git a/pezkuwi/erasure-coding/Cargo.toml b/pezkuwi/erasure-coding/Cargo.toml index 87a74856..a8b45695 100644 --- a/pezkuwi/erasure-coding/Cargo.toml +++ b/pezkuwi/erasure-coding/Cargo.toml @@ -35,8 +35,5 @@ runtime-benchmarks = [ "pezkuwi-primitives/runtime-benchmarks", "pezsp-trie/runtime-benchmarks", ] -std = [ - "codec/std", - "pezkuwi-pez-node-primitives/std", -] +std = ["codec/std", "pezkuwi-pez-node-primitives/std"] serde = [] diff --git a/pezkuwi/erasure-coding/fuzzer/Cargo.toml b/pezkuwi/erasure-coding/fuzzer/Cargo.toml index 3835acc0..2ad49553 100644 --- a/pezkuwi/erasure-coding/fuzzer/Cargo.toml +++ b/pezkuwi/erasure-coding/fuzzer/Cargo.toml @@ -33,7 +33,4 @@ runtime-benchmarks = [ "pezkuwi-pez-node-primitives/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", ] -std = [ - "pezkuwi-erasure-coding/std", - "pezkuwi-pez-node-primitives/std", -] +std = ["pezkuwi-erasure-coding/std", "pezkuwi-pez-node-primitives/std"] diff --git a/pezkuwi/node/core/pvf/prepare-worker/Cargo.toml b/pezkuwi/node/core/pvf/prepare-worker/Cargo.toml index c9fcaabb..009fb908 100644 --- a/pezkuwi/node/core/pvf/prepare-worker/Cargo.toml +++ b/pezkuwi/node/core/pvf/prepare-worker/Cargo.toml @@ -53,9 +53,5 @@ runtime-benchmarks = [ "pezkuwi-primitives/runtime-benchmarks", "pezkuwichain-runtime/runtime-benchmarks", ] -std = [ - "codec/std", - "gum/std", - "pezkuwi-node-core-pvf-common/std", -] +std = ["codec/std", "gum/std", "pezkuwi-node-core-pvf-common/std"] serde = [] diff --git a/pezkuwi/node/subsystem/Cargo.toml b/pezkuwi/node/subsystem/Cargo.toml index 9330c684..1b093ba1 100644 --- a/pezkuwi/node/subsystem/Cargo.toml +++ b/pezkuwi/node/subsystem/Cargo.toml @@ -21,7 +21,4 @@ runtime-benchmarks = [ "pezkuwi-node-subsystem-types/runtime-benchmarks", "pezkuwi-overseer/runtime-benchmarks", ] -std = [ - "pezkuwi-node-subsystem-types/std", - "pezkuwi-overseer/std", -] +std = ["pezkuwi-node-subsystem-types/std", "pezkuwi-overseer/std"] diff --git a/pezkuwi/node/zombienet-backchannel/Cargo.toml b/pezkuwi/node/zombienet-backchannel/Cargo.toml index 66ef2eb4..296d8909 100644 --- a/pezkuwi/node/zombienet-backchannel/Cargo.toml +++ b/pezkuwi/node/zombienet-backchannel/Cargo.toml @@ -31,7 +31,5 @@ tokio-tungstenite = { workspace = true } [features] runtime-benchmarks = ["gum/runtime-benchmarks"] -std = [ - "gum/std", -] +std = ["gum/std"] serde = [] diff --git a/pezkuwi/runtime/common/pez-slot-range-helper/Cargo.toml b/pezkuwi/runtime/common/pez-slot-range-helper/Cargo.toml index 07622862..103b247b 100644 --- a/pezkuwi/runtime/common/pez-slot-range-helper/Cargo.toml +++ b/pezkuwi/runtime/common/pez-slot-range-helper/Cargo.toml @@ -22,7 +22,5 @@ pezsp-runtime = { workspace = true } default = ["std"] std = ["codec/std", "pezsp-runtime/std"] runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"] -try-runtime = [ - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-runtime/try-runtime"] serde = [] diff --git a/pezkuwi/statement-table/Cargo.toml b/pezkuwi/statement-table/Cargo.toml index 496f7f81..a71a0263 100644 --- a/pezkuwi/statement-table/Cargo.toml +++ b/pezkuwi/statement-table/Cargo.toml @@ -22,8 +22,5 @@ runtime-benchmarks = [ "gum/runtime-benchmarks", "pezkuwi-primitives/runtime-benchmarks", ] -std = [ - "codec/std", - "gum/std", -] +std = ["codec/std", "gum/std"] serde = [] diff --git a/pezkuwi/teyrchain/test-teyrchains/halt/Cargo.toml b/pezkuwi/teyrchain/test-teyrchains/halt/Cargo.toml index d2727552..e97da3d9 100644 --- a/pezkuwi/teyrchain/test-teyrchains/halt/Cargo.toml +++ b/pezkuwi/teyrchain/test-teyrchains/halt/Cargo.toml @@ -20,9 +20,5 @@ rustversion = { workspace = true } [features] default = ["std"] -std = [ - "bizinikiwi-wasm-builder/std", -] -runtime-benchmarks = [ - "bizinikiwi-wasm-builder/runtime-benchmarks", -] +std = ["bizinikiwi-wasm-builder/std"] +runtime-benchmarks = ["bizinikiwi-wasm-builder/runtime-benchmarks"] diff --git a/pezkuwi/utils/pez-generate-bags/Cargo.toml b/pezkuwi/utils/pez-generate-bags/Cargo.toml index 303e0c2e..29405fc7 100644 --- a/pezkuwi/utils/pez-generate-bags/Cargo.toml +++ b/pezkuwi/utils/pez-generate-bags/Cargo.toml @@ -24,10 +24,5 @@ runtime-benchmarks = [ "pez-generate-bags/runtime-benchmarks", "zagros-runtime/runtime-benchmarks", ] -std = [ - "pez-generate-bags/std", -] -try-runtime = [ - "pez-generate-bags/try-runtime", - "zagros-runtime/try-runtime", -] +std = ["pez-generate-bags/std"] +try-runtime = ["pez-generate-bags/try-runtime", "zagros-runtime/try-runtime"] diff --git a/pezkuwi/utils/remote-ext-tests/bags-list/Cargo.toml b/pezkuwi/utils/remote-ext-tests/bags-list/Cargo.toml index 03b43b7b..4b8f8e1d 100644 --- a/pezkuwi/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/pezkuwi/utils/remote-ext-tests/bags-list/Cargo.toml @@ -33,10 +33,7 @@ runtime-benchmarks = [ "zagros-runtime-constants/runtime-benchmarks", "zagros-runtime/runtime-benchmarks", ] -std = [ - "log/std", - "pezpallet-bags-list-remote-tests/std", -] +std = ["log/std", "pezpallet-bags-list-remote-tests/std"] try-runtime = [ "pezframe-system/try-runtime", "pezpallet-bags-list-remote-tests/try-runtime", diff --git a/pezkuwi/xcm/docs/Cargo.toml b/pezkuwi/xcm/docs/Cargo.toml index bde77c06..2f3b0f0e 100644 --- a/pezkuwi/xcm/docs/Cargo.toml +++ b/pezkuwi/xcm/docs/Cargo.toml @@ -55,10 +55,7 @@ runtime-benchmarks = [ "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] -std = [ - "scale-info/std", - "xcm-pez-simulator/std", -] +std = ["scale-info/std", "xcm-pez-simulator/std"] try-runtime = [ "pezframe-support/try-runtime", "pezframe-system/try-runtime", diff --git a/pezkuwi/xcm/procedural/Cargo.toml b/pezkuwi/xcm/procedural/Cargo.toml index a26afbee..2064bc88 100644 --- a/pezkuwi/xcm/procedural/Cargo.toml +++ b/pezkuwi/xcm/procedural/Cargo.toml @@ -34,12 +34,7 @@ runtime-benchmarks = [ "pezframe-support/runtime-benchmarks", "xcm/runtime-benchmarks", ] -std = [ - "pezframe-support/std", -] -try-runtime = [ - "pezframe-support/try-runtime", - "xcm/try-runtime", -] +std = ["pezframe-support/std"] +try-runtime = ["pezframe-support/try-runtime", "xcm/try-runtime"] experimental = [] tuples-96 = [] diff --git a/pezkuwi/xcm/xcm-pez-simulator/Cargo.toml b/pezkuwi/xcm/xcm-pez-simulator/Cargo.toml index 2ae7bbdd..1e188d8b 100644 --- a/pezkuwi/xcm/xcm-pez-simulator/Cargo.toml +++ b/pezkuwi/xcm/xcm-pez-simulator/Cargo.toml @@ -44,9 +44,7 @@ runtime-benchmarks = [ "xcm-executor/runtime-benchmarks", "xcm/runtime-benchmarks", ] -std = [ - "scale-info/std", -] +std = ["scale-info/std"] try-runtime = [ "pezframe-support/try-runtime", "pezframe-system/try-runtime", diff --git a/pezkuwi/xcm/xcm-pez-simulator/example/Cargo.toml b/pezkuwi/xcm/xcm-pez-simulator/example/Cargo.toml index 1a939d75..d55e2781 100644 --- a/pezkuwi/xcm/xcm-pez-simulator/example/Cargo.toml +++ b/pezkuwi/xcm/xcm-pez-simulator/example/Cargo.toml @@ -59,10 +59,7 @@ runtime-benchmarks = [ "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] -std = [ - "tracing/std", - "xcm-pez-simulator/std", -] +std = ["tracing/std", "xcm-pez-simulator/std"] try-runtime = [ "pezframe-support/try-runtime", "pezframe-system/try-runtime", diff --git a/pezkuwi/xcm/xcm-pez-simulator/fuzzer/Cargo.toml b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/Cargo.toml index fc4f9418..05811fc0 100644 --- a/pezkuwi/xcm/xcm-pez-simulator/fuzzer/Cargo.toml +++ b/pezkuwi/xcm/xcm-pez-simulator/fuzzer/Cargo.toml @@ -80,9 +80,7 @@ runtime-benchmarks = [ "xcm-pez-simulator/runtime-benchmarks", "xcm/runtime-benchmarks", ] -std = [ - "xcm-pez-simulator/std", -] +std = ["xcm-pez-simulator/std"] serde = [] experimental = [] with-tracing = [] diff --git a/scripts/generate-umbrella.py b/scripts/generate-umbrella.py index a6600653..6dc17475 100644 --- a/scripts/generate-umbrella.py +++ b/scripts/generate-umbrella.py @@ -201,8 +201,12 @@ def delete_umbrella(path): umbrella_dir = os.path.join(path, "umbrella") if os.path.exists(umbrella_dir): print(f"Deleting {umbrella_dir}") - os.remove(os.path.join(umbrella_dir, "Cargo.toml")) - shutil.rmtree(os.path.join(umbrella_dir, "src")) + cargo_toml = os.path.join(umbrella_dir, "Cargo.toml") + if os.path.exists(cargo_toml): + os.remove(cargo_toml) + src_dir = os.path.join(umbrella_dir, "src") + if os.path.exists(src_dir): + shutil.rmtree(src_dir) """ Create the umbrella crate and add it to the workspace. diff --git a/templates/teyrchain/node/Cargo.toml b/templates/teyrchain/node/Cargo.toml index 3c628917..480bd852 100644 --- a/templates/teyrchain/node/Cargo.toml +++ b/templates/teyrchain/node/Cargo.toml @@ -27,7 +27,12 @@ serde = { features = ["derive"], workspace = true, default-features = true } # Direct dependency needed (not through umbrella due to macro visibility issues) pezsp-runtime = { workspace = true } -pezkuwi-sdk = { workspace = true, features = ["node", "pezkuwi-primitives", "pezsp-keystore", "pezsp-timestamp"] } +pezkuwi-sdk = { workspace = true, features = [ + "node", + "pezkuwi-primitives", + "pezsp-keystore", + "pezsp-timestamp", +] } teyrchain-template-runtime = { workspace = true } diff --git a/templates/zombienet/Cargo.toml b/templates/zombienet/Cargo.toml index 245792ee..ec7bc5fa 100644 --- a/templates/zombienet/Cargo.toml +++ b/templates/zombienet/Cargo.toml @@ -18,10 +18,5 @@ tokio = { workspace = true, features = ["rt-multi-thread"] } [features] zombienet = [] -std = [ - "anyhow/std", - "pezkuwi-zombienet-sdk/std", -] -runtime-benchmarks = [ - "pezkuwi-zombienet-sdk/runtime-benchmarks", -] +std = ["anyhow/std", "pezkuwi-zombienet-sdk/std"] +runtime-benchmarks = ["pezkuwi-zombienet-sdk/runtime-benchmarks"] diff --git a/vendor/pezkuwi-subxt/codegen/Cargo.toml b/vendor/pezkuwi-subxt/codegen/Cargo.toml index 698407bc..7e3dbcca 100644 --- a/vendor/pezkuwi-subxt/codegen/Cargo.toml +++ b/vendor/pezkuwi-subxt/codegen/Cargo.toml @@ -24,7 +24,9 @@ std = [ serde = [] [dependencies] -codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] } +codec = { package = "parity-scale-codec", workspace = true, features = [ + "derive", +] } frame-metadata = { workspace = true, optional = true } heck = { workspace = true } pezkuwi-subxt-metadata = { workspace = true } diff --git a/vendor/pezkuwi-subxt/core/Cargo.toml b/vendor/pezkuwi-subxt/core/Cargo.toml index 04c516f3..43a87848 100644 --- a/vendor/pezkuwi-subxt/core/Cargo.toml +++ b/vendor/pezkuwi-subxt/core/Cargo.toml @@ -45,7 +45,9 @@ runtime-benchmarks = [ ] [dependencies] -codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = ["derive"] } +codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = [ + "derive", +] } derive-where = { workspace = true } frame-decode = { workspace = true } frame-metadata = { workspace = true, default-features = false } @@ -54,12 +56,24 @@ hex = { workspace = true } pezkuwi-subxt-metadata = { workspace = true, default-features = false } pezsp-crypto-hashing = { workspace = true } scale-bits = { workspace = true, default-features = false } -scale-decode = { workspace = true, default-features = false, features = ["derive", "primitive-types"] } -scale-encode = { workspace = true, default-features = false, features = ["bits", "derive", "primitive-types"] } -scale-info = { workspace = true, default-features = false, features = ["bit-vec"] } +scale-decode = { workspace = true, default-features = false, features = [ + "derive", + "primitive-types", +] } +scale-encode = { workspace = true, default-features = false, features = [ + "bits", + "derive", + "primitive-types", +] } +scale-info = { workspace = true, default-features = false, features = [ + "bit-vec", +] } scale-value = { workspace = true, default-features = false } serde = { workspace = true, default-features = false, features = ["derive"] } -serde_json = { workspace = true, default-features = false, features = ["alloc", "raw_value"] } +serde_json = { workspace = true, default-features = false, features = [ + "alloc", + "raw_value", +] } thiserror = { workspace = true } tracing = { workspace = true, default-features = false } @@ -69,7 +83,11 @@ blake2 = { workspace = true } # Provides some deserialization, types like U256/H256 and hashing impls like twox/blake256: impl-serde = { workspace = true, default-features = false } -primitive-types = { workspace = true, default-features = false, features = ["codec", "scale-info", "serde_no_std"] } +primitive-types = { workspace = true, default-features = false, features = [ + "codec", + "scale-info", + "serde_no_std", +] } # AccountId20 keccak-hash = { workspace = true } diff --git a/vendor/pezkuwi-subxt/metadata/Cargo.toml b/vendor/pezkuwi-subxt/metadata/Cargo.toml index 41814b2b..6387eadc 100644 --- a/vendor/pezkuwi-subxt/metadata/Cargo.toml +++ b/vendor/pezkuwi-subxt/metadata/Cargo.toml @@ -38,9 +38,14 @@ legacy = [ serde = [] [dependencies] -codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = ["derive"] } +codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = [ + "derive", +] } frame-decode = { workspace = true } -frame-metadata = { workspace = true, default-features = false, features = ["current", "decode"] } +frame-metadata = { workspace = true, default-features = false, features = [ + "current", + "decode", +] } hashbrown = { workspace = true } pezsp-crypto-hashing = { workspace = true } scale-info = { workspace = true, default-features = false } diff --git a/vendor/pezkuwi-subxt/rpcs/Cargo.toml b/vendor/pezkuwi-subxt/rpcs/Cargo.toml index deebf558..5beeb2cf 100644 --- a/vendor/pezkuwi-subxt/rpcs/Cargo.toml +++ b/vendor/pezkuwi-subxt/rpcs/Cargo.toml @@ -22,12 +22,7 @@ jsonrpsee = ["dep:jsonrpsee", "dep:tokio-util"] unstable-light-client = ["dep:pezkuwi-subxt-lightclient"] -reconnecting-rpc-client = [ - "dep:finito", - "dep:tokio", - "jsonrpsee", - "tokio/sync", -] +reconnecting-rpc-client = ["dep:finito", "dep:tokio", "jsonrpsee", "tokio/sync"] mock-rpc-client = ["dep:tokio", "tokio/sync"] @@ -64,9 +59,7 @@ std = [ "tracing/std", ] serde = [] -runtime-benchmarks = [ - "pezkuwi-subxt-core?/runtime-benchmarks", -] +runtime-benchmarks = ["pezkuwi-subxt-core?/runtime-benchmarks"] [dependencies] codec = { workspace = true } diff --git a/vendor/pezkuwi-subxt/signer/Cargo.toml b/vendor/pezkuwi-subxt/signer/Cargo.toml index 359492ce..deb60685 100644 --- a/vendor/pezkuwi-subxt/signer/Cargo.toml +++ b/vendor/pezkuwi-subxt/signer/Cargo.toml @@ -110,7 +110,10 @@ zeroize = { workspace = true } # These are used if the pezkuwi-js-compat feature is enabled base64 = { workspace = true, optional = true, features = ["alloc"] } -crypto_secretbox = { workspace = true, optional = true, features = ["alloc", "salsa20"] } +crypto_secretbox = { workspace = true, optional = true, features = [ + "alloc", + "salsa20", +] } scrypt = { workspace = true, default-features = false, optional = true } serde = { workspace = true, optional = true } serde_json = { workspace = true, optional = true } diff --git a/vendor/pezkuwi-subxt/subxt/Cargo.toml b/vendor/pezkuwi-subxt/subxt/Cargo.toml index d98c7630..aa7a77f8 100644 --- a/vendor/pezkuwi-subxt/subxt/Cargo.toml +++ b/vendor/pezkuwi-subxt/subxt/Cargo.toml @@ -91,10 +91,7 @@ std = [ "serde_json/std", "tracing/std", ] -try-runtime = [ - "pezsp-keyring/try-runtime", - "pezsp-runtime/try-runtime", -] +try-runtime = ["pezsp-keyring/try-runtime", "pezsp-runtime/try-runtime"] serde = [] runtime-benchmarks = [ "pezkuwi-subxt-core/runtime-benchmarks", @@ -107,7 +104,9 @@ runtime-benchmarks = [ [dependencies] async-trait = { workspace = true } -codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] } +codec = { package = "parity-scale-codec", workspace = true, features = [ + "derive", +] } derive-where = { workspace = true } either = { workspace = true } frame-metadata = { workspace = true } @@ -126,10 +125,16 @@ tracing = { workspace = true } web-time = { workspace = true } # Provides some deserialization, types like U256/H256 and hashing impls like twox/blake256: -primitive-types = { workspace = true, features = ["codec", "scale-info", "serde"] } +primitive-types = { workspace = true, features = [ + "codec", + "scale-info", + "serde", +] } # Included if the "jsonrpsee" feature is enabled. -jsonrpsee = { workspace = true, optional = true, features = ["jsonrpsee-types"] } +jsonrpsee = { workspace = true, optional = true, features = [ + "jsonrpsee-types", +] } # Other pezkuwi-subxt crates we depend on. pezkuwi-subxt-core = { workspace = true, features = ["std"] } @@ -154,13 +159,21 @@ wasm-bindgen-futures = { workspace = true, optional = true } assert_matches = { workspace = true } bitvec = { workspace = true } codec = { workspace = true, features = ["bit-vec", "derive"] } -pezkuwi-subxt-rpcs = { workspace = true, features = ["mock-rpc-client", "subxt"] } +pezkuwi-subxt-rpcs = { workspace = true, features = [ + "mock-rpc-client", + "subxt", +] } pezkuwi-subxt-signer = { workspace = true, features = ["unstable-eth"] } pezsp-core = { workspace = true, features = ["std"] } pezsp-keyring = { workspace = true, features = ["std"] } pezsp-runtime = { workspace = true, features = ["std"] } scale-info = { workspace = true, features = ["bit-vec"] } -tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync", "time"] } +tokio = { workspace = true, features = [ + "macros", + "rt-multi-thread", + "sync", + "time", +] } # Tracing subscriber is useful for light-client examples to ensure that # the `bootNodes` and chain spec are configured correctly. If all is fine, then # the light-client will emit INFO logs with diff --git a/vendor/pezkuwi-subxt/utils/fetch-metadata/Cargo.toml b/vendor/pezkuwi-subxt/utils/fetch-metadata/Cargo.toml index c45980a5..28e6f4f2 100644 --- a/vendor/pezkuwi-subxt/utils/fetch-metadata/Cargo.toml +++ b/vendor/pezkuwi-subxt/utils/fetch-metadata/Cargo.toml @@ -15,21 +15,23 @@ description = "subxt utility to fetch metadata" [features] url = ["dep:jsonrpsee", "dep:tokio", "dep:url", "frame-metadata"] -std = [ - "codec/std", - "frame-metadata?/std", - "hex/std", -] +std = ["codec/std", "frame-metadata?/std", "hex/std"] serde = [] [dependencies] -codec = { package = "parity-scale-codec", workspace = true, features = ["derive", "std"] } +codec = { package = "parity-scale-codec", workspace = true, features = [ + "derive", + "std", +] } hex = { workspace = true, features = ["std"] } thiserror = { workspace = true } # Optional dependencies for the `url` feature. frame-metadata = { workspace = true, optional = true, features = ["std"] } -jsonrpsee = { workspace = true, features = ["http-client", "ws-client"], optional = true } +jsonrpsee = { workspace = true, features = [ + "http-client", + "ws-client", +], optional = true } tokio = { workspace = true, features = ["rt-multi-thread"], optional = true } url = { workspace = true, optional = true } diff --git a/vendor/pezkuwi-subxt/utils/strip-metadata/Cargo.toml b/vendor/pezkuwi-subxt/utils/strip-metadata/Cargo.toml index 510f4ef4..d59fcb7f 100644 --- a/vendor/pezkuwi-subxt/utils/strip-metadata/Cargo.toml +++ b/vendor/pezkuwi-subxt/utils/strip-metadata/Cargo.toml @@ -30,10 +30,5 @@ default-features = true workspace = true [features] -std = [ - "codec/std", - "either/std", - "frame-metadata/std", - "scale-info/std", -] +std = ["codec/std", "either/std", "frame-metadata/std", "scale-info/std"] serde = [] diff --git a/vendor/pezkuwi-zombienet-sdk/crates/configuration/Cargo.toml b/vendor/pezkuwi-zombienet-sdk/crates/configuration/Cargo.toml index 9746e987..cd6697f8 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/configuration/Cargo.toml +++ b/vendor/pezkuwi-zombienet-sdk/crates/configuration/Cargo.toml @@ -28,10 +28,5 @@ url = { workspace = true, features = ["serde"] } support = { workspace = true } [features] -std = [ - "anyhow/std", - "serde/std", - "support/std", - "tracing/std", -] +std = ["anyhow/std", "serde/std", "support/std", "tracing/std"] serde = [] diff --git a/vendor/pezkuwi-zombienet-sdk/crates/configuration/testing/snapshots/0002-overridden-defaults.toml b/vendor/pezkuwi-zombienet-sdk/crates/configuration/testing/snapshots/0002-overridden-defaults.toml index 66fff38a..5b3a512f 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/configuration/testing/snapshots/0002-overridden-defaults.toml +++ b/vendor/pezkuwi-zombienet-sdk/crates/configuration/testing/snapshots/0002-overridden-defaults.toml @@ -8,10 +8,7 @@ chain = "polkadot" default_command = "polkadot" default_image = "docker.io/parity/polkadot:latest" default_db_snapshot = "https://storage.com/path/to/db_snapshot.tgz" -default_args = [ - "--flag", - "-name=value", -] +default_args = ["--flag", "-name=value"] [relaychain.default_resources.requests] memory = "500M" diff --git a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/Cargo.toml b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/Cargo.toml index fe501490..551109b5 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/Cargo.toml +++ b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/Cargo.toml @@ -31,7 +31,9 @@ rand = { workspace = true } regex = { workspace = true } reqwest = { workspace = true } serde = { workspace = true, features = ["derive"] } -serde_json = { workspace = true, default-features = true, features = ["arbitrary_precision"] } +serde_json = { workspace = true, default-features = true, features = [ + "arbitrary_precision", +] } sha2 = { workspace = true, default-features = false } thiserror = { workspace = true } tokio = { workspace = true, features = ["time"] } diff --git a/vendor/pezkuwi-zombienet-sdk/crates/support/Cargo.toml b/vendor/pezkuwi-zombienet-sdk/crates/support/Cargo.toml index bd2518cc..c4c1d974 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/support/Cargo.toml +++ b/vendor/pezkuwi-zombienet-sdk/crates/support/Cargo.toml @@ -28,9 +28,5 @@ tracing = { workspace = true } uuid = { workspace = true, features = ["v4"] } [features] -std = [ - "anyhow/std", - "rand/std", - "tracing/std", -] +std = ["anyhow/std", "rand/std", "tracing/std"] serde = [] diff --git a/vendor/ss58-registry/Cargo.toml b/vendor/ss58-registry/Cargo.toml index 9a87add7..6d4afe0a 100644 --- a/vendor/ss58-registry/Cargo.toml +++ b/vendor/ss58-registry/Cargo.toml @@ -23,6 +23,11 @@ num-format = { version = "0.4.3", optional = true } Inflector = { version = "0.11.4", default-features = false } proc-macro2 = "1.0.36" quote = { version = "1.0.15", default-features = false } -serde = { version = "1.0.136", default-features = false, features = ["derive", "std"] } -serde_json = { version = "1.0.79", default-features = false, features = ["std"] } +serde = { version = "1.0.136", default-features = false, features = [ + "derive", + "std", +] } +serde_json = { version = "1.0.79", default-features = false, features = [ + "std", +] } unicode-xid = "0.2.2"