From f7b3b39d7019ce681d27168d70426c2e7b3db69b Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Fri, 22 Sep 2023 16:12:31 +0200 Subject: [PATCH 1/2] Revert "Update codspeed-criterion-compat requirement from 1.1.0 to 2.1.0" This reverts commit 55758c3ea3eb6ed0d3f481b7bc179eb4c4a43660. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e5e71c1b..dd48ffbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ thiserror = "1.0.44" deprecate-until = "0.1.0" [dev-dependencies] -codspeed-criterion-compat = "2.2.0" +codspeed-criterion-compat = "1.1.0" itertools = "0.11.0" lazy_static = "1.4.0" movingai = "1.3.0" From da496dbb6ee4ae73a37ea527f71b0021d8b58f52 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Fri, 22 Sep 2023 16:12:41 +0200 Subject: [PATCH 2/2] Revert "Update MSRV to 1.70.0" This reverts commit 7dfd691fb181d897c817331fb7a255940c1236a9. --- .github/bors.toml | 2 +- .github/workflows/tests.yml | 2 +- Cargo.toml | 2 +- README.md | 2 +- tests/ui.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/bors.toml b/.github/bors.toml index e66af99f..3fd86864 100644 --- a/.github/bors.toml +++ b/.github/bors.toml @@ -1,5 +1,5 @@ status = [ "Check", "cargo deny", "pre-commit", "Rustfmt", "Clippy", "Test with minimal versions", - "Test suite (stable)", "Test suite (beta)", "Test suite (nightly)", "Test suite (1.70.0)" + "Test suite (stable)", "Test suite (beta)", "Test suite (nightly)", "Test suite (1.65.0)" ] delete_merged_branches = true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b5eebf84..d69a1e69 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,7 +36,7 @@ jobs: needs: check strategy: matrix: - toolchain: [stable, beta, nightly, 1.70.0] + toolchain: [stable, beta, nightly, 1.65.0] fail-fast: false steps: - uses: actions/checkout@v3 diff --git a/Cargo.toml b/Cargo.toml index dd48ffbc..72b07154 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ authors = ["Samuel Tardieu "] categories = ["algorithms"] readme = "README.md" edition = "2021" -rust-version = "1.70.0" +rust-version = "1.65.0" [package.metadata.release] sign-commit = true diff --git a/README.md b/README.md index e7872865..74b9fce4 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ floating-point types (such as `f32`) that implement `PartialOrd` in this context, you can wrap them into compliant types using the [ordered-float](https://crates.io/crates/ordered-float) crate. -The minimum supported Rust version (MSRV) is Rust 1.70.0. +The minimum supported Rust version (MSRV) is Rust 1.65.0. ## License diff --git a/tests/ui.rs b/tests/ui.rs index 5b2c1272..2b87c108 100644 --- a/tests/ui.rs +++ b/tests/ui.rs @@ -1,7 +1,7 @@ #[test] fn ui() { match std::env::var("TOOLCHAIN").as_deref() { - Ok("stable") | Ok("1.70.0") => (), + Ok("stable") | Ok("1.65.0") => (), _ => { let t = trybuild::TestCases::new(); t.compile_fail("tests/ui/*.rs");