Skip to content

Commit f26ca15

Browse files
committed
Merge rust-bitcoin#5349: Release tracking PR: bitcoin-io v0.3.0
306291f io: Bump version to 0.3.0 (Tobin C. Harding) e900b44 io: Grab changelog from already release 0.1.3 (Tobin C. Harding) Pull request description: In preparation for release bump the version, add a changelog entry, and update the lockfiles. Set the since field in deprecation attribute from TBD to `0.3.0`. ACKs for top commit: apoelstra: ACK 306291f; successfully ran local tests Tree-SHA512: 495a096a5246f47d9f4827a35c5cae138711a4208218e7d3e4ed5422d28ea00cb321601e6d4cdac7cdc7b9d4ff41c1d3e1b14c5fcadb63d8ab2332378d136bda
2 parents 616d0a1 + 306291f commit f26ca15

File tree

7 files changed

+24
-7
lines changed

7 files changed

+24
-7
lines changed

Cargo-minimal.lock

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

111111
[[package]]
112112
name = "bitcoin-io"
113-
version = "0.2.0"
113+
version = "0.3.0"
114114
dependencies = [
115115
"bitcoin-consensus-encoding",
116116
"bitcoin-internals",

Cargo-recent.lock

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

110110
[[package]]
111111
name = "bitcoin-io"
112-
version = "0.2.0"
112+
version = "0.3.0"
113113
dependencies = [
114114
"bitcoin-consensus-encoding",
115115
"bitcoin-internals",

bitcoin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ bech32 = { version = "0.11.0", default-features = false, features = ["alloc"] }
3030
hashes = { package = "bitcoin_hashes", path = "../hashes", version = "0.18.0", default-features = false, features = ["alloc", "hex"] }
3131
hex = { package = "hex-conservative", version = "0.3.0", default-features = false, features = ["alloc"] }
3232
internals = { package = "bitcoin-internals", path = "../internals", version = "0.4.1", features = ["alloc", "hex"] }
33-
io = { package = "bitcoin-io", path = "../io", version = "0.2.0", default-features = false, features = ["alloc", "hashes"] }
33+
io = { package = "bitcoin-io", path = "../io", version = "0.3.0", default-features = false, features = ["alloc", "hashes"] }
3434
primitives = { package = "bitcoin-primitives", path = "../primitives", version = "1.0.0-rc.0", 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.2", default-features = false, features = ["alloc"] }

io/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
1+
# 0.3.0 - 2025-12-01
2+
3+
* Bump MSRV to Rust `1.74` [#4926](https://github.com/rust-bitcoin/rust-bitcoin/pull/)
4+
* Make traits dyn compatible [#5249](https://github.com/rust-bitcoin/rust-bitcoin/pull/5249)
5+
* Invert dependency between `io` and `hashes` [#3961](https://github.com/rust-bitcoin/rust-bitcoin/pull/3961)
6+
* Introduce `encode_to_writer` for `Write` trait [#5214](https://github.com/rust-bitcoin/rust-bitcoin/pull/5214)
7+
* Add consensus decoding functions [#5212](https://github.com/rust-bitcoin/rust-bitcoin/pull/5212)
8+
* Remove assertion in `Cursor` when reading past end [#5062](https://github.com/rust-bitcoin/rust-bitcoin/pull/5062)
9+
* Enable features in internals crate [#4890](https://github.com/rust-bitcoin/rust-bitcoin/pull/4890)
10+
* Make `io::Error` `Sync` [#3920](https://github.com/rust-bitcoin/rust-bitcoin/pull/3920)
11+
* Use `get_ref` / `get_mut` API [#3855](https://github.com/rust-bitcoin/rust-bitcoin/pull/3855)
12+
113
# 0.2.0 - 2024-09-18
214

315
* Add blanket impl of io traits for `&mut T` [#3188](https://github.com/rust-bitcoin/rust-bitcoin/pull/3188)
416
* Add `std` bridge [#3176](https://github.com/rust-bitcoin/rust-bitcoin/pull/3176)
517
* Bump MSRV to Rust `v1.63.0` [#3100](https://github.com/rust-bitcoin/rust-bitcoin/pull/3100)
618
* Remove blanket trait impls [#2453](https://github.com/rust-bitcoin/rust-bitcoin/pull/2453)
719

20+
# 0.1.3 - 2024-11-02
21+
22+
* Backport IO improvements [#3181](https://github.com/rust-bitcoin/rust-bitcoin/pull/3181)
23+
(Original PR: [#3176](https://github.com/rust-bitcoin/rust-bitcoin/pull/3176))
24+
825
# 0.1.2 - 2024-03-14
926

1027
* Implement `From<core::convert::Infallible>` for Errors [#2516](https://github.com/rust-bitcoin/rust-bitcoin/pull/2516)

io/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-io"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["Matt Corallo <[email protected]>"]
55
license = "CC0-1.0"
66
repository = "https://github.com/rust-bitcoin/rust-bitcoin"

io/src/bridge.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ impl<T> FromStd<T> {
3535

3636
/// Returns a reference to the wrapped value.
3737
#[inline]
38-
#[deprecated(since = "TBD", note = "use `get_ref()` instead")]
38+
#[deprecated(since = "0.3.0", note = "use `get_ref()` instead")]
3939
pub fn inner(&self) -> &T { &self.0 }
4040

4141
/// Returns a mutable reference to the wrapped value.
4242
#[inline]
43-
#[deprecated(since = "TBD", note = "use `get_mut()` instead")]
43+
#[deprecated(since = "0.3.0", note = "use `get_mut()` instead")]
4444
pub fn inner_mut(&mut self) -> &mut T { &mut self.0 }
4545
}
4646

io/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ impl<T: AsRef<[u8]>> Cursor<T> {
276276
///
277277
/// This is the whole wrapped buffer, including the bytes already read.
278278
#[inline]
279-
#[deprecated(since = "TBD", note = "use `get_ref()` instead")]
279+
#[deprecated(since = "0.3.0", note = "use `get_ref()` instead")]
280280
pub fn inner(&self) -> &T { &self.inner }
281281
}
282282

0 commit comments

Comments
 (0)