From a211a2519ffb36cba96c6979886ede5e7639e945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= <bkchr@users.noreply.github.com> Date: Tue, 28 Apr 2020 14:30:23 +0200 Subject: [PATCH] Fix some features handling (#1045) --- polkadot/parachain/Cargo.toml | 1 - polkadot/runtime/common/Cargo.toml | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/polkadot/parachain/Cargo.toml b/polkadot/parachain/Cargo.toml index 17679ae8063..09843048476 100644 --- a/polkadot/parachain/Cargo.toml +++ b/polkadot/parachain/Cargo.toml @@ -39,7 +39,6 @@ std = [ "sp-core/std", "parking_lot", "log", - "sp-runtime-interface", "sp-runtime-interface/std", "sp-externalities", "sc-executor", diff --git a/polkadot/runtime/common/Cargo.toml b/polkadot/runtime/common/Cargo.toml index 573b1f6be39..03988dec3b5 100644 --- a/polkadot/runtime/common/Cargo.toml +++ b/polkadot/runtime/common/Cargo.toml @@ -38,23 +38,26 @@ libsecp256k1 = { version = "0.3.2", default-features = false, optional = true } hex-literal = "0.2.1" keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -babe = { package = "pallet-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +babe = { package = "pallet-babe", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "master" } pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" } -treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "master" } trie-db = "0.20.0" serde_json = "1.0.41" libsecp256k1 = "0.3.2" [features] -default = [] +default = ["std"] no_std = [] std = [ "bitvec/std", - "primitives/std", - "rustc-hex/std", "codec/std", + "log", + "rustc-hex/std", + "serde_derive", + "serde/std", + "primitives/std", "inherents/std", "sp-core/std", "sp-api/std", @@ -70,9 +73,6 @@ std = [ "system/std", "timestamp/std", "vesting/std", - "serde_derive", - "serde/std", - "log", ] runtime-benchmarks = [ "libsecp256k1/hmac", -- GitLab