What changed, and why it matters
This commit is a routine release preparation: it bumps the version number of the `bitcoin-units` crate from 1.0.0-rc.0 to 1.0.0-rc.1, updates the two lock files, adds an explicit version requirement to the dependency declarations in three other crates, and moves a couple of changelog entries under the new release heading. There are no code changes, no bug fixes, and no security-relevant behavior changes in the diff.
No security action required. Treat as normal release housekeeping.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is purely metadata and bookkeeping. It changes version = "1.0.0-rc.0" to version = "1.0.0-rc.1" in units/Cargo.toml and the generated Cargo-minimal.lock/Cargo-recent.lock entries. It also adds version = "1.0.0-rc.1" to the path-based units dependency tables in bitcoin/Cargo.toml, p2p/Cargo.toml, and primitives/Cargo.toml. The units/CHANGELOG.md is reorganized: the # Unreleased section is removed and its items are merged into the 1.0.0 section. No Rust source files are modified.
Changed components
bitcoin-units crate version metadataworkspace Cargo.lock filesbitcoin/Cargo.toml dependency declarationp2p/Cargo.toml dependency declarationprimitives/Cargo.toml dependency declarationunits/CHANGELOG.mdInspect captured patch +10 / −10
diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock
index f48667a2..576e7a81 100644
--- a/Cargo-minimal.lock
+++ b/Cargo-minimal.lock
@@ -149,7 +149,7 @@ dependencies = [
[[package]]
name = "bitcoin-units"
-version = "1.0.0-rc.0"
+version = "1.0.0-rc.1"
dependencies = [
"arbitrary",
"bincode",
diff --git a/Cargo-recent.lock b/Cargo-recent.lock
index dff4a7a9..322bc54a 100644
--- a/Cargo-recent.lock
+++ b/Cargo-recent.lock
@@ -148,7 +148,7 @@ dependencies = [
[[package]]
name = "bitcoin-units"
-version = "1.0.0-rc.0"
+version = "1.0.0-rc.1"
dependencies = [
"arbitrary",
"bincode",
diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml
index 3785888f..30d0f3c9 100644
--- a/bitcoin/Cargo.toml
+++ b/bitcoin/Cargo.toml
@@ -34,7 +34,7 @@ internals = { package = "bitcoin-internals", path = "../internals", features = [
io = { package = "bitcoin-io", path = "../io", default-features = false, features = ["alloc", "hashes"] }
primitives = { package = "bitcoin-primitives", path = "../primitives", default-features = false, features = ["alloc", "hex"] }
secp256k1 = { version = "0.30.0", default-features = false, features = ["hashes", "alloc"] }
-units = { package = "bitcoin-units", path = "../units", default-features = false, features = ["alloc"] }
+units = { package = "bitcoin-units", path = "../units", version = "1.0.0-rc.1", default-features = false, features = ["alloc"] }
arbitrary = { version = "1.4.1", optional = true }
base64 = { version = "0.22.0", optional = true, default-features = false, features = ["alloc"] }
diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml
index b22d759d..799df54b 100644
--- a/p2p/Cargo.toml
+++ b/p2p/Cargo.toml
@@ -23,7 +23,7 @@ hashes = { package = "bitcoin_hashes", path = "../hashes", default-features = fa
hex = { package = "hex-conservative", version = "0.3.0", default-features = false }
internals = { package = "bitcoin-internals", path = "../internals", default-features = false }
io = { package = "bitcoin-io", path = "../io", default-features = false }
-units = { package = "bitcoin-units", path = "../units", default-features = false }
+units = { package = "bitcoin-units", path = "../units", version = "1.0.0-rc.1", default-features = false }
arbitrary = { version = "1.4.1", optional = true }
diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml
index bd5678e1..ec989e0a 100644
--- a/primitives/Cargo.toml
+++ b/primitives/Cargo.toml
@@ -26,7 +26,7 @@ hex = ["dep:hex", "hashes/hex", "internals/hex"]
encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encoding", version = "1.0.0-rc.0", default-features = false }
hashes = { package = "bitcoin_hashes", path = "../hashes", default-features = false }
internals = { package = "bitcoin-internals", path = "../internals" }
-units = { package = "bitcoin-units", path = "../units", default-features = false, features = [ "encoding" ] }
+units = { package = "bitcoin-units", path = "../units", version = "1.0.0-rc.1", default-features = false, features = [ "encoding" ] }
arrayvec = { version = "0.7.2", default-features = false }
arbitrary = { version = "1.4.1", optional = true }
diff --git a/units/CHANGELOG.md b/units/CHANGELOG.md
index a84692e4..2fe4daa9 100644
--- a/units/CHANGELOG.md
+++ b/units/CHANGELOG.md
@@ -1,7 +1,3 @@
-# Unreleased
-
-- Do not re-export doc hidden macros
-
# 1.0.0 - 2025-02-24
BOOM! A long time in the making but here goes, our first 1.0 crate release.
@@ -36,6 +32,10 @@ This changelog is a rolling description of everything that will eventually end u
* Change parameter type used for whole bitcoin [#3744](https://github.com/rust-bitcoin/rust-bitcoin/pull/3744)
* Add `Weight::to_kwu_ceil` [#3740](https://github.com/rust-bitcoin/rust-bitcoin/pull/3740)
* Replace `String` with `InputString` [#3559](https://github.com/rust-bitcoin/rust-bitcoin/pull/3559)
+* Do not re-export doc hidden macros
+* Use the new `consensus_encoding` crate to re-write encoding logic.
+ * Decoders with phantoms [#5008](https://github.com/rust-bitcoin/rust-bitcoin/pull/5008)
+ * Improve the decoders [#5027](https://github.com/rust-bitcoin/rust-bitcoin/pull/5027)
## Changes relate to error types
diff --git a/units/Cargo.toml b/units/Cargo.toml
index 1686ad1b..483ace00 100644
--- a/units/Cargo.toml
+++ b/units/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bitcoin-units"
-version = "1.0.0-rc.0"
+version = "1.0.0-rc.1"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>", "Tobin C. Harding <me@tobin.cc>"]
license = "CC0-1.0"
repository = "https://github.com/rust-bitcoin/rust-bitcoin/"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.