From 22560d99ec52b0d7457c521c0c6bb9a1ffa36fdf Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 27 Oct 2023 10:00:33 +1100 Subject: [PATCH 1/2] Remove deprecated symbols --- transports/quic/CHANGELOG.md | 2 ++ transports/quic/src/lib.rs | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/transports/quic/CHANGELOG.md b/transports/quic/CHANGELOG.md index f947c387584..25de6cddfe4 100644 --- a/transports/quic/CHANGELOG.md +++ b/transports/quic/CHANGELOG.md @@ -3,6 +3,8 @@ - Improve hole-punch timing. This should improve success rates for hole-punching QUIC connections. See [PR 4549](https://github.com/libp2p/rust-libp2p/pull/4549). +- Remove deprecated `Error::EndpointDriverCrashed` variant. + See [PR XXXX](https://github.com/libp2p/rust-libp2p/pull/XXXX). ## 0.9.3 diff --git a/transports/quic/src/lib.rs b/transports/quic/src/lib.rs index 85fa3c7e3cb..7ae649b6914 100644 --- a/transports/quic/src/lib.rs +++ b/transports/quic/src/lib.rs @@ -90,11 +90,6 @@ pub enum Error { #[error(transparent)] Io(#[from] std::io::Error), - /// The task to drive a quic endpoint has crashed. - #[deprecated(since = "0.9.3", note = "No longer emitted")] - #[error("Endpoint driver crashed")] - EndpointDriverCrashed, - /// The [`Connecting`] future timed out. #[error("Handshake with the remote timed out.")] HandshakeTimedOut, From 2488207718c4c160973db2bbf1d373677ccc3cdc Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 27 Oct 2023 10:01:14 +1100 Subject: [PATCH 2/2] Update transports/quic/CHANGELOG.md --- transports/quic/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transports/quic/CHANGELOG.md b/transports/quic/CHANGELOG.md index 25de6cddfe4..bb106fcf170 100644 --- a/transports/quic/CHANGELOG.md +++ b/transports/quic/CHANGELOG.md @@ -4,7 +4,7 @@ This should improve success rates for hole-punching QUIC connections. See [PR 4549](https://github.com/libp2p/rust-libp2p/pull/4549). - Remove deprecated `Error::EndpointDriverCrashed` variant. - See [PR XXXX](https://github.com/libp2p/rust-libp2p/pull/XXXX). + See [PR 4738](https://github.com/libp2p/rust-libp2p/pull/4738). ## 0.9.3