Skip to content

Commit e66eea5

Browse files
committed
Release tracking PR: primitives v1.0.0-rc.1
Do another RC round. Remembering to remove all the TBDs. (Note I did not check if anything needs to go in the changelog.)
1 parent 52749bf commit e66eea5

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

Cargo-minimal.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ dependencies = [
134134

135135
[[package]]
136136
name = "bitcoin-primitives"
137-
version = "1.0.0-rc.0"
137+
version = "1.0.0-rc.1"
138138
dependencies = [
139139
"arbitrary",
140140
"arrayvec",

Cargo-recent.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ dependencies = [
133133

134134
[[package]]
135135
name = "bitcoin-primitives"
136-
version = "1.0.0-rc.0"
136+
version = "1.0.0-rc.1"
137137
dependencies = [
138138
"arbitrary",
139139
"arrayvec",

bitcoin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ hashes = { package = "bitcoin_hashes", path = "../hashes", version = "0.18.0", d
3131
hex = { package = "hex-conservative", version = "0.3.0", default-features = false, features = ["alloc"] }
3232
internals = { package = "bitcoin-internals", path = "../internals", version = "0.4.2", features = ["alloc", "hex"] }
3333
io = { package = "bitcoin-io", path = "../io", version = "0.3.0", default-features = false, features = ["alloc", "hashes"] }
34-
primitives = { package = "bitcoin-primitives", path = "../primitives", version = "=1.0.0-rc.0", default-features = false, features = ["alloc", "hex"] }
34+
primitives = { package = "bitcoin-primitives", path = "../primitives", version = "=1.0.0-rc.1", default-features = false, features = ["alloc", "hex"] }
3535
secp256k1 = { version = "0.32.0-beta.2", default-features = false, features = ["alloc"] }
3636
units = { package = "bitcoin-units", path = "../units", version = "=1.0.0-rc.3", default-features = false, features = ["alloc"] }
3737

primitives/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bitcoin-primitives"
3-
version = "1.0.0-rc.0"
3+
version = "1.0.0-rc.1"
44
authors = ["Andrew Poelstra <[email protected]>", "Tobin C. Harding <[email protected]>"]
55
license = "CC0-1.0"
66
repository = "https://github.com/rust-bitcoin/rust-bitcoin"

primitives/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub use units::{
6767
weight::{self, Weight},
6868
};
6969

70-
#[deprecated(since = "TBD", note = "use `BlockHeightInterval` instead")]
70+
#[deprecated(since = "1.0.0-rc.0", note = "use `BlockHeightInterval` instead")]
7171
#[doc(hidden)]
7272
pub type BlockInterval = BlockHeightInterval;
7373

primitives/src/pow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl CompactTarget {
3737
/// Gets the hex representation of this [`CompactTarget`].
3838
#[cfg(feature = "alloc")]
3939
#[inline]
40-
#[deprecated(since = "TBD", note = "use `format!(\"{var:x}\")` instead")]
40+
#[deprecated(since = "1.0.0-rc.0", note = "use `format!(\"{var:x}\")` instead")]
4141
pub fn to_hex(self) -> alloc::string::String { alloc::format!("{:x}", self) }
4242
}
4343

primitives/src/script/borrowed.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl<T> Script<T> {
116116

117117
/// Returns a copy of the script data.
118118
#[inline]
119-
#[deprecated(since = "TBD", note = "use to_vec instead")]
119+
#[deprecated(since = "0.101.0", note = "use to_vec instead")]
120120
pub fn to_bytes(&self) -> Vec<u8> { self.to_vec() }
121121

122122
/// Returns the length in bytes of the script.
@@ -149,7 +149,7 @@ impl<T> Script<T> {
149149
#[cfg(feature = "alloc")]
150150
#[cfg(feature = "hex")]
151151
#[inline]
152-
#[deprecated(since = "TBD", note = "use `format!(\"{var:x}\")` instead")]
152+
#[deprecated(since = "1.0.0-rc.0", note = "use `format!(\"{var:x}\")` instead")]
153153
pub fn to_hex(&self) -> alloc::string::String { alloc::format!("{:x}", self) }
154154
}
155155

primitives/src/script/owned.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl<T> ScriptBuf<T> {
129129
#[cfg(feature = "alloc")]
130130
#[cfg(feature = "hex")]
131131
#[inline]
132-
#[deprecated(since = "TBD", note = "use `format!(\"{var:x}\")` instead")]
132+
#[deprecated(since = "1.0.0-rc.0", note = "use `format!(\"{var:x}\")` instead")]
133133
pub fn to_hex(&self) -> alloc::string::String { alloc::format!("{:x}", self) }
134134
}
135135

0 commit comments

Comments
 (0)