Make serde dependency no_std as well
This commit is contained in:
parent
1f1d761930
commit
8097eba396
|
@ -16,7 +16,7 @@ path = "src/lib.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [ "std" ]
|
default = [ "std" ]
|
||||||
std = []
|
std = [ "serde/std" ]
|
||||||
|
|
||||||
# Note: English is the standard for bip39 so always included
|
# Note: English is the standard for bip39 so always included
|
||||||
chinese-simplified = []
|
chinese-simplified = []
|
||||||
|
@ -44,7 +44,7 @@ bitcoin_hashes = "0.9.4"
|
||||||
unicode-normalization = "=0.1.9"
|
unicode-normalization = "=0.1.9"
|
||||||
|
|
||||||
rand = { version = "0.6.0", optional = true }
|
rand = { version = "0.6.0", optional = true }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", default-features = false, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rand = { version = "0.6.0", optional = false }
|
rand = { version = "0.6.0", optional = false }
|
||||||
|
|
Loading…
Reference in New Issue