Release tracking PR: `primitives v1.0.0-rc.1`
What changed, and why it matters
This commit is a routine release-tracking change. It bumps the version number of the `bitcoin-primitives` crate from `1.0.0-rc.0` to `1.0.0-rc.1` in lock files and dependency manifests, and replaces placeholder "TBD" strings in deprecation notices with actual version numbers. There are no functional code changes and no security implications.
No security action required. Treat as a normal release/version-bump commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is purely administrative: version bumps in Cargo-minimal.lock, Cargo-recent.lock, bitcoin/Cargo.toml, and primitives/Cargo.toml; and #[deprecated(since = "TBD", ...)] attributes updated to concrete versions (1.0.0-rc.0 or 0.101.0). No logic, API behavior, or cryptographic code was modified.
Changed components
primitives/Cargo.tomlbitcoin/Cargo.tomlCargo-minimal.lockCargo-recent.lockprimitives/src/lib.rsprimitives/src/pow.rsprimitives/src/script/borrowed.rsprimitives/src/script/owned.rsInspect captured patch +9 / −9
diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock
index 9a5e72f2..4dc40996 100644
--- a/Cargo-minimal.lock
+++ b/Cargo-minimal.lock
@@ -134,7 +134,7 @@ dependencies = [
[[package]]
name = "bitcoin-primitives"
-version = "1.0.0-rc.0"
+version = "1.0.0-rc.1"
dependencies = [
"arbitrary",
"arrayvec",
diff --git a/Cargo-recent.lock b/Cargo-recent.lock
index 377b032d..82d8563c 100644
--- a/Cargo-recent.lock
+++ b/Cargo-recent.lock
@@ -133,7 +133,7 @@ dependencies = [
[[package]]
name = "bitcoin-primitives"
-version = "1.0.0-rc.0"
+version = "1.0.0-rc.1"
dependencies = [
"arbitrary",
"arrayvec",
diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml
index b8ee2dcd..9ed73b0b 100644
--- a/bitcoin/Cargo.toml
+++ b/bitcoin/Cargo.toml
@@ -31,7 +31,7 @@ hashes = { package = "bitcoin_hashes", path = "../hashes", version = "0.18.0", d
hex = { package = "hex-conservative", version = "0.3.0", default-features = false, features = ["alloc"] }
internals = { package = "bitcoin-internals", path = "../internals", version = "0.4.2", features = ["alloc", "hex"] }
io = { package = "bitcoin-io", path = "../io", version = "0.3.0", default-features = false, features = ["alloc", "hashes"] }
-primitives = { package = "bitcoin-primitives", path = "../primitives", version = "=1.0.0-rc.0", default-features = false, features = ["alloc", "hex"] }
+primitives = { package = "bitcoin-primitives", path = "../primitives", version = "=1.0.0-rc.1", default-features = false, features = ["alloc", "hex"] }
secp256k1 = { version = "0.32.0-beta.2", default-features = false, features = ["alloc"] }
units = { package = "bitcoin-units", path = "../units", version = "=1.0.0-rc.3", default-features = false, features = ["alloc"] }
diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml
index b1cb43cb..0b280bbd 100644
--- a/primitives/Cargo.toml
+++ b/primitives/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bitcoin-primitives"
-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"
diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs
index ac217b9a..7dd343f2 100644
--- a/primitives/src/lib.rs
+++ b/primitives/src/lib.rs
@@ -67,7 +67,7 @@ pub use units::{
weight::{self, Weight},
};
-#[deprecated(since = "TBD", note = "use `BlockHeightInterval` instead")]
+#[deprecated(since = "1.0.0-rc.0", note = "use `BlockHeightInterval` instead")]
#[doc(hidden)]
pub type BlockInterval = BlockHeightInterval;
diff --git a/primitives/src/pow.rs b/primitives/src/pow.rs
index 1e2eb9ad..75f4d143 100644
--- a/primitives/src/pow.rs
+++ b/primitives/src/pow.rs
@@ -37,7 +37,7 @@ impl CompactTarget {
/// Gets the hex representation of this [`CompactTarget`].
#[cfg(feature = "alloc")]
#[inline]
- #[deprecated(since = "TBD", note = "use `format!(\"{var:x}\")` instead")]
+ #[deprecated(since = "1.0.0-rc.0", note = "use `format!(\"{var:x}\")` instead")]
pub fn to_hex(self) -> alloc::string::String { alloc::format!("{:x}", self) }
}
diff --git a/primitives/src/script/borrowed.rs b/primitives/src/script/borrowed.rs
index 940db85f..d75cc6a1 100644
--- a/primitives/src/script/borrowed.rs
+++ b/primitives/src/script/borrowed.rs
@@ -116,7 +116,7 @@ impl<T> Script<T> {
/// Returns a copy of the script data.
#[inline]
- #[deprecated(since = "TBD", note = "use to_vec instead")]
+ #[deprecated(since = "0.101.0", note = "use to_vec instead")]
pub fn to_bytes(&self) -> Vec<u8> { self.to_vec() }
/// Returns the length in bytes of the script.
@@ -149,7 +149,7 @@ impl<T> Script<T> {
#[cfg(feature = "alloc")]
#[cfg(feature = "hex")]
#[inline]
- #[deprecated(since = "TBD", note = "use `format!(\"{var:x}\")` instead")]
+ #[deprecated(since = "1.0.0-rc.0", note = "use `format!(\"{var:x}\")` instead")]
pub fn to_hex(&self) -> alloc::string::String { alloc::format!("{:x}", self) }
}
diff --git a/primitives/src/script/owned.rs b/primitives/src/script/owned.rs
index 64a239a0..ea8dbc15 100644
--- a/primitives/src/script/owned.rs
+++ b/primitives/src/script/owned.rs
@@ -129,7 +129,7 @@ impl<T> ScriptBuf<T> {
#[cfg(feature = "alloc")]
#[cfg(feature = "hex")]
#[inline]
- #[deprecated(since = "TBD", note = "use `format!(\"{var:x}\")` instead")]
+ #[deprecated(since = "1.0.0-rc.0", note = "use `format!(\"{var:x}\")` instead")]
pub fn to_hex(&self) -> alloc::string::String { alloc::format!("{:x}", self) }
}
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.