Skip to content

Commit

Permalink
Format features
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Aug 25, 2023
1 parent 274936f commit 6b8133a
Show file tree
Hide file tree
Showing 109 changed files with 892 additions and 967 deletions.
8 changes: 3 additions & 5 deletions cumulus/bridges/bin/runtime-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bp-test-utils = { path = "../../primitives/test-utils" }
pallet-balances = { path = "../../../../substrate/frame/balances" }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-messages/std",
Expand All @@ -75,8 +75,8 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
"xcm/std",
"xcm-builder/std",
"xcm/std",
]
runtime-benchmarks = [
"pallet-bridge-grandpa/runtime-benchmarks",
Expand All @@ -85,6 +85,4 @@ runtime-benchmarks = [
"pallet-bridge-relayers/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
]
integrity-test = [
"static_assertions",
]
integrity-test = [ "static_assertions" ]
9 changes: 3 additions & 6 deletions cumulus/bridges/modules/grandpa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ sp-core = { path = "../../../../substrate/primitives/core" }
sp-io = { path = "../../../../substrate/primitives/io" }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-runtime/std",
"bp-test-utils/std",
"codec/std",
"finality-grandpa/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking/std",
"log/std",
"scale-info/std",
"sp-consensus-grandpa/std",
Expand All @@ -57,7 +57,4 @@ runtime-benchmarks = [
"bp-test-utils",
"frame-benchmarking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ]
13 changes: 4 additions & 9 deletions cumulus/bridges/modules/messages/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,20 @@ pallet-balances = { path = "../../../../substrate/frame/balances" }
sp-io = { path = "../../../../substrate/primitives/io" }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-messages/std",
"bp-runtime/std",
"codec/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking/std",
"log/std",
"num-traits/std",
"scale-info/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
]
runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks" ]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ]
13 changes: 4 additions & 9 deletions cumulus/bridges/modules/parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,22 @@ sp-core = { path = "../../../../substrate/primitives/core" }
sp-io = { path = "../../../../substrate/primitives/io" }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-parachains/std",
"bp-polkadot-core/std",
"bp-runtime/std",
"codec/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking/std",
"log/std",
"pallet-bridge-grandpa/std",
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
]
runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks" ]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ]
11 changes: 3 additions & 8 deletions cumulus/bridges/modules/relayers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sp-io = { path = "../../../../substrate/primitives/io" }
sp-runtime = { path = "../../../../substrate/primitives/runtime" }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-messages/std",
"bp-relayers/std",
Expand All @@ -50,10 +50,5 @@ std = [
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
]
runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks" ]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ]
9 changes: 3 additions & 6 deletions cumulus/bridges/modules/xcm-bridge-hub-router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sp-io = { path = "../../../../substrate/primitives/io" }
sp-std = { path = "../../../../substrate/primitives/std" }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-xcm-bridge-hub-router/std",
"codec/std",
Expand All @@ -46,14 +46,11 @@ std = [
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"xcm/std",
"xcm-builder/std",
"xcm/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ]
4 changes: 2 additions & 2 deletions cumulus/bridges/primitives/chain-asset-hub-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ frame-support = { path = "../../../../substrate/frame/support", default-features
bp-xcm-bridge-hub-router = { path = "../xcm-bridge-hub-router", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-xcm-bridge-hub-router/std",
"frame-support/std",
"codec/std",
"frame-support/std",
"scale-info/std",
]
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur
bp-xcm-bridge-hub-router = { path = "../xcm-bridge-hub-router", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-xcm-bridge-hub-router/std",
"frame-support/std",
"codec/std",
"frame-support/std",
"scale-info/std",
"sp-runtime/std",
]
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ sp-std = { path = "../../../../substrate/primitives/std", default-features = fal
polkadot-primitives = { path = "../../../../polkadot/primitives", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-polkadot-core/std",
"bp-messages/std",
"bp-polkadot-core/std",
"bp-runtime/std",
"frame-system/std",
"frame-support/std",
"frame-system/std",
"polkadot-primitives/std",
"sp-api/std",
"sp-std/std",
"polkadot-primitives/std",
]
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-bridge-hub-cumulus/std",
"bp-messages/std",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-bridge-hub-cumulus/std",
"bp-runtime/std",
"bp-messages/std",
"bp-runtime/std",
"frame-support/std",
"sp-api/std",
"sp-runtime/std",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-bridge-hub-cumulus/std",
"bp-messages/std",
Expand Down
4 changes: 2 additions & 2 deletions cumulus/bridges/primitives/chain-bridge-hub-wococo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-bridge-hub-cumulus/std",
"bp-runtime/std",
"bp-messages/std",
"bp-runtime/std",
"frame-support/std",
"sp-api/std",
"sp-runtime/std",
Expand Down
2 changes: 1 addition & 1 deletion cumulus/bridges/primitives/chain-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sp-api = { path = "../../../../substrate/primitives/api", default-features = fal
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-polkadot-core/std",
Expand Down
2 changes: 1 addition & 1 deletion cumulus/bridges/primitives/chain-polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sp-api = { path = "../../../../substrate/primitives/api", default-features = fal
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-polkadot-core/std",
Expand Down
2 changes: 1 addition & 1 deletion cumulus/bridges/primitives/chain-rococo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sp-std = { path = "../../../../substrate/primitives/std", default-features = fal
frame-support = { path = "../../../../substrate/frame/support", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-polkadot-core/std",
Expand Down
4 changes: 2 additions & 2 deletions cumulus/bridges/primitives/chain-wococo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ sp-api = { path = "../../../../substrate/primitives/api", default-features = fal
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-polkadot-core/std",
"bp-runtime/std",
"bp-rococo/std",
"bp-runtime/std",
"frame-support/std",
"sp-api/std",
"sp-std/std",
Expand Down
6 changes: 3 additions & 3 deletions cumulus/bridges/primitives/header-chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ hex = "0.4"
hex-literal = "0.4"

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-runtime/std",
"codec/std",
"finality-grandpa/std",
"serde/std",
"frame-support/std",
"scale-info/std",
"sp-core/std",
"serde/std",
"sp-consensus-grandpa/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]
6 changes: 3 additions & 3 deletions cumulus/bridges/primitives/messages/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ hex = "0.4"
hex-literal = "0.4"

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-runtime/std",
"bp-header-chain/std",
"bp-runtime/std",
"codec/std",
"frame-support/std",
"scale-info/std",
"serde/std",
"sp-core/std",
"sp-std/std"
"sp-std/std",
]
2 changes: 1 addition & 1 deletion cumulus/bridges/primitives/parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-polkadot-core/std",
Expand Down
4 changes: 2 additions & 2 deletions cumulus/bridges/primitives/polkadot-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ sp-std = { path = "../../../../substrate/primitives/std", default-features = fal
hex = "0.4"

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-messages/std",
"bp-runtime/std",
"codec/std",
"frame-support/std",
"frame-system/std",
"codec/std",
"parity-util-mem",
"scale-info/std",
"serde",
Expand Down
2 changes: 1 addition & 1 deletion cumulus/bridges/primitives/relayers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ hex = "0.4"
hex-literal = "0.4"

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-messages/std",
"bp-runtime/std",
Expand Down
4 changes: 2 additions & 2 deletions cumulus/bridges/primitives/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trie-db = { version = "0.27.1", default-features = false }
hex-literal = "0.4"

[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
Expand All @@ -44,8 +44,8 @@ std = [
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-state-machine/std",
"sp-std/std",
"sp-trie/std",
"trie-db/std",
]
2 changes: 1 addition & 1 deletion cumulus/bridges/primitives/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sp-std = { path = "../../../../substrate/primitives/std", default-features = fal
sp-trie = { path = "../../../../substrate/primitives/trie", default-features = false }

[features]
default = ["std"]
default = [ "std" ]
std = [
"bp-header-chain/std",
"bp-polkadot-core/std",
Expand Down
Loading

0 comments on commit 6b8133a

Please sign in to comment.