hashes: Bump version to 0.13.0
Add a changelog entry and bump the version to 0.13.0 Does not include changes to `bitcoin` to depend on the new version.
This commit is contained in:
parent
1991b7af40
commit
53f68383b7
|
@ -38,7 +38,7 @@ dependencies = [
|
||||||
"bech32",
|
"bech32",
|
||||||
"bincode",
|
"bincode",
|
||||||
"bitcoin-internals",
|
"bitcoin-internals",
|
||||||
"bitcoin_hashes",
|
"bitcoin_hashes 0.13.0",
|
||||||
"bitcoinconsensus",
|
"bitcoinconsensus",
|
||||||
"core2",
|
"core2",
|
||||||
"hex-conservative",
|
"hex-conservative",
|
||||||
|
@ -69,9 +69,24 @@ dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "bitcoin-private"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "73290177011694f38ec25e165d0387ab7ea749a4b81cd4c80dae5988229f7a57"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bitcoin_hashes"
|
name = "bitcoin_hashes"
|
||||||
version = "0.12.0"
|
version = "0.12.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "5d7066118b13d4b20b23645932dfb3a81ce7e29f95726c2036fa33cd7b092501"
|
||||||
|
dependencies = [
|
||||||
|
"bitcoin-private",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "bitcoin_hashes"
|
||||||
|
version = "0.13.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitcoin-internals",
|
"bitcoin-internals",
|
||||||
"core2",
|
"core2",
|
||||||
|
@ -396,7 +411,7 @@ version = "0.27.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f"
|
checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitcoin_hashes",
|
"bitcoin_hashes 0.12.0",
|
||||||
"rand",
|
"rand",
|
||||||
"secp256k1-sys",
|
"secp256k1-sys",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
@ -37,7 +37,7 @@ dependencies = [
|
||||||
"bech32",
|
"bech32",
|
||||||
"bincode",
|
"bincode",
|
||||||
"bitcoin-internals",
|
"bitcoin-internals",
|
||||||
"bitcoin_hashes",
|
"bitcoin_hashes 0.13.0",
|
||||||
"bitcoinconsensus",
|
"bitcoinconsensus",
|
||||||
"core2",
|
"core2",
|
||||||
"hex-conservative",
|
"hex-conservative",
|
||||||
|
@ -68,9 +68,24 @@ dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "bitcoin-private"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "73290177011694f38ec25e165d0387ab7ea749a4b81cd4c80dae5988229f7a57"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bitcoin_hashes"
|
name = "bitcoin_hashes"
|
||||||
version = "0.12.0"
|
version = "0.12.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "5d7066118b13d4b20b23645932dfb3a81ce7e29f95726c2036fa33cd7b092501"
|
||||||
|
dependencies = [
|
||||||
|
"bitcoin-private",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "bitcoin_hashes"
|
||||||
|
version = "0.13.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitcoin-internals",
|
"bitcoin-internals",
|
||||||
"core2",
|
"core2",
|
||||||
|
@ -385,7 +400,7 @@ version = "0.27.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f"
|
checksum = "25996b82292a7a57ed3508f052cfff8640d38d32018784acd714758b43da9c8f"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitcoin_hashes",
|
"bitcoin_hashes 0.12.0",
|
||||||
"rand",
|
"rand",
|
||||||
"secp256k1-sys",
|
"secp256k1-sys",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
@ -37,7 +37,7 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||||
internals = { package = "bitcoin-internals", version = "0.2.0" }
|
internals = { package = "bitcoin-internals", version = "0.2.0" }
|
||||||
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
|
hex = { package = "hex-conservative", version = "0.1.1", default-features = false }
|
||||||
bech32 = { version = "0.9.0", default-features = false }
|
bech32 = { version = "0.9.0", default-features = false }
|
||||||
hashes = { package = "bitcoin_hashes", version = "0.12.0", default-features = false }
|
hashes = { package = "bitcoin_hashes", version = "0.13.0", default-features = false }
|
||||||
secp256k1 = { version = "0.27.0", default-features = false, features = ["bitcoin_hashes"] }
|
secp256k1 = { version = "0.27.0", default-features = false, features = ["bitcoin_hashes"] }
|
||||||
hex_lit = "0.1.1"
|
hex_lit = "0.1.1"
|
||||||
|
|
||||||
|
|
|
@ -36,9 +36,12 @@ then
|
||||||
duplicate_dependencies=$(
|
duplicate_dependencies=$(
|
||||||
# Only show the actual duplicated deps, not their reverse tree, then
|
# Only show the actual duplicated deps, not their reverse tree, then
|
||||||
# whitelist the 'syn' crate which is duplicated but it's not our fault.
|
# whitelist the 'syn' crate which is duplicated but it's not our fault.
|
||||||
|
#
|
||||||
|
# Whitelist `bitcoin_hashes` while we release it and until secp v0.28.0 comes out.
|
||||||
cargo tree --target=all --all-features --duplicates \
|
cargo tree --target=all --all-features --duplicates \
|
||||||
| grep '^[0-9A-Za-z]' \
|
| grep '^[0-9A-Za-z]' \
|
||||||
| grep -v 'syn' \
|
| grep -v 'syn' \
|
||||||
|
| grep -v 'bitcoin_hashes' \
|
||||||
| wc -l
|
| wc -l
|
||||||
)
|
)
|
||||||
if [ "$duplicate_dependencies" -ne 0 ]; then
|
if [ "$duplicate_dependencies" -ne 0 ]; then
|
||||||
|
|
|
@ -1,6 +1,18 @@
|
||||||
# Unreleased
|
# 0.13.0 - 2023-06-29
|
||||||
|
|
||||||
|
The main improvement in this version is removal of the `hex` module in favour of the new
|
||||||
|
[`hex-conservative`](https://crates.io/crates/hex-conservative) crate (which we wrote). We also
|
||||||
|
bumped the Minimum Supported Rust Version across the `rust-bitcoin` ecosystem to v1.48
|
||||||
|
|
||||||
|
* Bump MSRV to 1.48.0 [#1729](https://github.com/rust-bitcoin/rust-bitcoin/pull/1729).
|
||||||
|
* Depend on new `hex-conservative` crate and remove `hex` module [#1883](https://github.com/rust-bitcoin/rust-bitcoin/pull/1833).
|
||||||
* Convert enum `crate::Error` to struct `crate::FromSliceError`.
|
* Convert enum `crate::Error` to struct `crate::FromSliceError`.
|
||||||
|
* Make `sha256t_hash_newtype!` evocative of the output [#1773](https://github.com/rust-bitcoin/rust-bitcoin/pull/1773).
|
||||||
|
* Implement computing SHA256 in const context [#1769](https://github.com/rust-bitcoin/rust-bitcoin/pull/1769).
|
||||||
|
* Add `from_bytes_ref` and `from_bytes_mut` to all hash types [#1761](https://github.com/rust-bitcoin/rust-bitcoin/pull/1761).
|
||||||
|
* Rename `crate::Error` to `crate::FromSliceError` [#1873](https://github.com/rust-bitcoin/rust-bitcoin/pull/1873).
|
||||||
|
* Add simd sha256 intrinsics for x86 machines [#1962](https://github.com/rust-bitcoin/rust-bitcoin/pull/1962).
|
||||||
|
* Introduce the "small-hash" feature for `bitcoin_hashes` [#1990](https://github.com/rust-bitcoin/rust-bitcoin/pull/1990).
|
||||||
|
|
||||||
# 0.12.0 - 2023-03-05
|
# 0.12.0 - 2023-03-05
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "bitcoin_hashes"
|
name = "bitcoin_hashes"
|
||||||
version = "0.12.0"
|
version = "0.13.0"
|
||||||
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
|
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
|
||||||
license = "CC0-1.0"
|
license = "CC0-1.0"
|
||||||
repository = "https://github.com/rust-bitcoin/rust-bitcoin"
|
repository = "https://github.com/rust-bitcoin/rust-bitcoin"
|
||||||
|
|
Loading…
Reference in New Issue