From 9f9b3fb4c6aa01401eeb45d47bef1cb21daf16f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Tue, 21 Apr 2020 10:34:41 +0200 Subject: [PATCH] Don't leak std feature to WASM (#81) --- cumulus/message-broker/Cargo.toml | 10 +++++----- cumulus/primitives/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cumulus/message-broker/Cargo.toml b/cumulus/message-broker/Cargo.toml index d2bf5358f4..e93b756f4c 100644 --- a/cumulus/message-broker/Cargo.toml +++ b/cumulus/message-broker/Cargo.toml @@ -6,15 +6,15 @@ edition = "2018" [dependencies] # substrate deps -frame-support = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", default-features = false } # Other dependencies -codec = { package = "parity-scale-codec", version = "1.3.0", features = [ "derive" ] } +codec = { package = "parity-scale-codec", version = "1.3.0", features = [ "derive" ], default-features = false } # Cumulus dependencies -cumulus-primitives = { path = "../primitives" } +cumulus-primitives = { path = "../primitives", default-features = false } [features] default = [ "std" ] diff --git a/cumulus/primitives/Cargo.toml b/cumulus/primitives/Cargo.toml index cd772dcea8..19d80bdbd8 100644 --- a/cumulus/primitives/Cargo.toml +++ b/cumulus/primitives/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] # Substrate dependencies -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "cumulus-branch", default-features = false } # Other dependencies impl-trait-for-tuples = "0.1.3"