From c0693da9ba5a2de7be7627cdd4e666c5505a6bc5 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 1 Apr 2023 21:39:19 +0100 Subject: [PATCH] update msrv to 1.60 (#482 * update msrv to 1.60 * inherit workspace msrv --- .github/workflows/ci-master.yml | 79 +++++++++--------------------- .github/workflows/ci.yml | 82 +++++++++----------------------- .github/workflows/clippy-fmt.yml | 38 ++++++++------- .github/workflows/upload-doc.yml | 13 +++-- Cargo.toml | 1 + README.md | 2 +- actix-codec/CHANGES.md | 2 +- actix-codec/Cargo.toml | 7 +-- actix-macros/CHANGES.md | 2 +- actix-macros/Cargo.toml | 3 +- actix-macros/tests/trybuild.rs | 2 +- actix-rt/CHANGES.md | 2 + actix-rt/Cargo.toml | 7 +-- actix-server/CHANGES.md | 2 + actix-server/Cargo.toml | 7 +-- actix-service/CHANGES.md | 2 +- actix-service/Cargo.toml | 7 +-- actix-tls/CHANGES.md | 2 +- actix-tls/Cargo.toml | 7 +-- actix-tracing/CHANGES.md | 2 +- actix-tracing/Cargo.toml | 7 +-- actix-utils/CHANGES.md | 2 +- actix-utils/Cargo.toml | 7 +-- bytestring/Cargo.toml | 7 +-- clippy.toml | 1 - local-channel/CHANGES.md | 2 +- local-channel/Cargo.toml | 3 +- local-waker/CHANGES.md | 2 +- local-waker/Cargo.toml | 3 +- 29 files changed, 110 insertions(+), 193 deletions(-) delete mode 100644 clippy.toml diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index d77be7b0..5f4b7428 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -4,6 +4,13 @@ on: push: branches: [master] +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_and_test_nightly: strategy: @@ -21,8 +28,7 @@ jobs: name: ${{ matrix.target.name }} / ${{ matrix.version }} runs-on: ${{ matrix.target.os }} - env: - VCPKGRS_DYNAMIC: 1 + env: {} steps: - name: Setup Routing @@ -31,36 +37,17 @@ jobs: - uses: actions/checkout@v3 - # install OpenSSL on Windows - - name: Set vcpkg root - if: matrix.target.triple == 'x86_64-pc-windows-msvc' || matrix.target.triple == 'i686-pc-windows-msvc' - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append - name: Install OpenSSL - if: matrix.target.triple == 'x86_64-pc-windows-msvc' - run: vcpkg install openssl:x64-windows - - name: Install OpenSSL - if: matrix.target.triple == 'i686-pc-windows-msvc' - run: vcpkg install openssl:x86-windows + if: matrix.target.os == 'windows-latest' + run: choco install openssl + - name: Set OpenSSL dir in env + if: matrix.target.os == 'windows-latest' + run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append - - name: Install ${{ matrix.version }} - run: | - rustup set profile minimal - rustup install ${{ matrix.version }}-${{ matrix.target.triple }} - rustup override set ${{ matrix.version }}-${{ matrix.target.triple }} - - # - name: Install MSYS2 - # if: matrix.target.triple == 'x86_64-pc-windows-gnu' - # uses: msys2/setup-msys2@v2 - # - name: Install MinGW Packages - # if: matrix.target.triple == 'x86_64-pc-windows-gnu' - # run: | - # msys2 -c 'pacman -Sy --noconfirm pacman' - # msys2 -c 'pacman --noconfirm -S base-devel pkg-config' - - # - name: Generate Cargo.lock - # run: cargo generate-lockfile - # - name: Cache Dependencies - # uses: Swatinem/rust-cache@v2.2.0 + - name: Install Rust (${{ matrix.version }}) + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: ${{ matrix.version }} - name: Install cargo-hack run: cargo install cargo-hack @@ -109,15 +96,8 @@ jobs: - uses: actions/checkout@v3 - name: Install Rust (nightly) - run: | - rustup set profile minimal - rustup install nightly - rustup override set nightly - - - name: Generate Cargo.lock - run: cargo generate-lockfile - - name: Cache Dependencies - uses: Swatinem/rust-cache@v2.2.0 + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: { toolchain: nightly } - name: Generate coverage file if: github.ref == 'refs/heads/master' @@ -136,15 +116,8 @@ jobs: - uses: actions/checkout@v3 - name: Install Rust (nightly) - run: | - rustup set profile minimal - rustup install nightly - rustup override set nightly - - - name: Generate Cargo.lock - run: cargo generate-lockfile - - name: Cache Dependencies - uses: Swatinem/rust-cache@v2.2.0 + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: { toolchain: nightly } - name: Install cargo-minimal-versions run: cargo install cargo-minimal-versions @@ -162,15 +135,7 @@ jobs: - uses: actions/checkout@v3 - name: Install Rust - run: | - rustup set profile minimal - rustup install stable - rustup override set stable - - - name: Generate Cargo.lock - run: cargo generate-lockfile - - name: Cache Dependencies - uses: Swatinem/rust-cache@v2.2.0 + uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install cargo-nextest run: cargo install cargo-nextest diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2434ea28..80f3f9a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,15 @@ name: CI -on: - pull_request: - types: [opened, synchronize, reopened] - push: - branches: [master] +on: + pull_request: {} + push: { branches: [master] } + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build_and_test: @@ -18,14 +23,13 @@ jobs: - { name: Windows (MinGW), os: windows-latest, triple: x86_64-pc-windows-gnu } - { name: Windows (32-bit), os: windows-latest, triple: i686-pc-windows-msvc } version: - - 1.59.0 + - 1.60.0 - stable name: ${{ matrix.target.name }} / ${{ matrix.version }} runs-on: ${{ matrix.target.os }} - env: - VCPKGRS_DYNAMIC: 1 + env: {} steps: - name: Setup Routing @@ -34,60 +38,28 @@ jobs: - uses: actions/checkout@v3 - # install OpenSSL on Windows - - name: Set vcpkg root - if: matrix.target.triple == 'x86_64-pc-windows-msvc' || matrix.target.triple == 'i686-pc-windows-msvc' - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append - name: Install OpenSSL - if: matrix.target.triple == 'x86_64-pc-windows-msvc' - run: vcpkg install openssl:x64-windows - - name: Install OpenSSL - if: matrix.target.triple == 'i686-pc-windows-msvc' - run: vcpkg install openssl:x86-windows + if: matrix.target.os == 'windows-latest' + run: choco install openssl + - name: Set OpenSSL dir in env + if: matrix.target.os == 'windows-latest' + run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append - name: Install ${{ matrix.version }} - run: | - rustup set profile minimal - rustup install ${{ matrix.version }}-${{ matrix.target.triple }} - rustup override set ${{ matrix.version }}-${{ matrix.target.triple }} - - # - name: Install MSYS2 - # if: matrix.target.triple == 'x86_64-pc-windows-gnu' - # uses: msys2/setup-msys2@v2 - # - name: Install MinGW Packages - # if: matrix.target.triple == 'x86_64-pc-windows-gnu' - # run: | - # msys2 -c 'pacman -Sy --noconfirm pacman' - # msys2 -c 'pacman --noconfirm -S base-devel pkg-config' - - # - name: Generate Cargo.lock - # run: cargo generate-lockfile - # - name: Cache Dependencies - # uses: Swatinem/rust-cache@v2.2.0 + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: ${{ matrix.version }} - name: Install cargo-hack - if: matrix.version != '1.59.0' run: cargo install cargo-hack - # newer cargo-hack versions require 1.60 or above - - name: Install cargo-hack (1.59.0) - if: matrix.version == '1.59.0' - run: cargo install cargo-hack --version=0.5.21 - - - name: workaround MSRV issues - if: matrix.version == '1.59.0' - run: | - cargo install cargo-edit --version=0.8.0 - cargo add env_logger@0.9 --dev -p=actix-tls - cargo add env_logger@0.9 --dev -p=actix-server - - name: Generate Cargo.lock run: cargo generate-lockfile - name: workaround MSRV issues if: matrix.version != 'stable' run: | - cargo update -p=time --precise=0.3.13 # time is only a dev dep so shouldn't affect msrv + cargo update -p=time --precise=0.3.16 # time is only a dev dep so shouldn't affect msrv - name: check lib if: > @@ -125,7 +97,6 @@ jobs: sudo bash -c "ulimit -Sl 512 && ulimit -Hl 512 && PATH=$PATH:/usr/share/rust/.cargo/bin && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test-linux" - name: Clear the cargo caches - if: matrix.version == 'stable' # MSRV(1.58) cargo-cache now fails to install on 1.59 run: | cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean cargo-cache @@ -138,15 +109,8 @@ jobs: - uses: actions/checkout@v3 - name: Install Rust (nightly) - run: | - rustup set profile minimal - rustup install nightly - rustup override set nightly - - - name: Generate Cargo.lock - run: cargo generate-lockfile - - name: Cache Dependencies - uses: Swatinem/rust-cache@v2.2.0 + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: { toolchain: nightly } - name: doc tests io-uring run: | diff --git a/.github/workflows/clippy-fmt.yml b/.github/workflows/clippy-fmt.yml index 978a1a38..b26b1282 100644 --- a/.github/workflows/clippy-fmt.yml +++ b/.github/workflows/clippy-fmt.yml @@ -1,37 +1,43 @@ name: Lint -on: - pull_request: - types: [opened, synchronize, reopened] +on: [pull_request] + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: fmt: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v3 - - name: Install Rust - run: | - rustup set profile minimal - rustup install stable - rustup override set stable - rustup component add rustfmt + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: nightly + components: rustfmt + - name: Rustfmt Check run: cargo fmt --all -- --check clippy: + permissions: + contents: write + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v3 - - name: Install Rust - run: | - rustup set profile minimal - rustup install stable - rustup override set stable - rustup component add clippy + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: { components: clippy } + - uses: giraffate/clippy-action@v1 with: - reporter: "github-pr-check" + reporter: 'github-pr-check' github_token: ${{ secrets.GITHUB_TOKEN }} clippy_flags: --workspace --all-features --tests --examples --bins -- -Dclippy::todo diff --git a/.github/workflows/upload-doc.yml b/.github/workflows/upload-doc.yml index a4f3928d..f36cb138 100644 --- a/.github/workflows/upload-doc.yml +++ b/.github/workflows/upload-doc.yml @@ -1,21 +1,20 @@ name: Upload documentation on: - push: - branches: [master] + push: { branches: [master] } jobs: build: + permissions: + contents: write + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Install Rust - run: | - rustup set profile minimal - rustup install nightly - rustup override set nightly + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: { toolchain: nightly } - name: Build Docs run: cargo doc --workspace --all-features --no-deps diff --git a/Cargo.toml b/Cargo.toml index eb452e1a..ccd36595 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,7 @@ members = [ "local-channel", "local-waker", ] +resolver = "2" [patch.crates-io] actix-codec = { path = "actix-codec" } diff --git a/README.md b/README.md index 30fb2091..fdf829f5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ See example folders for [`actix-server`](./actix-server/examples) and [`actix-tl ## MSRV -Crates in this repo currently have a Minimum Supported Rust Version (MSRV) of 1.59. As a policy, we permit MSRV increases in non-breaking releases. +Crates in this repo currently have a Minimum Supported Rust Version (MSRV) of 1.60. As a policy, we permit MSRV increases in non-breaking releases. ## License diff --git a/actix-codec/CHANGES.md b/actix-codec/CHANGES.md index cbbcb578..ebb867cf 100644 --- a/actix-codec/CHANGES.md +++ b/actix-codec/CHANGES.md @@ -2,7 +2,7 @@ ## Unreleased - 2023-xx-xx -- Minimum supported Rust version (MSRV) is now 1.59. +- Minimum supported Rust version (MSRV) is now 1.60. ## 0.5.1 - 2022-03-15 diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index 900873f2..0aa128bb 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -10,11 +10,8 @@ keywords = ["network", "framework", "async", "futures"] repository = "https://github.com/actix/actix-net" categories = ["network-programming", "asynchronous"] license = "MIT OR Apache-2.0" -edition = "2018" - -[lib] -name = "actix_codec" -path = "src/lib.rs" +edition = "2021" +rust-version = "1.60" [dependencies] bitflags = "1.2" diff --git a/actix-macros/CHANGES.md b/actix-macros/CHANGES.md index 79ff37c9..20efed15 100644 --- a/actix-macros/CHANGES.md +++ b/actix-macros/CHANGES.md @@ -2,7 +2,7 @@ ## Unreleased - 2023-xx-xx -- Minimum supported Rust version (MSRV) is now 1.59. +- Minimum supported Rust version (MSRV) is now 1.60. ## 0.2.3 - 2021-10-19 diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml index 303568d5..023fa1a8 100644 --- a/actix-macros/Cargo.toml +++ b/actix-macros/Cargo.toml @@ -10,7 +10,8 @@ description = "Macros for Actix system and runtime" repository = "https://github.com/actix/actix-net.git" categories = ["network-programming", "asynchronous"] license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.60" [lib] proc-macro = true diff --git a/actix-macros/tests/trybuild.rs b/actix-macros/tests/trybuild.rs index 666769df..51d152a4 100644 --- a/actix-macros/tests/trybuild.rs +++ b/actix-macros/tests/trybuild.rs @@ -1,4 +1,4 @@ -#[rustversion::stable(1.59)] // MSRV +#[rustversion::stable(1.60)] // MSRV #[test] fn compile_macros() { let t = trybuild::TestCases::new(); diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md index 75aeea92..547b7524 100644 --- a/actix-rt/CHANGES.md +++ b/actix-rt/CHANGES.md @@ -2,6 +2,8 @@ ## Unreleased - 2023-xx-xx +- Minimum supported Rust version (MSRV) is now 1.60. + ## 2.8.0 - 2022-12-21 - Add `#[track_caller]` attribute to `spawn` functions and methods. [#454] diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index 70716888..8e967405 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -11,11 +11,8 @@ homepage = "https://actix.rs" repository = "https://github.com/actix/actix-net.git" categories = ["network-programming", "asynchronous"] license = "MIT OR Apache-2.0" -edition = "2018" - -[lib] -name = "actix_rt" -path = "src/lib.rs" +edition = "2021" +rust-version = "1.60" [features] default = ["macros"] diff --git a/actix-server/CHANGES.md b/actix-server/CHANGES.md index a60c0d42..1147dcbd 100644 --- a/actix-server/CHANGES.md +++ b/actix-server/CHANGES.md @@ -2,6 +2,8 @@ ## Unreleased - 2023-xx-xx +- Minimum supported Rust version (MSRV) is now 1.60. + ## 2.2.0 - 2022-12-21 - Minimum supported Rust version (MSRV) is now 1.59. diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml index bc0187e8..05bfd0b1 100755 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -12,11 +12,8 @@ categories = ["network-programming", "asynchronous"] homepage = "https://actix.rs" repository = "https://github.com/actix/actix-net.git" license = "MIT OR Apache-2.0" -edition = "2018" - -[lib] -name = "actix_server" -path = "src/lib.rs" +edition = "2021" +rust-version = "1.60" [features] default = [] diff --git a/actix-service/CHANGES.md b/actix-service/CHANGES.md index a5822915..0640c1cd 100644 --- a/actix-service/CHANGES.md +++ b/actix-service/CHANGES.md @@ -2,7 +2,7 @@ ## Unreleased - 2023-xx-xx -- Minimum supported Rust version (MSRV) is now 1.59. +- Minimum supported Rust version (MSRV) is now 1.60. ## 2.0.2 - 2021-12-18 diff --git a/actix-service/Cargo.toml b/actix-service/Cargo.toml index 5a0252db..74904634 100644 --- a/actix-service/Cargo.toml +++ b/actix-service/Cargo.toml @@ -10,11 +10,8 @@ keywords = ["network", "framework", "async", "futures", "service"] categories = ["network-programming", "asynchronous", "no-std"] repository = "https://github.com/actix/actix-net" license = "MIT OR Apache-2.0" -edition = "2018" - -[lib] -name = "actix_service" -path = "src/lib.rs" +edition = "2021" +rust-version = "1.60" [dependencies] futures-core = { version = "0.3.17", default-features = false } diff --git a/actix-tls/CHANGES.md b/actix-tls/CHANGES.md index ff023ce4..f4f248b2 100644 --- a/actix-tls/CHANGES.md +++ b/actix-tls/CHANGES.md @@ -2,7 +2,7 @@ ## Unreleased - 2023-xx-xx -- Minimum supported Rust version (MSRV) is now 1.59. +- Minimum supported Rust version (MSRV) is now 1.60. ## 3.0.4 - 2022-03-15 diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml index b5f71695..bf90ff46 100755 --- a/actix-tls/Cargo.toml +++ b/actix-tls/Cargo.toml @@ -10,16 +10,13 @@ keywords = ["network", "tls", "ssl", "async", "transport"] repository = "https://github.com/actix/actix-net.git" categories = ["network-programming", "asynchronous", "cryptography"] license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] -[lib] -name = "actix_tls" -path = "src/lib.rs" - [features] default = ["accept", "connect"] diff --git a/actix-tracing/CHANGES.md b/actix-tracing/CHANGES.md index 73f87101..f672659a 100644 --- a/actix-tracing/CHANGES.md +++ b/actix-tracing/CHANGES.md @@ -2,7 +2,7 @@ ## Unreleased - 2023-xx-xx -- Minimum supported Rust version (MSRV) is now 1.59. +- Minimum supported Rust version (MSRV) is now 1.60. ## 0.1.0 - 2020-01-15 diff --git a/actix-tracing/Cargo.toml b/actix-tracing/Cargo.toml index 279ffc28..27dfbc22 100644 --- a/actix-tracing/Cargo.toml +++ b/actix-tracing/Cargo.toml @@ -9,11 +9,8 @@ repository = "https://github.com/actix/actix-net.git" documentation = "https://docs.rs/actix-tracing" categories = ["network-programming", "asynchronous"] license = "MIT OR Apache-2.0" -edition = "2018" - -[lib] -name = "actix_tracing" -path = "src/lib.rs" +edition = "2021" +rust-version = "1.60" [dependencies] actix-service = "2" diff --git a/actix-utils/CHANGES.md b/actix-utils/CHANGES.md index f00d29b8..af6434ab 100644 --- a/actix-utils/CHANGES.md +++ b/actix-utils/CHANGES.md @@ -2,7 +2,7 @@ ## Unreleased - 2023-xx-xx -- Minimum supported Rust version (MSRV) is now 1.59. +- Minimum supported Rust version (MSRV) is now 1.60. ## 3.0.1 - 2022-10-21 diff --git a/actix-utils/Cargo.toml b/actix-utils/Cargo.toml index 3ee199a2..38d8af5e 100644 --- a/actix-utils/Cargo.toml +++ b/actix-utils/Cargo.toml @@ -10,11 +10,8 @@ keywords = ["network", "framework", "async", "futures"] categories = ["network-programming", "asynchronous"] repository = "https://github.com/actix/actix-net" license = "MIT OR Apache-2.0" -edition = "2018" - -[lib] -name = "actix_utils" -path = "src/lib.rs" +edition = "2021" +rust-version = "1.60" [dependencies] pin-project-lite = "0.2" diff --git a/bytestring/Cargo.toml b/bytestring/Cargo.toml index 0720c7bf..21da5a95 100644 --- a/bytestring/Cargo.toml +++ b/bytestring/Cargo.toml @@ -11,11 +11,8 @@ categories = ["no-std", "web-programming"] homepage = "https://actix.rs" repository = "https://github.com/actix/actix-net.git" license = "MIT OR Apache-2.0" -edition = "2018" - -[lib] -name = "bytestring" -path = "src/lib.rs" +edition = "2021" +rust-version = "1.60" [dependencies] bytes = { version = "1.2", default-features = false } diff --git a/clippy.toml b/clippy.toml deleted file mode 100644 index abe19b3a..00000000 --- a/clippy.toml +++ /dev/null @@ -1 +0,0 @@ -msrv = "1.59" diff --git a/local-channel/CHANGES.md b/local-channel/CHANGES.md index 90e14e95..b1bad2f5 100644 --- a/local-channel/CHANGES.md +++ b/local-channel/CHANGES.md @@ -2,7 +2,7 @@ ## Unreleased - 2023-xx-xx -- Minimum supported Rust version (MSRV) is now 1.59. +- Minimum supported Rust version (MSRV) is now 1.60. ## 0.1.3 - 2022-05-03 diff --git a/local-channel/Cargo.toml b/local-channel/Cargo.toml index 8484577d..b99b397c 100644 --- a/local-channel/Cargo.toml +++ b/local-channel/Cargo.toml @@ -9,7 +9,8 @@ authors = [ repository = "https://github.com/actix/actix-net.git" keywords = ["channel", "local", "futures"] license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.60" [dependencies] futures-core = "0.3.17" diff --git a/local-waker/CHANGES.md b/local-waker/CHANGES.md index e7294eb3..68f4348b 100644 --- a/local-waker/CHANGES.md +++ b/local-waker/CHANGES.md @@ -2,7 +2,7 @@ ## Unreleased - 2023-xx-xx -- Minimum supported Rust version (MSRV) is now 1.59. +- Minimum supported Rust version (MSRV) is now 1.60. ## 0.1.3 - 2022-05-03 diff --git a/local-waker/Cargo.toml b/local-waker/Cargo.toml index 6a0b44cd..1baa08c0 100644 --- a/local-waker/Cargo.toml +++ b/local-waker/Cargo.toml @@ -10,6 +10,7 @@ repository = "https://github.com/actix/actix-net.git" keywords = ["waker", "local", "futures", "no-std"] categories = ["asynchronous", "no-std"] license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.60" [dependencies]