diff --git a/.github/workflows/periodic.yml b/.github/workflows/periodic.yml new file mode 100644 index 0000000..6559a3a --- /dev/null +++ b/.github/workflows/periodic.yml @@ -0,0 +1,41 @@ +name: Periodic tests +on: + push: + pull_request: + schedule: + - cron: '0 0 * * SUN' + +jobs: + test: + name: Test + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Install toolchain + uses: dtolnay/rust-toolchain@nightly + + - name: Use latest dependencies + run: cargo generate-lockfile --ignore-rust-version + + - name: Test impl-tools-lib + run: cargo test --manifest-path lib/Cargo.toml --lib --tests + + - name: Test impl-tools + run: cargo test --features nightly-diagnostics --lib --tests + + - name: Test test-cfg + working-directory: tests/test-cfg + run: | + cargo test + cargo test --features feature1 + + cargo-deny: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: EmbarkStudios/cargo-deny-action@v2 + with: + rust-version: "1.85.0" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 05ee2dc..140435b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,15 +31,15 @@ jobs: - name: Checkout uses: actions/checkout@v6 - - name: Not MSRV - if: ${{ matrix.variant == 'MSRV' }} - run: cargo generate-lockfile --ignore-rust-version - - name: Install toolchain uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.toolchain }} + - name: Not MSRV + if: ${{ matrix.variant == 'MSRV' }} + run: cargo generate-lockfile --ignore-rust-version + - name: Build docs if: ${{ matrix.variant == 'docs' }} run: cargo doc ${{ matrix.features }} --all --no-deps diff --git a/CHANGELOG.md b/CHANGELOG.md index b5ca117..ebbf5be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -# [0.11.4] — unreleased +# [0.12.0] — 2026-06-10 + +- Add cargo-deny check (#67) +- Bump MSRV to 1.85.0 and Edition to 2024 (#66) +- Switch from `proc-macro-error2` to `proc-macro-error3` since the former is now unmaintained (#66) +- Add `#[split_impl]` attribute (#63, #64) + +# [0.11.4] — 2025-09-29 - Bump MSRV to 1.70 (#59) - Add feature `nightly-diagnostics` (#60) diff --git a/Cargo.toml b/Cargo.toml index 468fabd..82541d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ edition = "2024" [package] name = "impl-tools" -version = "0.11.4" +version = "0.12.0" description = "Helper macros: autoimpl" keywords = ["proc-macro", "macro", "derive", "trait", "procedural"] categories = ["development-tools::procedural-macro-helpers"] @@ -39,7 +39,7 @@ default-features = false version = "2.0.0" [dependencies.impl-tools-lib] -version = "0.11.4" +version = "0.12.0" path = "lib" [dev-dependencies] diff --git a/deny.toml b/deny.toml new file mode 100644 index 0000000..96b7e49 --- /dev/null +++ b/deny.toml @@ -0,0 +1,6 @@ +[licenses] +allow = [ + "MIT", + "Apache-2.0", + "Unicode-3.0", +] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 4f90414..abecc67 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "impl-tools-lib" -version = "0.11.4" +version = "0.12.0" description = "Helper macros: autoimpl" keywords = ["derive", "trait"] readme = "README.md" diff --git a/tests/test-cfg/Cargo.toml b/tests/test-cfg/Cargo.toml index 43e19d4..d7400d7 100644 --- a/tests/test-cfg/Cargo.toml +++ b/tests/test-cfg/Cargo.toml @@ -11,4 +11,4 @@ publish = false feature1 = [] [dependencies] -impl-tools = { version = "0.11", path = "../.." } +impl-tools = { version = "0.12", path = "../.." }