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

This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-04-21 10:34:41 +02:00
1 parent 41e5f0dcfd
commit 9f9b3fb4c6
2 files changed
+6 -6

No files matched your search

+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"