diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 604cfc5d..64a1f146 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,14 +14,11 @@ jobs: strategy: matrix: - # All generated code should be running on stable now rust: [stable] - - # The default target we're compiling on and for TARGET: [x86_64-unknown-linux-gnu, armv7-unknown-linux-gnueabihf] include: - # Test MSRV + # Build on MSRV - rust: 1.65.0 TARGET: x86_64-unknown-linux-gnu @@ -31,7 +28,7 @@ jobs: TARGET: x86_64-unknown-linux-gnu steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} @@ -41,12 +38,13 @@ jobs: if: ${{ matrix.TARGET == 'armv7-unknown-linux-gnueabihf' }} run: sudo apt-get update && sudo apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf - - run: cargo test --target=${{ matrix.TARGET }} - if: ${{ matrix.TARGET != 'armv7-unknown-linux-gnueabihf' }} - - run: cargo build --target=${{ matrix.TARGET }} if: ${{ matrix.TARGET == 'armv7-unknown-linux-gnueabihf' }} + # We do not run tests on MSRV because of requirements of the additional dependencies + - run: cargo test --target=${{ matrix.TARGET }} + if: ${{ matrix.TARGET != 'armv7-unknown-linux-gnueabihf' && matrix.rust != '1.65.0' }} + ci-macos: name: CI-macOS runs-on: macos-14 @@ -57,11 +55,13 @@ jobs: TARGET: [x86_64-apple-darwin, aarch64-apple-darwin] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} target: ${{ matrix.TARGET }} - run: cargo build --target=${{ matrix.TARGET }} + # We do not run tests on MSRV because of requirements of the additional dependencies - run: cargo test --target=${{ matrix.TARGET }} + if: ${{ matrix.rust != '1.65.0'}} diff --git a/CHANGELOG.md b/CHANGELOG.md index 931041de..6be4e523 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [v0.6.2] - 2025-11-10 + - Relax lifetime constraint on `I2CTransfer::transfer` `msgs` reference. - Derived common traits for public types. @@ -43,7 +46,8 @@ Versioning](https://semver.org/spec/v2.0.0.html). The changelog for previous versions was not recorded. -[Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.6.1...HEAD +[Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.6.2...HEAD +[v0.6.1]: https://github.com/rust-embedded/rust-i2cdev/compare/0.6.1...0.6.2 [v0.6.1]: https://github.com/rust-embedded/rust-i2cdev/compare/0.6.0...0.6.1 [v0.6.0]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.1...0.6.0 [v0.5.1]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.0...0.5.1 diff --git a/Cargo.toml b/Cargo.toml index 244856e4..14a942dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "i2cdev" -version = "0.6.1" +version = "0.6.2" authors = [ "Paul Osborne ", "The Embedded Linux Team " diff --git a/LICENSE-MIT b/LICENSE-MIT index e320efc2..b1a4cc10 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,7 +1,7 @@ The MIT License (MIT) Copyright (c) 2015 Paul Osborne -Copyright (c) 2021-2023 The Rust Embedded Linux Team and contributors. +Copyright (c) 2021-2025 The Rust Embedded Linux Team and contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal