From 4a40ffea4e7a7e97708a0915f6590eaa2864fb1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Fri, 2 Sep 2022 22:34:50 +0200 Subject: [PATCH 1/2] Service: Use weak dependency features --- node/service/Cargo.toml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index ee35e7446e40..982d6bde468f 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -174,31 +174,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" ] From 146bad05bd142cba3346540efdb3757e63cbda2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Fri, 2 Sep 2022 22:49:27 +0200 Subject: [PATCH 2/2] Set rust version --- node/service/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 982d6bde468f..8863c63a5a29 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -3,6 +3,7 @@ name = "polkadot-service" version = "0.9.28" authors = ["Parity Technologies "] edition = "2021" +rust-version = "1.60" [dependencies] # Substrate Client