hashes: Remove serde-std feature

We do not need to enable the "std" feature on `serde`.
This commit is contained in:
Tobin C. Harding 2024-01-24 12:48:07 +11:00
parent d08d3efdfa
commit 1c4614ea30
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
2 changed files with 1 additions and 3 deletions

View File

@ -17,7 +17,6 @@ exclude = ["tests", "contrib"]
default = ["std"]
std = ["alloc", "hex/std", "bitcoin-io/std"]
alloc = ["hex/alloc"]
serde-std = ["serde/std"]
# If you want I/O you must enable either "std" or "io".
io = ["bitcoin-io"]
# 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 }
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 }
[dev-dependencies]

View File

@ -2,7 +2,7 @@
set -ex
FEATURES="serde serde-std std io alloc"
FEATURES="serde std io alloc"
cargo --version
rustc --version