Merge rust-bitcoin/rust-bitcoin#3187: Remove misleading version metadata

c9053511b2 Remove misleading version metadata (Martin Habovstiak)

Pull request description:

  The metadata in dependency specification was misleading because the version was not guaranteed to be the same anyway this was correctly linted but nobody so far cared to fix it. This change fixes it and adds a hint how to get the real version since some people seem still confused about how these things work.

ACKs for top commit:
  apoelstra:
    ACK c9053511b2 successfully ran local tests
  tcharding:
    ACK c9053511b2

Tree-SHA512: 99d849b1c1b202a429bc7eb25394ff84ba720b3ca6e73bce615f767e0924f5ef63a87553214f0f4fadd3b68ea84246ab8284d75df56cbbe794da7dea0d169dd9
This commit is contained in:
merge-script 2024-08-21 12:34:14 +00:00
commit b05cf43d22
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ units = { package = "bitcoin-units", version = "0.1.0", default-features = false
base64 = { version = "0.22.0", optional = true } base64 = { version = "0.22.0", optional = true }
ordered = { version = "0.2.0", optional = true } ordered = { version = "0.2.0", optional = true }
bitcoinconsensus = { version = "0.106.0+26", default-features = false, optional = true } # `bitcoinconsensus` version includes metadata which indicates the version of Core. Use `cargo tree` to see it.
bitcoinconsensus = { version = "0.106.0", default-features = false, optional = true }
serde = { version = "1.0.103", default-features = false, features = [ "derive", "alloc" ], optional = true } serde = { version = "1.0.103", default-features = false, features = [ "derive", "alloc" ], optional = true }