hashes: Remove serde-std feature
We do not need to enable the "std" feature on `serde`.
This commit is contained in:
parent
d08d3efdfa
commit
1c4614ea30
|
@ -17,7 +17,6 @@ exclude = ["tests", "contrib"]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = ["alloc", "hex/std", "bitcoin-io/std"]
|
std = ["alloc", "hex/std", "bitcoin-io/std"]
|
||||||
alloc = ["hex/alloc"]
|
alloc = ["hex/alloc"]
|
||||||
serde-std = ["serde/std"]
|
|
||||||
# If you want I/O you must enable either "std" or "io".
|
# If you want I/O you must enable either "std" or "io".
|
||||||
io = ["bitcoin-io"]
|
io = ["bitcoin-io"]
|
||||||
# Smaller (but slower) implementation of sha256, sha512 and ripemd160
|
# Smaller (but slower) implementation of sha256, sha512 and ripemd160
|
||||||
|
@ -32,7 +31,6 @@ hex = { package = "hex-conservative", version = "0.1.1", default-features = fals
|
||||||
|
|
||||||
bitcoin-io = { version = "0.1", default-features = false, optional = true }
|
bitcoin-io = { version = "0.1", default-features = false, optional = true }
|
||||||
schemars = { version = "0.8.3", default-features = false, optional = true }
|
schemars = { version = "0.8.3", default-features = false, optional = true }
|
||||||
# Only enable this if you explicitly do not want to use "std", otherwise enable "serde-std".
|
|
||||||
serde = { version = "1.0", default-features = false, optional = true }
|
serde = { version = "1.0", default-features = false, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
FEATURES="serde serde-std std io alloc"
|
FEATURES="serde std io alloc"
|
||||||
|
|
||||||
cargo --version
|
cargo --version
|
||||||
rustc --version
|
rustc --version
|
||||||
|
|
Loading…
Reference in New Issue