Merge rust-bitcoin/rust-bitcoin#2087: hashes: Remove unnecessary dependencies

34b20dfed1 Remove unused internals dependency (Tobin C. Harding)

Pull request description:

  `hashes` no longer depends on `internals`.

  EDIT: If anyone saw that, I'm a total wombat, clearly cannot remove `core2` dependency.

ACKs for top commit:
  apoelstra:
    ACK 34b20dfed1
  clarkmoody:
    ACK 34b20dfed1

Tree-SHA512: 7d8950e1859f0fa72a7ceef232080b186471a3c8e88a4d355d7973dc4e1f48c3c9da753128e685794defebbfe7038e24b1ea13aada45b7e1e79f4aaf6399b650
This commit is contained in:
Andrew Poelstra 2023-09-26 20:24:58 +00:00
commit c3d4d8a4b4
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
3 changed files with 2 additions and 5 deletions

View File

@ -88,7 +88,6 @@ dependencies = [
name = "bitcoin_hashes"
version = "0.13.0"
dependencies = [
"bitcoin-internals",
"core2",
"hex-conservative",
"schemars",

View File

@ -87,7 +87,6 @@ dependencies = [
name = "bitcoin_hashes"
version = "0.13.0"
dependencies = [
"bitcoin-internals",
"core2",
"hex-conservative",
"schemars",

View File

@ -14,8 +14,8 @@ exclude = ["tests", "contrib"]
[features]
default = ["std"]
std = ["alloc", "internals/std", "hex/std"]
alloc = ["internals/alloc", "hex/alloc"]
std = ["alloc", "hex/std"]
alloc = ["hex/alloc"]
serde-std = ["serde/std"]
# If you want I/O you must enable either "std" or "core2".
core2 = ["actual-core2", "hex/core2"]
@ -27,7 +27,6 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
internals = { package = "bitcoin-internals", version = "0.2.0" }
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
schemars = { version = "0.8.3", optional = true }