Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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'}}
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "i2cdev"
version = "0.6.1"
version = "0.6.2"
authors = [
"Paul Osborne <osbpau@gmail.com>",
"The Embedded Linux Team <embedded-linux@teams.rust-embedded.org>"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -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
Expand Down