Fix node-rpc-client compilation (#4159)

* Fix `node-rpc-client` compilation

* Enable `alloc` feature of `zeroize` on `std`
This commit is contained in:
Bastian Köcher
2019-11-20 21:33:20 +01:00
committed by GitHub
parent df7d3982d7
commit b1625f1a44
4 changed files with 7 additions and 12 deletions
+2 -1
View File
@@ -28,7 +28,7 @@ tiny-bip39 = { version = "0.6.2", optional = true }
hex = { version = "0.4", default-features = false, optional = true }
regex = { version = "1.3.1", optional = true }
num-traits = { version = "0.2.8", default-features = false }
zeroize = { version = "0.10.1", default-features = false }
zeroize = { version = "1.0.0", default-features = false }
lazy_static = { version = "1.4.0", default-features = false, optional = true }
parking_lot = { version = "0.9.0", optional = true }
libsecp256k1 = { version = "0.3.0", default-features = false, optional = true }
@@ -93,6 +93,7 @@ std = [
"externalities",
"primitives-storage/std",
"runtime-interface/std",
"zeroize/alloc"
]
# This feature enables all crypto primitives for `no_std` builds like microcontrollers