Don't leak std feature to WASM (#81)

This commit is contained in:
Bastian Köcher
2020-04-21 10:34:41 +02:00
committed by GitHub
parent 41e5f0dcfd
commit 9f9b3fb4c6
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -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" ]
+1 -1
View File
@@ -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"