Skip to content

Commit

Permalink
zepter/taplo
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Jul 30, 2024
1 parent e8c50a4 commit 8b3d611
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 23 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 6 additions & 10 deletions bridges/bin/runtime-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ bp-polkadot-core = { workspace = true }
bp-relayers = { workspace = true }
bp-runtime = { workspace = true }
bp-xcm-bridge-hub = { workspace = true }
bp-xcm-bridge-hub-router = { workspace = true }
pallet-bridge-grandpa = { workspace = true }
pallet-bridge-messages = { workspace = true }
pallet-bridge-parachains = { workspace = true }
Expand All @@ -43,12 +42,14 @@ sp-trie = { optional = true, workspace = true }

# Polkadot dependencies
xcm = { workspace = true }
xcm-builder = { workspace = true }

[dev-dependencies]
bp-test-utils = { workspace = true }
pallet-balances = { workspace = true }
pallet-bridge-messages = { features = ["std", "test-helpers"], workspace = true }
pallet-bridge-messages = { features = [
"std",
"test-helpers",
], workspace = true }
sp-core = { workspace = true }

[features]
Expand All @@ -61,7 +62,6 @@ std = [
"bp-relayers/std",
"bp-runtime/std",
"bp-test-utils/std",
"bp-xcm-bridge-hub-router/std",
"bp-xcm-bridge-hub/std",
"codec/std",
"frame-support/std",
Expand All @@ -75,12 +75,12 @@ std = [
"pallet-transaction-payment/std",
"pallet-utility/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
"tuplex/std",
"xcm-builder/std",
"xcm/std",
]
runtime-benchmarks = [
Expand All @@ -96,10 +96,6 @@ runtime-benchmarks = [
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-trie",
"xcm-builder/runtime-benchmarks",
]
integrity-test = ["static_assertions"]
test-helpers = [
"bp-runtime/test-helpers",
"sp-trie",
]
test-helpers = ["bp-runtime/test-helpers", "sp-trie"]
5 changes: 1 addition & 4 deletions bridges/modules/messages/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,4 @@ try-runtime = [
"pallet-bridge-grandpa/try-runtime",
"sp-runtime/try-runtime",
]
test-helpers = [
"bp-runtime/test-helpers",
"sp-trie",
]
test-helpers = ["bp-runtime/test-helpers", "sp-trie"]
9 changes: 9 additions & 0 deletions bridges/modules/relayers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ default = ["std"]
std = [
"bp-header-chain/std",
"bp-messages/std",
"bp-parachains/std",
"bp-polkadot-core/std",
"bp-relayers/std",
"bp-runtime/std",
"bp-test-utils/std",
"codec/std",
"frame-benchmarking/std",
"frame-support/std",
Expand All @@ -60,8 +63,11 @@ std = [
"pallet-bridge-messages/std",
"pallet-bridge-parachains/std",
"pallet-transaction-payment/std",
"pallet-utility/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
]
Expand All @@ -73,6 +79,7 @@ runtime-benchmarks = [
"pallet-bridge-grandpa/runtime-benchmarks",
"pallet-bridge-messages/runtime-benchmarks",
"pallet-bridge-parachains/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
Expand All @@ -82,6 +89,8 @@ try-runtime = [
"pallet-bridge-grandpa/try-runtime",
"pallet-bridge-messages/try-runtime",
"pallet-bridge-parachains/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-utility/try-runtime",
"sp-runtime/try-runtime",
]
integrity-test = []
5 changes: 5 additions & 0 deletions bridges/modules/xcm-bridge-hub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,21 @@ polkadot-parachain-primitives = { workspace = true }
[features]
default = ["std"]
std = [
"bp-header-chain/std",
"bp-messages/std",
"bp-runtime/std",
"bp-xcm-bridge-hub/std",
"codec/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-balances/std",
"pallet-bridge-messages/std",
"pallet-xcm-bridge-hub-router/std",
"polkadot-parachain-primitives/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"xcm-builder/std",
Expand All @@ -67,6 +71,7 @@ runtime-benchmarks = [
"pallet-balances/runtime-benchmarks",
"pallet-bridge-messages/runtime-benchmarks",
"pallet-xcm-bridge-hub-router/runtime-benchmarks",
"polkadot-parachain-primitives/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
Expand Down
2 changes: 1 addition & 1 deletion bridges/primitives/messages/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ std = [
"serde/std",
"sp-core/std",
"sp-io/std",
"sp-std/std"
"sp-std/std",
]
4 changes: 3 additions & 1 deletion bridges/primitives/polkadot-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ workspace = true
codec = { features = ["derive"], workspace = true }
parity-util-mem = { optional = true, workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { optional = true, features = ["derive"], workspace = true, default-features = true }
serde = { optional = true, features = [
"derive",
], workspace = true, default-features = true }

# Bridge Dependencies

Expand Down
8 changes: 7 additions & 1 deletion bridges/primitives/xcm-bridge-hub-router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@ xcm = { workspace = true }

[features]
default = ["std"]
std = ["codec/std", "scale-info/std", "sp-core/std", "sp-runtime/std", "xcm/std"]
std = [
"codec/std",
"scale-info/std",
"sp-core/std",
"sp-runtime/std",
"xcm/std",
]
8 changes: 6 additions & 2 deletions bridges/relays/client-substrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ log = { workspace = true }
num-traits = { workspace = true, default-features = true }
rand = { workspace = true, default-features = true }
serde_json = { workspace = true }
scale-info = { features = ["derive"], workspace = true, default-features = true }
tokio = { features = ["rt-multi-thread"], workspace = true, default-features = true }
scale-info = { features = [
"derive",
], workspace = true, default-features = true }
tokio = { features = [
"rt-multi-thread",
], workspace = true, default-features = true }
thiserror = { workspace = true }
quick_cache = { workspace = true }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ testnet-parachains-constants = { features = ["rococo"], workspace = true, defaul
xcm = { workspace = true }

# Bridges
bp-bridge-hub-rococo = { workspace = true }
bp-bridge-hub-rococo = { workspace = true }
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ testnet-parachains-constants = { features = ["westend"], workspace = true, defau
xcm = { workspace = true }

# Bridges
bp-bridge-hub-westend = { workspace = true }
bp-bridge-hub-westend = { workspace = true }

0 comments on commit 8b3d611

Please sign in to comment.