use parity-wasm/std feature only if std is enabled

This commit is contained in:
Julius Rakow 2018-08-24 23:58:44 +02:00
parent 704f96e2e7
commit 606c006e1c
No known key found for this signature in database
GPG Key ID: 9AABD9B859435A93
1 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,10 @@ exclude = [ "/res/*", "/tests/*", "/fuzz/*", "/benches/*" ]
[features]
default = ["std"]
# Disable for no_std support
std = []
std = ["parity-wasm/std"]
[dependencies]
parity-wasm = "0.31"
parity-wasm = { version = "0.31", default-features = false }
byteorder = "1.0"
memory_units = "0.3.0"
nan-preserving-float = "0.1.0"