From aa9d449f6d34f13bea32b0ca221fdcba82f1be67 Mon Sep 17 00:00:00 2001 From: Hendrik Sollich Date: Sat, 4 Oct 2025 18:54:15 +0200 Subject: [PATCH 1/2] ci: add minimal versions check fixes #254 --- .github/workflows/build-platforms.yml | 39 ++++++++++++++++----------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-platforms.yml b/.github/workflows/build-platforms.yml index e3cbb39f9..82d06ff7d 100644 --- a/.github/workflows/build-platforms.yml +++ b/.github/workflows/build-platforms.yml @@ -12,10 +12,7 @@ jobs: strategy: #fail-fast: true matrix: - rust: - - stable - - beta - - stable minus 5 releases + rust: [stable, beta, stable minus 5 releases, nightly] feature: - d - d,images @@ -43,24 +40,25 @@ jobs: - name: test lib (${{matrix.feature}}) run: cargo test --lib --no-default-features --features ${{matrix.feature}} - # - name: test tests (${{matrix.feature}}) - # run: cargo test --tests --no-default-features --features ${{matrix.feature}} - - name: test docs (${{matrix.feature}}) run: cargo test --doc --no-default-features --features ${{matrix.feature}} - name: clippy (default features) run: cargo clippy + - name: minimal versions check (nightly only) + if: matrix.rust == 'nightly' + run: | + cargo update -Z minimal-versions + cargo check + cargo check --all-features + windows: name: windows runs-on: windows-latest strategy: matrix: - rust: - - stable - - beta - - stable minus 5 releases + rust: [stable, beta, stable minus 5 releases, nightly] steps: - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 @@ -78,15 +76,19 @@ jobs: - name: clippy (default features) run: cargo clippy -- -D warnings + - name: minimal versions check (nightly only) + if: matrix.rust == 'nightly' + run: | + cargo update -Z minimal-versions + cargo check + cargo check --all-features + macos: name: macos runs-on: macos-latest strategy: matrix: - rust: - - stable - - beta - - stable minus 5 releases + rust: [stable, beta, stable minus 5 releases, nightly] steps: - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 @@ -103,3 +105,10 @@ jobs: - name: clippy (default features) run: cargo clippy -- -D warnings + + - name: minimal versions check (nightly only) + if: matrix.rust == 'nightly' + run: | + cargo update -Z minimal-versions + cargo check + cargo check --all-features From 443f780e5bb794faab10894595421b098cbb8dae Mon Sep 17 00:00:00 2001 From: Hendrik Sollich Date: Sat, 4 Oct 2025 18:54:31 +0200 Subject: [PATCH 2/2] docs: add deps.rs badge --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a0a5c817..04ef8d0da 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ [![version](https://img.shields.io/crates/v/notify-rust)](https://crates.io/crates/notify-rust/) [![documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://docs.rs/notify-rust/) [![license](https://img.shields.io/crates/l/notify-rust.svg?style=flat)](https://crates.io/crates/notify-rust/) +[![dependency status](https://deps.rs/repo/github/hoodie/notify-rust/status.svg)](https://deps.rs/repo/github/hoodie/notify-rust) @@ -77,7 +78,7 @@ Similar to macOS we support windows via the help of [winrt-notification](https:/ Checkout [toastify](https://github.com/hoodie/toastify), it exposes most of the functionality of the lib to the commandline. ## Contribution -Any help in form of descriptive and friendly [issues](https://github.com/hoodie/notify-rust/issues) or comprehensive pull requests are welcome! +Any help in form of descriptive and friendly [issues](https://github.com/hoodie/notify-rust/issues) or comprehensive pull requests are welcome! Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in notify-rust by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.