Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
538e2ff
feat: deprecated support_draft_29 field
tesol2y090 Dec 31, 2024
2a95c84
feat: update changelog
tesol2y090 Dec 31, 2024
5958303
Merge branch 'master' into feat/quic/deprecated-draft-29
tesol2y090 Dec 31, 2024
01552a7
feat: move changelog under 0.11.2
tesol2y090 Jan 1, 2025
5596502
chore: add allow deprecated on support_draft_29
tesol2y090 Jan 1, 2025
4cfd7eb
Merge branch 'master' into feat/quic/deprecated-draft-29
tesol2y090 Jan 3, 2025
d3e6a02
Merge branch 'master' into feat/quic/deprecated-draft-29
tesol2y090 Jan 28, 2025
b802f05
feat: use expect instead of allow
tesol2y090 Jan 28, 2025
2ac983c
Merge branch 'master' into feat/quic/deprecated-draft-29
tesol2y090 Feb 16, 2025
b304418
feat: move expect before function
tesol2y090 Feb 20, 2025
0fcf7b1
Merge branch 'master' into feat/quic/deprecated-draft-29
tesol2y090 Feb 20, 2025
c40abec
Merge branch 'master' into feat/quic/deprecated-draft-29
jxs Feb 20, 2025
a897691
feat: add allow deprecated
tesol2y090 Feb 21, 2025
56671ff
Merge branch 'master' into feat/quic/deprecated-draft-29
tesol2y090 Feb 21, 2025
81b87e9
Update transports/quic/src/config.rs
tesol2y090 Feb 21, 2025
84d810a
chore: bump version
tesol2y090 Feb 21, 2025
23c6036
fix: format
tesol2y090 Feb 21, 2025
8af3f27
fix: format
tesol2y090 Feb 21, 2025
f373aa2
chore: bump quic version
tesol2y090 Feb 22, 2025
364457f
chore: bump quic version
tesol2y090 Feb 22, 2025
f8050bf
Update transports/quic/CHANGELOG.md
tesol2y090 Mar 3, 2025
4d45dea
Merge branch 'master' into feat/quic/deprecated-draft-29
elenaf9 Mar 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions transports/quic/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

<!-- Update to libp2p-core v0.43.0 -->

- Deprecate `Config::support_draft_29`.
See [PR 5786](https://github.com/libp2p/rust-libp2p/pull/5786).

## 0.11.1

- Update `libp2p-tls` to version `0.5.0`, see [PR 5547]
Expand Down
5 changes: 5 additions & 0 deletions transports/quic/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
/// If support for draft-29 is enabled servers support draft-29 and version 1 on all
/// QUIC listening addresses.
/// As client the version is chosen based on the remote's address.
#[expect(deprecated)]

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Check rustdoc intra-doc links

this lint expectation is unfulfilled

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile with MSRV

this lint expectation is unfulfilled

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (beta)

this lint expectation is unfulfilled

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (1.83.0)

this lint expectation is unfulfilled

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile on x86_64-apple-darwin

this lint expectation is unfulfilled

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / examples

this lint expectation is unfulfilled

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p

this lint expectation is unfulfilled

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-perf

this lint expectation is unfulfilled

Check failure on line 62 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-server

this lint expectation is unfulfilled
#[deprecated(note = "QUIC draft versions are no longer supported")]
pub support_draft_29: bool,

/// TLS client config for the inner [`quinn::ClientConfig`].
Expand All @@ -85,7 +87,8 @@
Self {
client_tls_config,
server_tls_config,
#[expect(deprecated)]

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Check rustdoc intra-doc links

this lint expectation is unfulfilled

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile with MSRV

this lint expectation is unfulfilled

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (beta)

this lint expectation is unfulfilled

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (1.83.0)

this lint expectation is unfulfilled

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile on x86_64-apple-darwin

this lint expectation is unfulfilled

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / examples

this lint expectation is unfulfilled

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p

this lint expectation is unfulfilled

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-perf

this lint expectation is unfulfilled

Check failure on line 90 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-server

this lint expectation is unfulfilled
support_draft_29: false,

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Check rustdoc intra-doc links

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile with MSRV

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (beta)

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (1.83.0)

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile on x86_64-apple-darwin

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / examples

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-perf

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 91 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-server

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported
handshake_timeout: Duration::from_secs(5),
max_idle_timeout: 10 * 1000,
max_concurrent_stream_limit: 256,
Expand Down Expand Up @@ -132,7 +135,8 @@
keep_alive_interval,
max_connection_data,
max_stream_data,
#[expect(deprecated)]
support_draft_29,

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Check rustdoc intra-doc links

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile with MSRV

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (beta)

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (1.83.0)

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile on x86_64-apple-darwin

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / examples

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-perf

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported

Check failure on line 139 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-server

use of deprecated field `config::Config::support_draft_29`: QUIC draft versions are no longer supported
handshake_timeout: _,
keypair,
mtu_discovery_config,
Expand Down Expand Up @@ -169,6 +173,7 @@
})
.unwrap_or_default();

#[expect(deprecated)]

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Check rustdoc intra-doc links

this lint expectation is unfulfilled

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile with MSRV

this lint expectation is unfulfilled

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (beta)

this lint expectation is unfulfilled

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / clippy (1.83.0)

this lint expectation is unfulfilled

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Compile on x86_64-apple-darwin

this lint expectation is unfulfilled

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / examples

this lint expectation is unfulfilled

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p

this lint expectation is unfulfilled

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-perf

this lint expectation is unfulfilled

Check failure on line 176 in transports/quic/src/config.rs

View workflow job for this annotation

GitHub Actions / Test libp2p-server

this lint expectation is unfulfilled
if !support_draft_29 {
endpoint_config.supported_versions(vec![1]);
}
Expand Down
Loading