primitives: Bump version to 1.0.0-rc.2
What changed, and why it matters
This commit is a routine version bump for the bitcoin-primitives crate from 1.0.0-rc.1 to 1.0.0-rc.2, triggered by a new major release of an internal dependency. It updates version numbers in package manifests and lock files, and adjusts one test to import newly available type names. There is no security-relevant code change.
No security action needed. Treat as normal release housekeeping.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only changes version strings in Cargo.toml and Cargo.lock files and updates an API test’s import list to include additional exported types (BlockMtp, BlockMtpInterval, NumOpResult, Sequence, BlockTime, BlockTimeDecoder, BlockTimeDecoderError). No logic, parsing, serialization, cryptographic, or network code is modified. The change is purely administrative/release-management.
Changed components
bitcoin-primitives crate versioningCargo.lock filesprimitives/tests/api.rs import listInspect captured patch +6 / −8
diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock
index 31f14622..e7916169 100644
--- a/Cargo-minimal.lock
+++ b/Cargo-minimal.lock
@@ -140,7 +140,7 @@ dependencies = [
[[package]]
name = "bitcoin-primitives"
-version = "1.0.0-rc.1"
+version = "1.0.0-rc.2"
dependencies = [
"arbitrary",
"bincode",
diff --git a/Cargo-recent.lock b/Cargo-recent.lock
index c1ed23d2..db84ad81 100644
--- a/Cargo-recent.lock
+++ b/Cargo-recent.lock
@@ -139,7 +139,7 @@ dependencies = [
[[package]]
name = "bitcoin-primitives"
-version = "1.0.0-rc.1"
+version = "1.0.0-rc.2"
dependencies = [
"arbitrary",
"bincode",
diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml
index c599fc55..a24a258b 100644
--- a/bitcoin/Cargo.toml
+++ b/bitcoin/Cargo.toml
@@ -32,7 +32,7 @@ encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encodi
hex = { package = "hex-conservative", version = "0.3.0", default-features = false, features = ["alloc"] }
internals = { package = "bitcoin-internals", path = "../internals", version = "0.5.0", 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.1", default-features = false, features = ["alloc", "hex"] }
+primitives = { package = "bitcoin-primitives", path = "../primitives", version = "=1.0.0-rc.2", 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.4", default-features = false, features = ["alloc"] }
diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml
index 00d0d127..3fc9c801 100644
--- a/p2p/Cargo.toml
+++ b/p2p/Cargo.toml
@@ -21,7 +21,7 @@ arbitrary = ["dep:arbitrary", "bitcoin/arbitrary"]
bitcoin = { path = "../bitcoin/", default-features = false }
encoding = { package = "bitcoin-consensus-encoding", version = "=1.0.0-rc.3", path = "../consensus_encoding", default-features = false }
hashes = { package = "bitcoin_hashes", version = "0.19.0", path = "../hashes", default-features = false }
-primitives = { package = "bitcoin-primitives", path = "../primitives", version = "=1.0.0-rc.1", default-features = false }
+primitives = { package = "bitcoin-primitives", path = "../primitives", version = "=1.0.0-rc.2", default-features = false }
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 }
diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml
index 148f4b7b..f3291aae 100644
--- a/primitives/Cargo.toml
+++ b/primitives/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bitcoin-primitives"
-version = "1.0.0-rc.1"
+version = "1.0.0-rc.2"
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/tests/api.rs b/primitives/tests/api.rs
index 379b1860..a1af2e69 100644
--- a/primitives/tests/api.rs
+++ b/primitives/tests/api.rs
@@ -211,9 +211,7 @@ fn api_can_use_units_modules_from_crate_root() {
#[test]
fn api_can_use_units_types_from_crate_root() {
- use bitcoin_primitives::{
- Amount, BlockHeight, BlockHeightInterval, FeeRate, SignedAmount, Weight,
- };
+ use bitcoin_primitives::{Amount, BlockHeight, BlockHeightInterval, BlockMtp, BlockMtpInterval, FeeRate, NumOpResult, Sequence, BlockTime, BlockTimeDecoder, BlockTimeDecoderError, SignedAmount, Weight};
}
#[test]
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.