Format and Sort features in Cargo.toml files (#14803)

* CI: Add feature sorting check

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Sort all features

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add some mistakes

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Revert "Add some mistakes"

This reverts commit b2b1099f979f6decb22d09b46689c1554bb72e81.

* CI job naming

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add oneliner formatting

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Explain tool

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Use latest version

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Better erorr message

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Format after master merge

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Use --check option

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Messed up the merge commit...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-08-23 16:21:52 +02:00
committed by GitHub
parent 878c562cd4
commit 8b9455465b
161 changed files with 1093 additions and 1171 deletions
+6 -6
View File
@@ -70,19 +70,19 @@ substrate-build-script-utils = { version = "3.0.0", path = "../../../utils/build
default = []
# Dependencies that are only required if runtime benchmarking should be build.
runtime-benchmarks = [
"node-template-runtime/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"node-template-runtime/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
# Enable features that allow the runtime to be tried and debugged. Name might be subject to change
# in the near future.
try-runtime = [
"node-template-runtime/try-runtime",
"try-runtime-cli/try-runtime",
"frame-system/try-runtime",
"node-template-runtime/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
"try-runtime-cli/try-runtime",
]
@@ -27,7 +27,7 @@ sp-io = { version = "23.0.0", path = "../../../../primitives/io" }
sp-runtime = { version = "24.0.0", path = "../../../../primitives/runtime" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -36,16 +36,16 @@ std = [
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std"
"sp-runtime/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -54,18 +54,17 @@ pallet-template = { version = "4.0.0-dev", default-features = false, path = "../
substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder", optional = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-try-runtime?/std",
"frame-system-benchmarking?/std",
"frame-benchmarking?/std",
"codec/std",
"scale-info/std",
"frame-benchmarking?/std",
"frame-executive/std",
"frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"frame-try-runtime/std",
"frame-try-runtime?/std",
"pallet-aura/std",
"pallet-balances/std",
"pallet-grandpa/std",
@@ -74,6 +73,7 @@ std = [
"pallet-timestamp/std",
"pallet-transaction-payment-rpc-runtime-api/std",
"pallet-transaction-payment/std",
"scale-info/std",
"sp-api/std",
"sp-block-builder/std",
"sp-consensus-aura/std",
@@ -101,10 +101,10 @@ runtime-benchmarks = [
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-try-runtime/try-runtime",
"frame-executive/try-runtime",
"frame-system/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime",
"pallet-aura/try-runtime",
"pallet-balances/try-runtime",
"pallet-grandpa/try-runtime",
@@ -112,6 +112,6 @@ try-runtime = [
"pallet-template/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
experimental = ["pallet-aura/experimental"]
experimental = [ "pallet-aura/experimental" ]
+11 -11
View File
@@ -147,22 +147,22 @@ pallet-balances = { version = "4.0.0-dev", path = "../../../frame/balances" }
sc-storage-monitor = { version = "0.1.0", path = "../../../client/storage-monitor" }
[features]
default = ["cli"]
default = [ "cli" ]
cli = [
"node-inspect",
"sc-cli",
"frame-benchmarking-cli",
"substrate-frame-cli",
"sc-service/rocksdb",
"clap",
"clap_complete",
"frame-benchmarking-cli",
"node-inspect",
"sc-cli",
"sc-service/rocksdb",
"substrate-build-script-utils",
"substrate-frame-cli",
"try-runtime-cli",
]
runtime-benchmarks = [
"kitchensink-runtime/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"kitchensink-runtime/runtime-benchmarks",
"pallet-asset-tx-payment/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
@@ -170,14 +170,13 @@ runtime-benchmarks = [
"pallet-timestamp/runtime-benchmarks",
"sc-client-db/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
# Enable features that allow the runtime to be tried and debugged. Name might be subject to change
# in the near future.
try-runtime = [
"kitchensink-runtime/try-runtime",
"try-runtime-cli/try-runtime",
"frame-system/try-runtime",
"kitchensink-runtime/try-runtime",
"pallet-asset-conversion-tx-payment/try-runtime",
"pallet-asset-tx-payment/try-runtime",
"pallet-assets/try-runtime",
@@ -185,7 +184,8 @@ try-runtime = [
"pallet-im-online/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime",
"substrate-cli-test-utils/try-runtime"
"substrate-cli-test-utils/try-runtime",
"try-runtime-cli/try-runtime",
]
[[bench]]
+2 -5
View File
@@ -17,8 +17,5 @@ sp-core = { version = "21.0.0", default-features = false, path = "../../../primi
sp-runtime = { version = "24.0.0", default-features = false, path = "../../../primitives/runtime" }
[features]
default = ["std"]
std = [
"sp-core/std",
"sp-runtime/std",
]
default = [ "std" ]
std = [ "sp-core/std", "sp-runtime/std" ]
+93 -93
View File
@@ -132,118 +132,121 @@ pallet-whitelist = { version = "4.0.0-dev", default-features = false, path = "..
substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder", optional = true }
[features]
default = ["std"]
with-tracing = ["frame-executive/with-tracing"]
default = [ "std" ]
with-tracing = [ "frame-executive/with-tracing" ]
std = [
"pallet-whitelist/std",
"pallet-offences-benchmarking?/std",
"pallet-election-provider-support-benchmarking?/std",
"pallet-asset-conversion-tx-payment/std",
"pallet-asset-tx-payment/std",
"frame-system-benchmarking?/std",
"codec/std",
"frame-benchmarking-pallet-pov/std",
"frame-benchmarking/std",
"frame-election-provider-support/std",
"sp-authority-discovery/std",
"frame-executive/std",
"frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"frame-try-runtime?/std",
"log/std",
"node-primitives/std",
"pallet-alliance/std",
"pallet-asset-conversion-tx-payment/std",
"pallet-asset-conversion/std",
"pallet-asset-rate/std",
"pallet-asset-tx-payment/std",
"pallet-assets/std",
"pallet-authority-discovery/std",
"pallet-authorship/std",
"sp-consensus-babe/std",
"sp-consensus-grandpa/std",
"pallet-babe/std",
"pallet-bags-list/std",
"pallet-balances/std",
"pallet-bounties/std",
"sp-block-builder/std",
"codec/std",
"scale-info/std",
"pallet-child-bounties/std",
"pallet-collective/std",
"pallet-contracts/std",
"pallet-contracts-primitives/std",
"pallet-contracts/std",
"pallet-conviction-voting/std",
"pallet-core-fellowship/std",
"pallet-democracy/std",
"pallet-election-provider-multi-phase/std",
"pallet-election-provider-support-benchmarking?/std",
"pallet-elections-phragmen/std",
"pallet-fast-unstake/std",
"frame-executive/std",
"pallet-nis/std",
"pallet-glutton/std",
"pallet-grandpa/std",
"pallet-identity/std",
"pallet-im-online/std",
"pallet-indices/std",
"sp-inherents/std",
"pallet-insecure-randomness-collective-flip/std",
"pallet-lottery/std",
"pallet-membership/std",
"pallet-message-queue/std",
"pallet-mmr/std",
"pallet-multisig/std",
"pallet-nomination-pools/std",
"pallet-nomination-pools-runtime-api/std",
"pallet-nft-fractionalization/std",
"pallet-nfts-runtime-api/std",
"pallet-nfts/std",
"pallet-nis/std",
"pallet-nomination-pools-benchmarking?/std",
"pallet-identity/std",
"pallet-scheduler/std",
"node-primitives/std",
"sp-offchain/std",
"pallet-nomination-pools-runtime-api/std",
"pallet-nomination-pools/std",
"pallet-offences-benchmarking?/std",
"pallet-offences/std",
"pallet-glutton/std",
"pallet-preimage/std",
"pallet-proxy/std",
"sp-core/std",
"pallet-insecure-randomness-collective-flip/std",
"sp-std/std",
"pallet-session/std",
"pallet-ranked-collective/std",
"pallet-recovery/std",
"pallet-referenda/std",
"pallet-remark/std",
"pallet-root-testing/std",
"pallet-salary/std",
"pallet-scheduler/std",
"pallet-session-benchmarking?/std",
"sp-api/std",
"sp-runtime/std",
"sp-staking/std",
"pallet-staking/std",
"pallet-session/std",
"pallet-society/std",
"pallet-staking-runtime-api/std",
"pallet-staking/std",
"pallet-state-trie-migration/std",
"pallet-statement/std",
"pallet-salary/std",
"sp-session/std",
"pallet-sudo/std",
"frame-support/std",
"frame-benchmarking/std",
"frame-benchmarking-pallet-pov/std",
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"pallet-election-provider-multi-phase/std",
"pallet-timestamp/std",
"pallet-tips/std",
"pallet-transaction-payment-rpc-runtime-api/std",
"pallet-transaction-payment/std",
"pallet-transaction-storage/std",
"pallet-treasury/std",
"pallet-asset-rate/std",
"sp-transaction-pool/std",
"sp-statement-store/std",
"pallet-utility/std",
"sp-version/std",
"pallet-society/std",
"pallet-ranked-collective/std",
"pallet-referenda/std",
"pallet-remark/std",
"pallet-root-testing/std",
"pallet-recovery/std",
"pallet-uniques/std",
"pallet-nfts/std",
"pallet-nfts-runtime-api/std",
"pallet-nft-fractionalization/std",
"pallet-utility/std",
"pallet-vesting/std",
"log/std",
"frame-try-runtime?/std",
"pallet-whitelist/std",
"scale-info/std",
"sp-api/std",
"sp-authority-discovery/std",
"sp-block-builder/std",
"sp-consensus-babe/std",
"sp-consensus-grandpa/std",
"sp-core/std",
"sp-inherents/std",
"sp-io/std",
"pallet-child-bounties/std",
"pallet-alliance/std",
"sp-offchain/std",
"sp-runtime/std",
"sp-session/std",
"sp-staking/std",
"sp-statement-store/std",
"sp-std/std",
"sp-transaction-pool/std",
"sp-version/std",
"substrate-wasm-builder",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-benchmarking-pallet-pov/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pallet-alliance/runtime-benchmarks",
"pallet-asset-conversion/runtime-benchmarks",
"pallet-asset-rate/runtime-benchmarks",
"pallet-asset-tx-payment/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-babe/runtime-benchmarks",
"pallet-bags-list/runtime-benchmarks",
@@ -259,7 +262,7 @@ runtime-benchmarks = [
"pallet-election-provider-support-benchmarking/runtime-benchmarks",
"pallet-elections-phragmen/runtime-benchmarks",
"pallet-fast-unstake/runtime-benchmarks",
"pallet-nis/runtime-benchmarks",
"pallet-glutton/runtime-benchmarks",
"pallet-grandpa/runtime-benchmarks",
"pallet-identity/runtime-benchmarks",
"pallet-im-online/runtime-benchmarks",
@@ -269,17 +272,21 @@ runtime-benchmarks = [
"pallet-message-queue/runtime-benchmarks",
"pallet-mmr/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks",
"pallet-nft-fractionalization/runtime-benchmarks",
"pallet-nfts/runtime-benchmarks",
"pallet-nis/runtime-benchmarks",
"pallet-nomination-pools-benchmarking/runtime-benchmarks",
"pallet-nomination-pools/runtime-benchmarks",
"pallet-offences-benchmarking/runtime-benchmarks",
"pallet-glutton/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks",
"pallet-ranked-collective/runtime-benchmarks",
"pallet-referenda/runtime-benchmarks",
"pallet-recovery/runtime-benchmarks",
"pallet-referenda/runtime-benchmarks",
"pallet-remark/runtime-benchmarks",
"pallet-salary/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks",
"pallet-session-benchmarking/runtime-benchmarks",
"pallet-society/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
@@ -289,28 +296,25 @@ runtime-benchmarks = [
"pallet-tips/runtime-benchmarks",
"pallet-transaction-storage/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"pallet-asset-rate/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"pallet-uniques/runtime-benchmarks",
"pallet-nfts/runtime-benchmarks",
"pallet-nft-fractionalization/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"pallet-vesting/runtime-benchmarks",
"pallet-whitelist/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"pallet-asset-tx-payment/runtime-benchmarks",
"pallet-nomination-pools/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-try-runtime/try-runtime",
"frame-benchmarking-pallet-pov/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-executive/try-runtime",
"frame-system/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime",
"pallet-alliance/try-runtime",
"pallet-asset-conversion-tx-payment/try-runtime",
"pallet-asset-conversion/try-runtime",
"pallet-asset-rate/try-runtime",
"pallet-asset-tx-payment/try-runtime",
"pallet-assets/try-runtime",
"pallet-authority-discovery/try-runtime",
"pallet-authorship/try-runtime",
@@ -327,50 +331,46 @@ try-runtime = [
"pallet-election-provider-multi-phase/try-runtime",
"pallet-elections-phragmen/try-runtime",
"pallet-fast-unstake/try-runtime",
"pallet-nis/try-runtime",
"pallet-glutton/try-runtime",
"pallet-grandpa/try-runtime",
"pallet-identity/try-runtime",
"pallet-im-online/try-runtime",
"pallet-indices/try-runtime",
"pallet-identity/try-runtime",
"pallet-insecure-randomness-collective-flip/try-runtime",
"pallet-lottery/try-runtime",
"pallet-membership/try-runtime",
"pallet-message-queue/try-runtime",
"pallet-mmr/try-runtime",
"pallet-multisig/try-runtime",
"pallet-nft-fractionalization/try-runtime",
"pallet-nfts/try-runtime",
"pallet-nis/try-runtime",
"pallet-nomination-pools/try-runtime",
"pallet-offences/try-runtime",
"pallet-glutton/try-runtime",
"pallet-preimage/try-runtime",
"pallet-proxy/try-runtime",
"pallet-insecure-randomness-collective-flip/try-runtime",
"pallet-ranked-collective/try-runtime",
"pallet-recovery/try-runtime",
"pallet-referenda/try-runtime",
"pallet-remark/try-runtime",
"pallet-root-testing/try-runtime",
"pallet-salary/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-session/try-runtime",
"pallet-society/try-runtime",
"pallet-staking/try-runtime",
"pallet-state-trie-migration/try-runtime",
"pallet-statement/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-society/try-runtime",
"pallet-sudo/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-tips/try-runtime",
"pallet-treasury/try-runtime",
"pallet-asset-rate/try-runtime",
"pallet-utility/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-asset-conversion-tx-payment/try-runtime",
"pallet-asset-tx-payment/try-runtime",
"pallet-transaction-storage/try-runtime",
"pallet-treasury/try-runtime",
"pallet-uniques/try-runtime",
"pallet-nfts/try-runtime",
"pallet-nft-fractionalization/try-runtime",
"pallet-utility/try-runtime",
"pallet-vesting/try-runtime",
"pallet-whitelist/try-runtime",
"frame-election-provider-support/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
unsafe-debug = ["pallet-contracts/unsafe-debug"]
unsafe-debug = [ "pallet-contracts/unsafe-debug" ]
+2 -2
View File
@@ -52,5 +52,5 @@ futures-timer = "3.0.1"
sp-tracing = { version = "10.0.0", path = "../../primitives/tracing" }
[features]
default = ["rocksdb"]
rocksdb = ["sc-client-db/rocksdb"]
default = [ "rocksdb" ]
rocksdb = [ "sc-client-db/rocksdb" ]
+2 -2
View File
@@ -51,9 +51,9 @@ default = []
test-helpers = []
runtime-benchmarks = [
"kitchensink-runtime/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
rocksdb = ["kvdb-rocksdb"]
rocksdb = [ "kvdb-rocksdb" ]
[[bench]]
name = "state_access"
+3 -3
View File
@@ -55,7 +55,7 @@ name = "bench"
harness = false
[features]
default = ["std"]
default = [ "std" ]
# This crate does not have `no_std` support, we just require this for tests
std = [
"sc-runtime-test/std",
@@ -63,13 +63,13 @@ std = [
"sp-core/std",
"sp-externalities/std",
"sp-io/std",
"sp-runtime/std",
"sp-runtime-interface/std",
"sp-runtime/std",
"sp-state-machine/std",
"sp-tracing/std",
"sp-trie/std",
"sp-version/std",
"sp-wasm-interface/std",
"substrate-test-runtime/std"
"substrate-test-runtime/std",
]
wasm-extern-trace = []
@@ -23,12 +23,12 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../../primiti
substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder", optional = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"sp-core/std",
"sp-io/std",
"sp-runtime-interface/std",
"sp-runtime/std",
"sp-std/std",
"substrate-wasm-builder",
"sp-runtime-interface/std"
]
+3 -3
View File
@@ -13,15 +13,15 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = ["rocksdb"]
default = [ "rocksdb" ]
# The RocksDB feature activates the RocksDB database backend. If it is not activated, and you pass
# a path to a database, an error will be produced at runtime.
rocksdb = ["sc-client-db/rocksdb"]
rocksdb = [ "sc-client-db/rocksdb" ]
# exposes the client type
test-helpers = []
runtime-benchmarks = [
"sc-client-db/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
[dependencies]
+1 -1
View File
@@ -20,7 +20,7 @@ prometheus = { version = "0.13.0", default-features = false }
sp-arithmetic = { version = "16.0.0", default-features = false, path = "../../primitives/arithmetic" }
[features]
default = ["metered"]
default = [ "metered" ]
metered = []
[dev-dependencies]
+24 -1
View File
@@ -5,7 +5,7 @@ title: Style Guide for Rust in Substrate
Where possible these styles are enforced by settings in `rustfmt.toml` so if you run `cargo fmt`
then you will adhere to most of these style guidelines automatically.
# Formatting
# Code Formatting
- Indent using tabs.
- Lines should be longer than 100 characters long only in exceptional circumstances and certainly
@@ -147,3 +147,26 @@ let mut target_path =
- how likely is it that invariants could be violated,
- are issues stemming from the use of unsafe code caught by existing tests/tooling,
- what are the consequences if the problems slip into production.
# Manifest Formatting
> **TLDR**
> You can use the CLI tool [Zepter](https://crates.io/crates/zepter) to format the files: `zepter format features`
Rust `Cargo.toml` files need to respect certain formatting rules. All entries need to be alphabetically sorted. This makes it easier to read them and insert new entries. The exhaustive list of rules is enforced by the CI. The general format looks like this:
- The feature is written as a single line if it fits within 80 chars:
```toml
[features]
default = [ "std" ]
```
- Otherwise the feature is broken down into multiple lines with one entry per line. Each line is padded with one tab and no trailing spaces but a trailing comma.
```toml
[features]
default = [
"loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong",
# Comments go here as well ;)
"std",
]
```
+14 -14
View File
@@ -39,33 +39,33 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
pallet-collective = { version = "4.0.0-dev", path = "../collective" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"sp-core-hashing?/std",
"pallet-collective?/std",
"frame-benchmarking?/std",
"log/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"pallet-collective?/std",
"pallet-identity/std",
"scale-info/std",
"sp-std/std",
"sp-core-hashing?/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"pallet-identity/std",
"pallet-balances/std"
"sp-std/std",
]
runtime-benchmarks = [
"array-bytes",
"sp-core-hashing",
"frame-benchmarking/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-collective/runtime-benchmarks",
"pallet-identity/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
"sp-core-hashing",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
@@ -73,5 +73,5 @@ try-runtime = [
"pallet-balances/try-runtime",
"pallet-collective?/try-runtime",
"pallet-identity/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+10 -10
View File
@@ -31,34 +31,34 @@ pallet-assets = { version = "4.0.0-dev", path = "../assets" }
primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "scale-info", "num-traits"] }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-std/std",
"sp-runtime/std",
"sp-arithmetic/std",
"pallet-assets/std",
"pallet-balances/std",
"scale-info/std",
"sp-api/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std"
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-assets/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+7 -7
View File
@@ -30,30 +30,30 @@ sp-io = { version = "23.0.0", path = "../../primitives/io" }
sp-core = { version = "21.0.0", default-features = false, path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core?/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core?/std",
"pallet-balances/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-core",
"sp-runtime/runtime-benchmarks",
"sp-core",
"pallet-balances/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime",
"pallet-balances/try-runtime"
]
+12 -12
View File
@@ -32,30 +32,30 @@ sp-io = { version = "23.0.0", path = "../../primitives/io" }
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
"scale-info/std",
"sp-core/std",
"sp-std/std",
"sp-runtime/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking?/std",
"log/std",
"pallet-balances/std",
"sp-io/std"
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+3 -3
View File
@@ -26,21 +26,21 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -29,25 +29,25 @@ sp-core = { version = "21.0.0", default-features = false, path = "../../primitiv
sp-io = { version = "23.0.0", path = "../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-timestamp/std",
"scale-info/std",
"sp-application-crypto/std",
"sp-consensus-aura/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
experimental = []
@@ -32,7 +32,7 @@ sp-core = { version = "21.0.0", path = "../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
@@ -41,14 +41,14 @@ std = [
"scale-info/std",
"sp-application-crypto/std",
"sp-authority-discovery/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-session/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+4 -4
View File
@@ -28,19 +28,19 @@ sp-core = { version = "21.0.0", path = "../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+8 -8
View File
@@ -40,15 +40,19 @@ pallet-staking-reward-curve = { version = "4.0.0-dev", path = "../staking/reward
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-authorship/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-session/std",
"pallet-staking/std",
"pallet-timestamp/std",
"scale-info/std",
"sp-application-crypto/std",
@@ -59,10 +63,6 @@ std = [
"sp-session/std",
"sp-staking/std",
"sp-std/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-staking/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
@@ -74,11 +74,11 @@ runtime-benchmarks = [
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
@@ -86,5 +86,5 @@ try-runtime = [
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+20 -20
View File
@@ -46,44 +46,44 @@ frame-election-provider-support = { version = "4.0.0-dev", path = "../election-p
frame-benchmarking = { version = "4.0.0-dev", path = "../benchmarking" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"sp-tracing?/std",
"sp-io?/std",
"sp-core?/std",
"pallet-balances?/std",
"frame-benchmarking?/std",
"scale-info/std",
"codec/std",
"sp-runtime/std",
"sp-std/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"frame-election-provider-support/std",
"log/std",
"pallet-balances?/std",
"scale-info/std",
"sp-core?/std",
"sp-io?/std",
"sp-runtime/std",
"sp-std/std",
"sp-tracing?/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"sp-core",
"sp-io",
"pallet-balances/runtime-benchmarks",
"sp-tracing",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
fuzz = [
"pallet-balances/runtime-benchmarks",
"sp-core",
"sp-io",
"pallet-balances",
"sp-runtime/runtime-benchmarks",
"sp-tracing",
]
fuzz = [
"frame-election-provider-support/fuzz",
"pallet-balances",
"sp-core",
"sp-io",
"sp-tracing",
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances?/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+6 -6
View File
@@ -29,19 +29,19 @@ sp-io = { version = "23.0.0", path = "../../primitives/io" }
paste = "1.0.12"
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-transaction-payment/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-transaction-payment/std",
"sp-core/std",
"sp-io/std"
]
# Enable support for setting the existential deposit to zero.
insecure_zero_ed = []
@@ -49,11 +49,11 @@ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -33,7 +33,7 @@ array-bytes = "6.1"
sp-staking = { version = "4.0.0-dev", path = "../../primitives/staking" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"array-bytes",
"binary-merkle-tree/std",
@@ -46,14 +46,14 @@ std = [
"pallet-session/std",
"scale-info/std",
"serde",
"sp-api/std",
"sp-consensus-beefy/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-api/std",
"sp-staking/std",
"sp-state-machine/std"
"sp-state-machine/std",
"sp-std/std",
]
try-runtime = [
"frame-support/try-runtime",
@@ -61,5 +61,5 @@ try-runtime = [
"pallet-beefy/try-runtime",
"pallet-mmr/try-runtime",
"pallet-session/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+12 -12
View File
@@ -36,33 +36,33 @@ sp-staking = { version = "4.0.0-dev", path = "../../primitives/staking" }
sp-state-machine = { version = "0.28.0", default-features = false, path = "../../primitives/state-machine" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-authorship/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-session/std",
"pallet-staking/std",
"pallet-timestamp/std",
"scale-info/std",
"serde/std",
"sp-consensus-beefy/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-session/std",
"sp-staking/std",
"sp-state-machine/std",
"sp-std/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-staking/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std",
"sp-state-machine/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
@@ -70,5 +70,5 @@ try-runtime = [
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -38,9 +38,10 @@ rusty-fork = { version = "0.3.0", default-features = false }
sp-keystore = { version = "0.27.0", path = "../../primitives/keystore" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support-procedural/std",
"frame-support/std",
"frame-system/std",
"linregress",
@@ -51,15 +52,14 @@ std = [
"sp-application-crypto/std",
"sp-core/std",
"sp-io/std",
"sp-keystore/std",
"sp-runtime-interface/std",
"sp-runtime/std",
"sp-std/std",
"sp-storage/std",
"frame-support-procedural/std",
"sp-keystore/std"
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
+4 -4
View File
@@ -22,7 +22,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../../pr
sp-std = { version = "8.0.0", default-features = false, path = "../../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking/std",
@@ -34,13 +34,13 @@ std = [
"sp-std/std",
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -31,20 +31,20 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"pallet-treasury/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
@@ -52,12 +52,12 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-treasury/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+6 -6
View File
@@ -32,13 +32,14 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"pallet-bounties/std",
"pallet-treasury/std",
"scale-info/std",
@@ -46,17 +47,16 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-bounties/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
@@ -64,5 +64,5 @@ try-runtime = [
"pallet-balances/try-runtime",
"pallet-bounties/try-runtime",
"pallet-treasury/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+2 -2
View File
@@ -25,7 +25,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../primi
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -47,5 +47,5 @@ runtime-benchmarks = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+19 -19
View File
@@ -64,45 +64,45 @@ pallet-proxy = { version = "4.0.0-dev", path = "../proxy" }
sp-keystore = { version = "0.27.0", path = "../../primitives/keystore" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"serde",
"codec/std",
"scale-info/std",
"sp-core/std",
"sp-runtime/std",
"sp-io/std",
"sp-std/std",
"environmental/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"wasm-instrument/std",
"wasmi/std",
"log/std",
"pallet-balances?/std",
"pallet-contracts-primitives/std",
"pallet-contracts-proc-macro/full",
"log/std",
"rand/std",
"environmental/std",
"pallet-balances?/std",
"pallet-insecure-randomness-collective-flip/std",
"pallet-proxy/std",
"pallet-timestamp/std",
"pallet-utility/std",
"rand/std",
"scale-info/std",
"serde",
"sp-api/std",
"sp-keystore/std"
"sp-core/std",
"sp-io/std",
"sp-keystore/std",
"sp-runtime/std",
"sp-std/std",
"wasm-instrument/std",
"wasmi/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"rand",
"rand_pcg",
"wasm-instrument",
"pallet-balances/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"rand",
"rand_pcg",
"sp-runtime/runtime-benchmarks",
"wasm-instrument",
]
try-runtime = [
"frame-support/try-runtime",
@@ -23,11 +23,11 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../../pr
sp-weights = { version = "20.0.0", default-features = false, path = "../../../primitives/weights" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"scale-info/std",
"sp-weights/std"
"sp-weights/std",
]
+8 -8
View File
@@ -33,34 +33,34 @@ pallet-scheduler = { version = "4.0.0-dev", path = "../scheduler" }
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"pallet-scheduler/std",
"scale-info/std",
"serde",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"pallet-scheduler/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks"
"pallet-scheduler/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-scheduler/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+2 -2
View File
@@ -26,7 +26,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../primi
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -49,5 +49,5 @@ runtime-benchmarks = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+8 -8
View File
@@ -33,30 +33,30 @@ pallet-scheduler = { version = "4.0.0-dev", path = "../scheduler" }
pallet-preimage = { version = "4.0.0-dev", path = "../preimage" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"pallet-preimage/std",
"pallet-scheduler/std",
"scale-info/std",
"serde",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"pallet-balances/std",
"pallet-preimage/std",
"pallet-scheduler/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks"
"pallet-scheduler/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
@@ -64,5 +64,5 @@ try-runtime = [
"pallet-balances/try-runtime",
"pallet-preimage/try-runtime",
"pallet-scheduler/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -48,46 +48,43 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
frame-benchmarking = { version = "4.0.0-dev", path = "../benchmarking" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"pallet-election-provider-support-benchmarking?/std",
"codec/std",
"scale-info/std",
"log/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"sp-io/std",
"sp-std/std",
"sp-core/std",
"sp-runtime/std",
"sp-npos-elections/std",
"sp-arithmetic/std",
"frame-election-provider-support/std",
"log/std",
"frame-benchmarking?/std",
"rand/std",
"strum/std",
"log/std",
"pallet-balances/std",
"sp-tracing/std"
"pallet-election-provider-support-benchmarking?/std",
"rand/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-npos-elections/std",
"sp-runtime/std",
"sp-std/std",
"sp-tracing/std",
"strum/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"rand",
"strum",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-election-provider-support-benchmarking?/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"rand",
"sp-runtime/runtime-benchmarks",
"strum",
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -29,27 +29,27 @@ sp-io = { version = "23.0.0", path = "../../primitives/io" }
sp-npos-elections = { version = "4.0.0-dev", path = "../../primitives/npos-elections" }
[features]
default = ["std"]
fuzz = ["default"]
default = [ "std" ]
fuzz = [ "default" ]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-npos-elections/std",
"sp-core/std",
"sp-io/std",
"sp-npos-elections/std",
"sp-runtime/std",
"sp-std/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -22,7 +22,7 @@ sp-npos-elections = { version = "4.0.0-dev", default-features = false, path = ".
sp-runtime = { version = "24.0.0", default-features = false, path = "../../../primitives/runtime" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -35,5 +35,5 @@ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
@@ -35,22 +35,22 @@ sp-tracing = { path = "../../primitives/tracing" }
substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-npos-elections/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-staking/std",
"sp-tracing/std"
"sp-std/std",
"sp-tracing/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
@@ -58,11 +58,11 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+12 -12
View File
@@ -22,18 +22,18 @@ pallet-example-split = { default-features = false, path = "./split" }
[features]
default = [ "std" ]
std = [
"pallet-example-basic/std",
"pallet-default-config-example/std",
"pallet-example-offchain-worker/std",
"pallet-example-kitchensink/std",
"pallet-dev-mode/std",
"pallet-example-split/std",
"pallet-default-config-example/std",
"pallet-dev-mode/std",
"pallet-example-basic/std",
"pallet-example-kitchensink/std",
"pallet-example-offchain-worker/std",
"pallet-example-split/std",
]
try-runtime = [
"pallet-example-basic/try-runtime",
"pallet-default-config-example/try-runtime",
"pallet-example-offchain-worker/try-runtime",
"pallet-example-kitchensink/try-runtime",
"pallet-dev-mode/try-runtime",
"pallet-example-split/try-runtime",
"pallet-default-config-example/try-runtime",
"pallet-dev-mode/try-runtime",
"pallet-example-basic/try-runtime",
"pallet-example-kitchensink/try-runtime",
"pallet-example-offchain-worker/try-runtime",
"pallet-example-split/try-runtime",
]
+4 -4
View File
@@ -28,7 +28,7 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../../primiti
sp-core = { version = "21.0.0", default-features = false, path = "../../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -37,21 +37,21 @@ std = [
"log/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -24,7 +24,7 @@ sp-runtime = { default-features = false, path = "../../../primitives/runtime" }
sp-std = { default-features = false, path = "../../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
@@ -38,5 +38,5 @@ std = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+3 -3
View File
@@ -27,7 +27,7 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../../primiti
sp-core = { version = "21.0.0", default-features = false, path = "../../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
@@ -35,14 +35,14 @@ std = [
"log/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -31,34 +31,30 @@ pallet-balances = { version = "4.0.0-dev", default-features = false, path = "../
sp-core = { version = "21.0.0", default-features = false, path = "../../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
"scale-info/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"frame-benchmarking?/std",
"pallet-balances/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -26,7 +26,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../../pr
sp-std = { version = "8.0.0", default-features = false, path = "../../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
@@ -36,12 +36,12 @@ std = [
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-keystore/std",
"sp-runtime/std",
"sp-std/std"
"sp-keystore/std",
"sp-runtime/std",
"sp-std/std",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+7 -13
View File
@@ -29,27 +29,21 @@ frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional
sp-core = { version = "21.0.0", default-features = false, path = "../../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
"scale-info/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-std/std",
"frame-benchmarking?/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime"
"frame-system/runtime-benchmarks",
]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ]
+10 -10
View File
@@ -37,30 +37,30 @@ sp-io = { version = "23.0.0", path = "../../primitives/io" }
sp-version = { version = "22.0.0", path = "../../primitives/version" }
[features]
default = ["std"]
with-tracing = ["sp-tracing/with-tracing"]
default = [ "std" ]
with-tracing = [ "sp-tracing/with-tracing" ]
std = [
"codec/std",
"log/std",
"frame-support/std",
"frame-system/std",
"frame-try-runtime/std",
"log/std",
"pallet-balances/std",
"pallet-transaction-payment/std",
"scale-info/std",
"sp-core/std",
"sp-inherents/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-tracing/std",
"pallet-balances/std",
"pallet-transaction-payment/std",
"sp-inherents/std",
"sp-version/std"
"sp-version/std",
]
try-runtime = [
"frame-support/try-runtime",
"frame-try-runtime/try-runtime",
"sp-runtime/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime",
"pallet-balances/try-runtime",
"pallet-transaction-payment/try-runtime"
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime",
]
+15 -19
View File
@@ -39,46 +39,42 @@ pallet-balances = { path = "../balances" }
pallet-timestamp = { path = "../timestamp" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
"scale-info/std",
"frame-benchmarking/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"sp-io/std",
"sp-staking/std",
"sp-runtime/std",
"sp-std/std",
"frame-election-provider-support/std",
"frame-benchmarking/std",
"log/std",
"pallet-balances/std",
"pallet-staking/std",
"pallet-timestamp/std",
"scale-info/std",
"sp-core/std",
"sp-tracing/std"
"sp-io/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"sp-tracing/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+6 -6
View File
@@ -29,31 +29,31 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"blake2/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
+10 -10
View File
@@ -42,29 +42,29 @@ pallet-timestamp = { version = "4.0.0-dev", path = "../timestamp" }
sp-keyring = { version = "24.0.0", path = "../../primitives/keyring" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-authorship/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-session/std",
"pallet-staking/std",
"pallet-timestamp/std",
"scale-info/std",
"sp-application-crypto/std",
"sp-core/std",
"sp-consensus-grandpa/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-session/std",
"sp-staking/std",
"sp-std/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-staking/std",
"pallet-timestamp/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
@@ -76,11 +76,11 @@ runtime-benchmarks = [
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
@@ -88,5 +88,5 @@ try-runtime = [
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -28,29 +28,29 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -31,14 +31,15 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
pallet-session = { version = "4.0.0-dev", path = "../session" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-authorship/std",
"pallet-session/std",
"scale-info/std",
"sp-application-crypto/std",
"sp-core/std",
@@ -46,19 +47,18 @@ std = [
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"pallet-session/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-session/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -28,30 +28,30 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-keyring",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -26,20 +26,20 @@ sp-core = { version = "21.0.0", path = "../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"safe-mix/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+9 -9
View File
@@ -29,31 +29,31 @@ sp-core = { version = "21.0.0", path = "../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support-test/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"frame-support-test/std",
"pallet-balances/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-support-test/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+2 -2
View File
@@ -25,7 +25,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../primi
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -47,5 +47,5 @@ runtime-benchmarks = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -30,13 +30,13 @@ env_logger = "0.9"
itertools = "0.10.3"
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
@@ -48,10 +48,10 @@ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+8 -8
View File
@@ -31,29 +31,29 @@ rand = "0.8.5"
rand_distr = "0.4.3"
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-arithmetic/std",
"sp-tracing/std",
"sp-weights/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"sp-tracing/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -29,28 +29,28 @@ log = { version = "0.4.17", default-features = false }
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -31,7 +31,7 @@ sp-io = { version = "23.0.0", path = "../../primitives/io" }
sp-std = { version = "8.0.0", path = "../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking/std",
@@ -39,22 +39,22 @@ std = [
"frame-system/std",
"log/std",
"pallet-assets/std",
"pallet-balances/std",
"pallet-nfts/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-nfts/runtime-benchmarks"
"pallet-nfts/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
@@ -62,5 +62,5 @@ try-runtime = [
"pallet-assets/try-runtime",
"pallet-balances/try-runtime",
"pallet-nfts/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+7 -7
View File
@@ -30,31 +30,31 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
sp-keystore = { version = "0.27.0", path = "../../primitives/keystore" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-keystore/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-keystore/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+2 -7
View File
@@ -19,10 +19,5 @@ pallet-nfts = { version = "4.0.0-dev", default-features = false, path = "../../n
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/api" }
[features]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
"pallet-nfts/std",
"sp-api/std",
]
default = [ "std" ]
std = [ "codec/std", "frame-support/std", "pallet-nfts/std", "sp-api/std" ]
+4 -4
View File
@@ -26,21 +26,21 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+5 -5
View File
@@ -28,30 +28,30 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
sp-io = { version = "23.0.0", path = "../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -23,7 +23,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../primi
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
@@ -38,5 +38,5 @@ std = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+12 -12
View File
@@ -35,32 +35,32 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
sp-tracing = { version = "10.0.0", path = "../../primitives/tracing" }
[features]
default = ["std"]
fuzzing = ["pallet-balances", "sp-tracing"]
default = [ "std" ]
fuzzing = [ "pallet-balances", "sp-tracing" ]
std = [
"codec/std",
"scale-info/std",
"frame-support/std",
"frame-system/std",
"sp-runtime/std",
"sp-std/std",
"sp-io/std",
"sp-staking/std",
"sp-core/std",
"log/std",
"pallet-balances?/std",
"sp-tracing?/std"
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"sp-tracing?/std",
]
runtime-benchmarks = [
"sp-staking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances?/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances?/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -40,7 +40,7 @@ sp-core = { version = "21.0.0", path = "../../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking/std",
@@ -48,28 +48,28 @@ std = [
"frame-support/std",
"frame-system/std",
"pallet-bags-list/std",
"pallet-staking/std",
"pallet-nomination-pools/std",
"sp-runtime/std",
"sp-runtime-interface/std",
"sp-staking/std",
"sp-std/std",
"pallet-balances/std",
"pallet-nomination-pools/std",
"pallet-staking/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std"
"sp-io/std",
"sp-runtime-interface/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
]
runtime-benchmarks = [
"frame-election-provider-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-nomination-pools/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-bags-list/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks"
"pallet-nomination-pools/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
]
@@ -19,10 +19,5 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../../primiti
pallet-nomination-pools = { version = "1.0.0", default-features = false, path = "../" }
[features]
default = ["std"]
std = [
"codec/std",
"sp-api/std",
"sp-std/std",
"pallet-nomination-pools/std",
]
default = [ "std" ]
std = [ "codec/std", "pallet-nomination-pools/std", "sp-api/std", "sp-std/std" ]
+5 -5
View File
@@ -29,7 +29,7 @@ sp-core = { version = "21.0.0", path = "../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
@@ -38,22 +38,22 @@ std = [
"pallet-balances/std",
"scale-info/std",
"serde",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -38,13 +38,14 @@ sp-core = { version = "21.0.0", path = "../../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-babe/std",
"pallet-balances/std",
"pallet-grandpa/std",
@@ -52,18 +53,16 @@ std = [
"pallet-offences/std",
"pallet-session/std",
"pallet-staking/std",
"pallet-timestamp/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"log/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"pallet-staking/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
@@ -73,7 +72,8 @@ runtime-benchmarks = [
"pallet-grandpa/runtime-benchmarks",
"pallet-im-online/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-staking/runtime-benchmarks",
]
+10 -7
View File
@@ -27,7 +27,7 @@ sp-io = { version = "23.0.0", path = "../../primitives/io", default-features = f
sp-metadata-ir = { version = "0.1.0", default-features = false, optional = true, path = "../../primitives/metadata-ir" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
@@ -37,19 +37,22 @@ std = [
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-metadata-ir/std",
"sp-runtime/std",
"sp-std/std",
"sp-metadata-ir/std"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
frame-metadata = [
"sp-metadata-ir"
]
frame-metadata = [ "sp-metadata-ir" ]
+5 -5
View File
@@ -25,14 +25,14 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
sp-core = { version = "21.0.0", default-features = false, path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
std = [
"codec/std",
@@ -40,16 +40,16 @@ std = [
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+7 -7
View File
@@ -28,19 +28,19 @@ pallet-utility = { version = "4.0.0-dev", path = "../utility" }
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"pallet-utility/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"pallet-utility/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
@@ -48,12 +48,12 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-utility/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+2 -2
View File
@@ -26,7 +26,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../primi
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -49,5 +49,5 @@ runtime-benchmarks = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+6 -6
View File
@@ -27,30 +27,30 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
runtime-benchmarks = [
'frame-benchmarking',
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+13 -13
View File
@@ -36,34 +36,34 @@ pallet-scheduler = { version = "4.0.0-dev", path = "../scheduler" }
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"sp-runtime/std",
"sp-arithmetic/std",
"frame-system/std",
"scale-info/std",
"serde",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"pallet-preimage/std",
"pallet-scheduler/std",
"sp-core/std"
"scale-info/std",
"serde",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = [
"assert_matches",
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks"
"pallet-scheduler/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
@@ -71,5 +71,5 @@ try-runtime = [
"pallet-balances/try-runtime",
"pallet-preimage/try-runtime",
"pallet-scheduler/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+4 -4
View File
@@ -28,16 +28,16 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
sp-core = { version = "21.0.0", default-features = false, path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
std = [
"frame-benchmarking?/std",
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
@@ -50,5 +50,5 @@ std = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+9 -10
View File
@@ -44,33 +44,32 @@ runtime-benchmarks = [
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"pallet-session/std",
"pallet-staking/std",
"scale-info/std",
"sp-runtime/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-timestamp/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std"
"sp-std/std",
]
+4 -6
View File
@@ -27,18 +27,16 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-runtime/std",
"sp-core/std",
"sp-io/std",
"sp-std/std"
"sp-runtime/std",
"sp-std/std",
]
+2 -2
View File
@@ -26,7 +26,7 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../primi
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -49,5 +49,5 @@ runtime-benchmarks = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+6 -6
View File
@@ -28,14 +28,14 @@ sp-core = { version = "21.0.0", default-features = false, path = "../../primitiv
substrate-test-utils = { version = "4.0.0-dev", path = "../../test-utils" }
[features]
default = ["std"]
default = [ "std" ]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
std = [
"codec/std",
@@ -43,17 +43,17 @@ std = [
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-preimage/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-weights/std",
"pallet-preimage/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-preimage/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+4 -4
View File
@@ -26,21 +26,21 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+4 -4
View File
@@ -30,8 +30,8 @@ sp-trie = { version = "22.0.0", default-features = false, optional = true, path
sp-state-machine = { version = "0.28.0", default-features = false, path = "../../primitives/state-machine" }
[features]
default = ["historical", "std"]
historical = ["sp-trie"]
default = [ "historical", "std" ]
historical = [ "sp-trie" ]
std = [
"codec/std",
"frame-support/std",
@@ -44,13 +44,13 @@ std = [
"sp-runtime/std",
"sp-session/std",
"sp-staking/std",
"sp-state-machine/std",
"sp-std/std",
"sp-trie/std",
"sp-state-machine/std",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
@@ -35,31 +35,31 @@ sp-core = { version = "21.0.0", path = "../../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"pallet-session/std",
"pallet-staking/std",
"pallet-timestamp/std",
"rand/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-session/std",
"sp-std/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"pallet-staking/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
+10 -12
View File
@@ -33,38 +33,36 @@ sp-core = { version = "21.0.0", path = "../../primitives/core" }
sp-io = { version = "23.0.0", path = "../../primitives/io" }
[features]
default = ["std"]
default = [ "std" ]
# Enable `VersionedRuntimeUpgrade` for the migrations that is currently still experimental.
experimental = [
"frame-support/experimental"
]
experimental = [ "frame-support/experimental" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support-test/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"rand_chacha/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-io/std",
"frame-support-test/std",
"pallet-balances/std",
"sp-arithmetic/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking",
"sp-runtime/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-support-test/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+20 -20
View File
@@ -50,50 +50,50 @@ frame-election-provider-support = { version = "4.0.0-dev", path = "../election-p
rand_chacha = { version = "0.2" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"frame-benchmarking?/std",
"serde/std",
"codec/std",
"scale-info/std",
"sp-std/std",
"sp-io/std",
"frame-support/std",
"sp-runtime/std",
"sp-staking/std",
"pallet-session/std",
"frame-system/std",
"pallet-authorship/std",
"sp-application-crypto/std",
"log/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-authorship/std",
"pallet-bags-list/std",
"pallet-balances/std",
"pallet-session/std",
"pallet-timestamp/std",
"scale-info/std",
"serde/std",
"sp-application-crypto/std",
"sp-core/std",
"sp-io/std",
"sp-npos-elections/std",
"sp-tracing/std"
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"sp-tracing/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"rand_chacha",
"sp-staking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-bags-list/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"rand_chacha",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-bags-list/try-runtime",
"pallet-balances/try-runtime",
"pallet-session/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+2 -5
View File
@@ -18,8 +18,5 @@ log = { version = "0.4.17", default-features = false }
sp-arithmetic = { version = "16.0.0", default-features = false, path = "../../../primitives/arithmetic" }
[features]
default = ["std"]
std = [
"log/std",
"sp-arithmetic/std",
]
default = [ "std" ]
std = [ "log/std", "sp-arithmetic/std" ]
@@ -17,8 +17,5 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/api" }
[features]
default = ["std"]
std = [
"codec/std",
"sp-api/std",
]
default = [ "std" ]
std = [ "codec/std", "sp-api/std" ]
@@ -35,20 +35,20 @@ pallet-balances = { path = "../balances" }
sp-tracing = { path = "../../primitives/tracing" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-tracing/std"
"sp-tracing/std",
]
runtime-benchmarks = [
"frame-benchmarking",
@@ -56,12 +56,19 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
remote-test = [
"remote-externalities",
"serde",
"std",
"substrate-state-trie-migration-rpc",
"thousands",
"zstd",
]
remote-test = [ "remote-externalities", "serde", "std", "substrate-state-trie-migration-rpc", "thousands", "zstd" ]
+6 -6
View File
@@ -31,20 +31,20 @@ pallet-balances = { version = "4.0.0-dev", path = "../balances" }
default = [ "std" ]
std = [
"codec/std",
"scale-info/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"scale-info/std",
"sp-api/std",
"sp-runtime/std",
"sp-std/std",
"sp-io/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-statement-store/std",
"pallet-balances/std"
"sp-std/std",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+4 -4
View File
@@ -26,26 +26,26 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
sp-core = { version = "21.0.0", path = "../../primitives/core" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-runtime/try-runtime",
]
+26 -23
View File
@@ -54,50 +54,53 @@ frame-system = { version = "4.0.0-dev", path = "../system" }
array-bytes = "6.1"
[features]
default = ["std"]
default = [ "std" ]
std = [
"sp-core/std",
"codec/std",
"environmental/std",
"frame-metadata/std",
"frame-support-procedural/std",
"frame-system/std",
"k256/std",
"log/std",
"scale-info/std",
"serde/std",
"sp-api/std",
"sp-io/std",
"codec/std",
"scale-info/std",
"sp-std/std",
"sp-runtime/std",
"sp-tracing/std",
"sp-arithmetic/std",
"frame-metadata/std",
"sp-core/std",
"sp-debug-derive/std",
"sp-genesis-builder/std",
"sp-inherents/std",
"sp-io/std",
"sp-metadata-ir/std",
"sp-runtime/std",
"sp-staking/std",
"sp-state-machine/std",
"sp-std/std",
"sp-tracing/std",
"sp-weights/std",
"frame-support-procedural/std",
"log/std",
"environmental/std",
"sp-genesis-builder/std",
"frame-system/std",
"sp-debug-derive/std",
"sp-metadata-ir/std"
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
"sp-staking/runtime-benchmarks",
]
try-runtime = [
"sp-debug-derive/force-debug",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
"sp-debug-derive/force-debug",
"sp-runtime/try-runtime",
]
experimental = []
# By default some types have documentation, `no-metadata-docs` allows to reduce the documentation
# in the metadata.
no-metadata-docs = ["frame-support-procedural/no-metadata-docs", "sp-api/no-metadata-docs"]
no-metadata-docs = [
"frame-support-procedural/no-metadata-docs",
"sp-api/no-metadata-docs",
]
# By default some types have documentation, `full-metadata-docs` allows to add documentation to
# more types in the metadata.
full-metadata-docs = ["scale-info/docs"]
full-metadata-docs = [ "scale-info/docs" ]
# Generate impl-trait for tuples with the given number of tuples. Will be needed as the number of
# pallets in a runtime grows. Does increase the compile time!
tuples-96 = ["frame-support-procedural/tuples-96"]
tuples-128 = ["frame-support-procedural/tuples-128"]
tuples-96 = [ "frame-support-procedural/tuples-96" ]
tuples-128 = [ "frame-support-procedural/tuples-128" ]
@@ -28,7 +28,7 @@ macro_magic = { version = "0.4.2", features = ["proc_support"] }
expander = "2.0.0"
[features]
default = ["std"]
default = [ "std" ]
std = []
no-metadata-docs = []
# Generate impl-trait for tuples with the given number of tuples. Will be needed as the number of
+8 -8
View File
@@ -37,33 +37,33 @@ frame-executive = { version = "4.0.0-dev", default-features = false, path = "../
test-pallet = { package = "frame-support-test-pallet", default-features = false, path = "pallet" }
[features]
default = ["std"]
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",
"frame-metadata/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",
"sp-state-machine/std",
"sp-metadata-ir/std"
]
experimental = ["frame-support/experimental"]
experimental = [ "frame-support/experimental" ]
try-runtime = [
"frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-executive/try-runtime",
"sp-runtime/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
@@ -72,4 +72,4 @@ frame-feature-testing = []
frame-feature-testing-2 = []
# Disable ui tests
disable-ui-tests = []
no-metadata-docs = ["frame-support/no-metadata-docs"]
no-metadata-docs = [ "frame-support/no-metadata-docs" ]
@@ -21,11 +21,11 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../../..
sp-version = { version = "22.0.0", default-features = false, path = "../../../../primitives/version" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"renamed-frame-support/std",
"frame-system/std",
"renamed-frame-support/std",
"scale-info/std",
"sp-core/std",
"sp-runtime/std",
@@ -20,12 +20,12 @@ frame-system = { version = "4.0.0-dev", default-features = false, path = "../../
sp-runtime = { version = "24.0.0", default-features = false, path = "../../../../primitives/runtime" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"serde/std",
"sp-runtime/std"
"sp-runtime/std",
]
+3 -6
View File
@@ -32,7 +32,7 @@ sp-externalities = { version = "0.19.0", path = "../../primitives/externalities"
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
@@ -40,21 +40,18 @@ std = [
"scale-info/std",
"serde/std",
"sp-core/std",
"sp-externalities/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-version/std",
"sp-weights/std",
"sp-externalities/std"
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = [ "frame-support/try-runtime", "sp-runtime/try-runtime" ]
[[bench]]
name = "bench"
@@ -28,7 +28,7 @@ sp-externalities = { version = "0.19.0", path = "../../../primitives/externaliti
sp-version = { version = "22.0.0", path = "../../../primitives/version" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking/std",
@@ -36,16 +36,16 @@ std = [
"frame-system/std",
"scale-info/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"sp-externalities/std",
"sp-io/std",
"sp-version/std"
"sp-runtime/std",
"sp-std/std",
"sp-version/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
"sp-runtime/runtime-benchmarks",
]
@@ -17,8 +17,5 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../../../primitives/api" }
[features]
default = ["std"]
std = [
"codec/std",
"sp-api/std",
]
default = [ "std" ]
std = [ "codec/std", "sp-api/std" ]

Some files were not shown because too many files have changed in this diff Show More