diff --git a/.cirrus.yml b/.cirrus.yml index 749f0b42..b830aa31 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -11,8 +11,9 @@ linux_arm64_task: cpu: $NUM_CPUS matrix: - image: rust:slim # docker's official latest rust stable version - - image: rustlang/rust:nightly-slim # nightly hosted by rustlang - - image: rust:1.60.0-slim # MSRV + ## Disable jobs for nightly and the MSRV to avoid to hit the concurrency limit. + # - image: rustlang/rust:nightly-slim # nightly hosted by rustlang + # - image: rust:1.65.0-slim # MSRV # no rust-beta image found in docker hub, won't be tested ## Disable caching as there is no Cargo.lock file in Moka repository. @@ -51,7 +52,7 @@ linux_arm64_task: # Pin some dependencies to specific versions (MSRV only) # pin_deps_script: | - # if [ "v$RUST_VERSION" == "v1.60.0" ]; then + # if [ "v$RUST_VERSION" == "v1.65.0" ]; then # echo 'Pinning some dependencies to specific versions' # cargo update -p --precise # else diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0e82696d..47522a69 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,7 +23,7 @@ jobs: rust: - stable - beta - - 1.60.0 # MSRV + - 1.65.0 # MSRV - nightly # For checking minimum version dependencies. steps: @@ -66,7 +66,7 @@ jobs: cargo update -p cc --precise 1.0.61 # - name: Pin some dependencies to specific versions (MSRV only) - # if: ${{ matrix.rust == '1.60.0' }} + # if: ${{ matrix.rust == '1.65.0' }} # run: | # cargo update -p --precise diff --git a/.github/workflows/CIQuantaDisabled.yml b/.github/workflows/CIQuantaDisabled.yml index 439f5f9b..604c2b62 100644 --- a/.github/workflows/CIQuantaDisabled.yml +++ b/.github/workflows/CIQuantaDisabled.yml @@ -23,7 +23,7 @@ jobs: rust: - stable - beta - - 1.60.0 # MSRV + - 1.65.0 # MSRV - nightly # For checking minimum version dependencies. steps: @@ -59,7 +59,7 @@ jobs: cargo update -p cc --precise 1.0.61 # - name: Pin some dependencies to specific versions (MSRV only) - # if: ${{ matrix.rust == '1.60.0' }} + # if: ${{ matrix.rust == '1.65.0' }} # run: | # cargo update -p --precise diff --git a/CHANGELOG.md b/CHANGELOG.md index ba994a3e..0ff51340 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Moka Cache — Change Log +## Version 0.11.2 + +Bumped the minimum supported Rust version (MSRV) to 1.65 (Nov 3, 2022). +([#275][gh-issue-0275]) + + ## Version 0.11.1 ### Fixed @@ -37,7 +43,7 @@ ## Version 0.10.2 -Bumped the minimum supported Rust version (MSRV) to 1.60 (2022-04-07). +Bumped the minimum supported Rust version (MSRV) to 1.60 (Apr 7, 2022). ([#252][gh-issue-0252]) ### Changed @@ -386,7 +392,7 @@ be frequently changed in next few releases. ## Version 0.7.2 -The minimum supported Rust version (MSRV) is now 1.51.0 (2021-03-25). +The minimum supported Rust version (MSRV) is now 1.51.0 (Mar 25, 2021). ### Fixed @@ -660,6 +666,7 @@ The minimum supported Rust version (MSRV) is now 1.51.0 (2021-03-25). [gh-issue-0034]: https://github.com/moka-rs/moka/issues/34/ [gh-issue-0031]: https://github.com/moka-rs/moka/issues/31/ +[gh-pull-0275]: https://github.com/moka-rs/moka/pull/275/ [gh-pull-0272]: https://github.com/moka-rs/moka/pull/272/ [gh-pull-0268]: https://github.com/moka-rs/moka/pull/268/ [gh-pull-0259]: https://github.com/moka-rs/moka/pull/259/ diff --git a/Cargo.toml b/Cargo.toml index 0b2e15bd..0b24d0c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "moka" -version = "0.11.1" +version = "0.11.2" edition = "2018" -rust-version = "1.60" # Released on April 7, 2022, supporting 2021 edition. - +# Rust 1.65 was released on November 3rd, 2022, is supporting 2021 edition. +rust-version = "1.65" description = "A fast and concurrent cache library inspired by Java Caffeine" license = "MIT OR Apache-2.0" # homepage = "https://" diff --git a/README.md b/README.md index 9adfb50e..c8cf8c7b 100644 --- a/README.md +++ b/README.md @@ -437,10 +437,10 @@ section ([`sync::Cache`][doc-sync-cache-expiration], Moka's minimum supported Rust versions (MSRV) are the followings: -| Feature | MSRV | -|:-----------------|:------------------------:| -| default features | Rust 1.60.0 (2022-04-07) | -| `future` | Rust 1.60.0 (2022-04-07) | +| Feature | MSRV | +|:-----------------|:-------------------------:| +| default features | Rust 1.65.0 (Nov 3, 2022) | +| `future` | Rust 1.65.0 (Nov 3, 2022) | It will keep a rolling MSRV policy of at least 6 months. If only the default features are enabled, MSRV will be updated conservatively. When using other features, like diff --git a/src/lib.rs b/src/lib.rs index 209881d2..160ec20f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,10 +72,10 @@ //! //! This crate's minimum supported Rust versions (MSRV) are the followings: //! -//! | Feature | MSRV | -//! |:-----------------|:------------------------:| -//! | default features | Rust 1.60.0 (2022-04-07) | -//! | `future` | Rust 1.60.0 (2022-04-07) | +//! | Feature | MSRV | +//! |:-----------------|:-------------------------:| +//! | default features | Rust 1.65.0 (Nov 3, 2022) | +//! | `future` | Rust 1.65.0 (Nov 3, 2022) | //! //! It will keep a rolling MSRV policy of at least 6 months. If only the default //! features are enabled, MSRV will be updated conservatively. When using other