Skip to content

Commit 8bad72e

Browse files
Bump MSRV to Rust 1.82
Fixes some CI failure where packages fail to build due to 1.81 being outdated
1 parent 2659fdf commit 8bad72e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.81 AS build
1+
FROM rust:1.82 AS build
22

33
WORKDIR /build
44

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ is disabled by default), by passing ``--features ffi`` to ``cargo``.
303303
Building
304304
--------
305305

306-
quiche requires Rust 1.81 or later to build. The latest stable Rust release can
306+
quiche requires Rust 1.82 or later to build. The latest stable Rust release can
307307
be installed using [rustup](https://rustup.rs/).
308308

309309
Once the Rust build environment is setup, the quiche source code can be fetched

h3i/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [
66
"Evan Rittenhouse <[email protected]>",
77
]
88
description = "Low-level HTTP/3 debugging and testing"
9-
rust-version = "1.81"
9+
rust-version = "1.82"
1010
edition = { workspace = true }
1111
repository = { workspace = true }
1212
license = { workspace = true }

quiche/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.24.2"
44
authors = ["Alessandro Ghedini <[email protected]>"]
55
description = "🥧 Savoury implementation of the QUIC transport protocol and HTTP/3"
66
build = "src/build.rs"
7-
rust-version = "1.81"
7+
rust-version = "1.82"
88
edition = { workspace = true }
99
repository = { workspace = true }
1010
license = { workspace = true }

quiche/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3101,7 +3101,7 @@ impl<F: BufFactory> Connection<F> {
31013101
if !self.crypto_ctx[epoch]
31023102
.key_update
31033103
.as_ref()
3104-
.map_or(true, |prev| prev.update_acked)
3104+
.is_none_or(|prev| prev.update_acked)
31053105
{
31063106
// Peer has updated keys twice without awaiting confirmation.
31073107
return Err(Error::KeyUpdate);

0 commit comments

Comments
 (0)