diff --git a/.clippy.toml b/.clippy.toml index fc3ef79..23bf481 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1 +1 @@ -msrv = "1.54.0" # MSRV +msrv = "1.60.0" # MSRV diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c29adc3..25895f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: - name: No-default features run: cargo test --workspace --no-default-features msrv: - name: "Check MSRV: 1.54.0" + name: "Check MSRV: 1.60.0" runs-on: ubuntu-latest steps: - name: Checkout repository @@ -59,7 +59,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.54.0 # MSRV + toolchain: 1.60.0 # MSRV profile: minimal override: true - uses: Swatinem/rust-cache@v1 @@ -113,7 +113,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.54.0 # MSRV + toolchain: 1.60.0 # MSRV profile: minimal override: true components: clippy diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index af71a19..686049b 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -57,9 +57,9 @@ jobs: strategy: matrix: rust: - - 1.54.0 # MSRV + - 1.60.0 # MSRV - stable - continue-on-error: ${{ matrix.rust != '1.54.0' }} # MSRV + continue-on-error: ${{ matrix.rust != '1.60.0' }} # MSRV runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/Cargo.toml b/Cargo.toml index 1dda38f..c74f2c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,8 @@ documentation = "https://docs.rs/predicates" readme = "README.md" categories = ["data-structures", "rust-patterns"] keywords = ["predicate", "boolean", "combinatorial", "match", "logic"] -edition = "2018" +edition = "2021" +rust-version = "1.60.0" # MSRV include = [ "src/**/*", "Cargo.toml", diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 3c69aea..61c7064 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -10,7 +10,8 @@ homepage = "https://github.com/assert-rs/predicates-rs/tree/master/predicates-co documentation = "https://docs.rs/predicates-core" categories = ["data-structures", "rust-patterns"] keywords = ["predicate", "boolean", "combinatorial", "match", "logic"] -edition = "2018" +edition = "2021" +rust-version = "1.60.0" # MSRV include = [ "src/**/*", "Cargo.toml", diff --git a/crates/tree/Cargo.toml b/crates/tree/Cargo.toml index 4ad94c1..f74fbbf 100644 --- a/crates/tree/Cargo.toml +++ b/crates/tree/Cargo.toml @@ -10,7 +10,8 @@ homepage = "https://github.com/assert-rs/predicates-rs/tree/master/predicates-tr documentation = "https://docs.rs/predicates-tree" categories = ["data-structures", "rust-patterns"] keywords = ["predicate", "boolean", "combinatorial", "match", "logic"] -edition = "2018" +edition = "2021" +rust-version = "1.60.0" # MSRV include = [ "src/**/*", "Cargo.toml",