diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 723f1d72..16a64d20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,7 +86,7 @@ jobs: strategy: fail-fast: false matrix: - rust: ['1.63.0', 'stable', 'beta'] + rust: ['1.63.0', '1.69.0', 'stable', 'beta'] runs-on: 'ubuntu-latest' @@ -142,6 +142,7 @@ jobs: with: command: test args: --features "block_on executor signals" + if: ${{ matrix.rust != '1.63.0' }} - name: Run book tests uses: actions-rs/cargo@v1 diff --git a/Cargo.toml b/Cargo.toml index 6c3cd922..a88cd2a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ rustix = { version = "0.38", default-features = false, features = ["event", "fs" thiserror = "1.0.7" [target.'cfg(unix)'.dependencies] -nix = { version = "0.26", default-features = false, features = ["signal"], optional = true } +nix = { version = "0.28", default-features = false, features = ["signal"], optional = true } [dev-dependencies] futures = "0.3.5" diff --git a/README.md b/README.md index 1b1d4ca7..c9f50130 100644 --- a/README.md +++ b/README.md @@ -145,4 +145,10 @@ OpenBSD, DragonFlyBSD. Those platforms *should* work based on the fact that they have the same polling mechanism as tested platforms, but some subtle bugs might still occur. +### Minimum Safe Rust Version + +The current MSRV (Minimum Safe Rust Version) for this crate is Rust **1.63**. +When the `signals` feature is enabled, however, it will be bumped to `nix`'s +MSRV. At the time of writing this is Rust **1.69**. + License: MIT