From 50dfd2835639487ec29f2e8ad16a809c6acecb59 Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Fri, 21 Jan 2022 18:09:29 -0800 Subject: [PATCH] Bump MSRV to 1.53 --- .github/workflows/rust.yml | 6 +++--- quinn-proto/Cargo.toml | 1 + quinn-proto/src/frame.rs | 4 +--- quinn/Cargo.toml | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index df0c987c0..3ab1ed0bc 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,16 +12,16 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - rust: [stable, beta, 1.51.0] + rust: [stable, beta, 1.53.0] exclude: - os: macos-latest rust: beta - os: macos-latest - rust: 1.51.0 + rust: 1.53.0 - os: windows-latest rust: beta - os: windows-latest - rust: 1.51.0 + rust: 1.53.0 runs-on: ${{ matrix.os }} diff --git a/quinn-proto/Cargo.toml b/quinn-proto/Cargo.toml index 67aac5937..273494184 100644 --- a/quinn-proto/Cargo.toml +++ b/quinn-proto/Cargo.toml @@ -8,6 +8,7 @@ keywords = ["quic"] categories = [ "network-programming", "asynchronous" ] workspace = ".." edition = "2018" +rust-version = "1.53" [package.metadata.docs.rs] all-features = true diff --git a/quinn-proto/src/frame.rs b/quinn-proto/src/frame.rs index 13b6f1de0..155e4d0bc 100644 --- a/quinn-proto/src/frame.rs +++ b/quinn-proto/src/frame.rs @@ -458,9 +458,7 @@ pub struct StreamMeta { pub fin: bool, } -// This manual implementation exists because `Default` is not implemented for -// `Range` on Rust 1.45. If the MSRV is bumped in the future, this can be replaced -// with `derive(Default)`. +// This manual implementation exists because `Default` is not implemented for `StreamId` impl Default for StreamMeta { fn default() -> Self { StreamMeta { diff --git a/quinn/Cargo.toml b/quinn/Cargo.toml index 701e55862..1ef4c07e7 100644 --- a/quinn/Cargo.toml +++ b/quinn/Cargo.toml @@ -9,6 +9,7 @@ keywords = ["quic"] categories = [ "network-programming", "asynchronous" ] workspace = ".." edition = "2018" +rust-version = "1.53" [package.metadata.docs.rs] all-features = true