Merge rust-bitcoin/rust-bitcoin#2655: units: Release tracking PR: `0.1.1`

e06ebd69e7 units: Bump version number to 0.1.1 (Tobin C. Harding)
a2b019f823 Enable internals "alloc" feature (Tobin C. Harding)

Pull request description:

  Fix a minor internal bug in error code in `units` and bump the version number so we can do a point release.

  This can go in after the RC drops as part of the release candidate cycle if its easier - as long as its in and released before the finale `v0.32.0` release.

ACKs for top commit:
  apoelstra:
    ACK e06ebd69e7
  sanket1729:
    ACK e06ebd69e7

Tree-SHA512: b6523fae57ba3becf27c0a11fe0b1d75db9226d01bde527390e2cf1697520d5daabc5ef3909b2c464b14f38ba4f8ab87aa49d17a1d054767920963ef1c3ef3b9
This commit is contained in:
Andrew Poelstra 2024-04-04 20:54:43 +00:00
commit a5eee3eadc
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
6 changed files with 11 additions and 6 deletions

View File

@ -92,7 +92,7 @@ version = "0.1.2"
[[package]]
name = "bitcoin-units"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"bitcoin-internals",
"serde",

View File

@ -91,7 +91,7 @@ version = "0.1.2"
[[package]]
name = "bitcoin-units"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"bitcoin-internals",
"serde",

View File

@ -22,7 +22,7 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
hashes = { package = "bitcoin_hashes", version = "0.14.0", default-features = false, features = ["alloc"] }
internals = { package = "bitcoin-internals", version = "0.3.0" }
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
[dev-dependencies]
hex = { package = "hex-conservative", version = "0.2.0", default-features = false, features = ["alloc"] }

View File

@ -33,7 +33,7 @@ bech32 = { version = "0.11.0", default-features = false, features = ["alloc"] }
hashes = { package = "bitcoin_hashes", version = "0.14.0", default-features = false, features = ["alloc", "io"] }
hex = { package = "hex-conservative", version = "0.2.0", default-features = false, features = ["alloc"] }
hex_lit = "0.1.1"
internals = { package = "bitcoin-internals", version = "0.3.0" }
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
io = { package = "bitcoin-io", version = "0.1.1", default-features = false, features = ["alloc"] }
secp256k1 = { version = "0.29.0", default-features = false, features = ["hashes", "alloc"] }
units = { package = "bitcoin-units", version = "0.1.0", default-features = false, features = ["alloc"] }

View File

@ -1,3 +1,8 @@
# 0.1.1 - 2024-04-04
* Enable "alloc" feature for `internals` dependency - enables caching
of parsed input strings in a couple of `amount` error types.
# 0.1.0 - Initial Release - 2024-04-03
Initial release of the `bitcoin-units` crate. These unit types are

View File

@ -1,6 +1,6 @@
[package]
name = "bitcoin-units"
version = "0.1.0"
version = "0.1.1"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"
@ -22,7 +22,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
internals = { package = "bitcoin-internals", version = "0.3.0" }
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
serde = { version = "1.0.103", default-features = false, features = ["derive"], optional = true }