primitives: Do not depend on bitcoin_io

Currently the `primitives` crate does not use the `io` dependency. I
don't know if this is just a mistake of if it used to and the manifest
is just stale.
This commit is contained in:
Tobin C. Harding 2025-02-10 10:50:59 +11:00
parent 9c3a52be88
commit 9833ca32ce
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
3 changed files with 2 additions and 5 deletions

View File

@ -107,7 +107,6 @@ dependencies = [
"arbitrary",
"bincode",
"bitcoin-internals",
"bitcoin-io",
"bitcoin-units",
"bitcoin_hashes 0.16.0",
"hex-conservative 0.3.0",

View File

@ -106,7 +106,6 @@ dependencies = [
"arbitrary",
"bincode",
"bitcoin-internals",
"bitcoin-io",
"bitcoin-units",
"bitcoin_hashes 0.16.0",
"hex-conservative 0.3.0",

View File

@ -16,8 +16,8 @@ exclude = ["tests", "contrib"]
[features]
default = ["std"]
std = ["alloc", "hashes/std", "hex/std", "internals/std", "io/std", "units/std"]
alloc = ["hashes/alloc", "hex/alloc", "internals/alloc", "io/alloc", "units/alloc"]
std = ["alloc", "hashes/std", "hex/std", "internals/std", "units/std"]
alloc = ["hashes/alloc", "hex/alloc", "internals/alloc", "units/alloc"]
serde = ["dep:serde", "hashes/serde", "internals/serde", "units/serde", "alloc"]
arbitrary = ["dep:arbitrary", "units/arbitrary"]
@ -25,7 +25,6 @@ arbitrary = ["dep:arbitrary", "units/arbitrary"]
hashes = { package = "bitcoin_hashes", version = "0.16.0", default-features = false, features = ["bitcoin-io", "hex"] }
hex = { package = "hex-conservative", version = "0.3.0", default-features = false }
internals = { package = "bitcoin-internals", version = "0.4.0" }
io = { package = "bitcoin-io", version = "0.2.0", default-features = false }
units = { package = "bitcoin-units", version = "0.2.0", default-features = false }
arbitrary = { version = "1.4", optional = true }