Skip to content

Commit 0fb6e3c

Browse files
authored
Umbrella crate: exclude chain-specific crates (#5173)
Uses custom metadata to exclude chain-specific crates. The only concern is that devs who want to use chain-specific crates, still need to select matching versions numbers. Could possibly be addresses with chain-specific umbrella crates, but currently it should be possible to use [psvm](https://github.com/paritytech/psvm). --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]>
1 parent 8af9889 commit 0fb6e3c

19 files changed

Lines changed: 119 additions & 157 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bridges/chains/chain-asset-hub-rococo/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

bridges/chains/chain-asset-hub-westend/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

bridges/chains/chain-bridge-hub-cumulus/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

bridges/chains/chain-bridge-hub-kusama/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

bridges/chains/chain-bridge-hub-polkadot/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

bridges/chains/chain-bridge-hub-rococo/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

bridges/chains/chain-bridge-hub-westend/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

bridges/chains/chain-kusama/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

bridges/chains/chain-polkadot-bulletin/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ edition.workspace = true
77
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
88
repository.workspace = true
99

10+
[package.metadata.polkadot-sdk]
11+
exclude-from-umbrella = true
12+
1013
[lints]
1114
workspace = true
1215

0 commit comments

Comments
 (0)