Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Service: Use weak dependency features (#5966)
Browse files Browse the repository at this point in the history
* Service: Use weak dependency features

* Set rust version
  • Loading branch information
bkchr authored Sep 8, 2022
1 parent 850d1f5 commit 7449579
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions node/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "polkadot-service"
version = "0.9.28"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
rust-version = "1.60"

[dependencies]
# Substrate Client
Expand Down Expand Up @@ -174,31 +175,31 @@ westend-native = [ "westend-runtime", "westend-runtime-constants", "polkadot-cli
rococo-native = [ "rococo-runtime", "rococo-runtime-constants", "polkadot-client/rococo" ]

runtime-benchmarks = [
"polkadot-runtime/runtime-benchmarks",
"kusama-runtime/runtime-benchmarks",
"westend-runtime/runtime-benchmarks",
"rococo-runtime/runtime-benchmarks"
"polkadot-runtime?/runtime-benchmarks",
"kusama-runtime?/runtime-benchmarks",
"westend-runtime?/runtime-benchmarks",
"rococo-runtime?/runtime-benchmarks"
]
try-runtime = [
"polkadot-runtime/try-runtime",
"kusama-runtime/try-runtime",
"westend-runtime/try-runtime",
"rococo-runtime/try-runtime",
"polkadot-runtime?/try-runtime",
"kusama-runtime?/try-runtime",
"westend-runtime?/try-runtime",
"rococo-runtime?/try-runtime",
]
fast-runtime = [
"polkadot-runtime/fast-runtime",
"kusama-runtime/fast-runtime",
"westend-runtime/fast-runtime",
"rococo-runtime/fast-runtime",
"polkadot-runtime?/fast-runtime",
"kusama-runtime?/fast-runtime",
"westend-runtime?/fast-runtime",
"rococo-runtime?/fast-runtime",
]

malus = ["full-node"]
runtime-metrics = [
"polkadot-client/runtime-metrics",
"rococo-runtime/runtime-metrics",
"westend-runtime/runtime-metrics",
"kusama-runtime/runtime-metrics",
"polkadot-runtime/runtime-metrics",
"rococo-runtime?/runtime-metrics",
"westend-runtime?/runtime-metrics",
"kusama-runtime?/runtime-metrics",
"polkadot-runtime?/runtime-metrics",
"polkadot-runtime-parachains/runtime-metrics"
]

Expand Down

0 comments on commit 7449579

Please sign in to comment.