mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 22:45:40 +00:00
make polkadot-runtime optional feature (#3820)
* make polkadot-runtime optional feature * sprinkle some cfg statements * ok * ok, ok * add CI check * set -e * chmod +x * fixes * fmt * nicer compile errors * Update outdated comments
This commit is contained in:
@@ -32,7 +32,7 @@ pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branc
|
||||
beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master" }
|
||||
|
||||
# Polkadot Runtimes
|
||||
polkadot-runtime = { path = "../../runtime/polkadot" }
|
||||
polkadot-runtime = { path = "../../runtime/polkadot", optional = true }
|
||||
kusama-runtime = { path = "../../runtime/kusama", optional = true }
|
||||
westend-runtime = { path = "../../runtime/westend", optional = true }
|
||||
rococo-runtime = { path = "../../runtime/rococo", optional = true }
|
||||
@@ -40,6 +40,8 @@ rococo-runtime = { path = "../../runtime/rococo", optional = true }
|
||||
polkadot-primitives = { path = "../../primitives" }
|
||||
|
||||
[features]
|
||||
default = ["polkadot"]
|
||||
polkadot = ["polkadot-runtime"]
|
||||
kusama = ["kusama-runtime"]
|
||||
rococo = ["rococo-runtime"]
|
||||
westend = ["westend-runtime"]
|
||||
|
||||
Reference in New Issue
Block a user