All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Relax lifetime constraint on
I2CTransfer::transfer
msgs
reference
v0.6.1 - 2024-05-09
- Properly ellide the start bit when sending a series of I2C messages as a transaction.
- Prevent underflow panics when using a
MockI2CDevice
with an offset of0x0
- Bumps the MSRV to 1.65.0
v0.6.0 - 2023-08-03
- Hide nix from the public api such that it can be updated without resulting in a breaking change.
- Updated nix to version
0.26
; only use theioctl
feature. - Updated
bitflags
to version2.3
. - Use
File.read_exact
instead ofFile.read
inLinuxI2CDevice.read
so that the buffer is filled. - Fix the lifetime parameter on
LinuxI2CMessage
to ensure that it does not outlive the buffer it points to. - Updated MSRV to 1.60.0.
v0.5.1 - 2021-11-22
- Updated nix to version
0.23
. - Add PEC support for SMBus compatible adapters.
- Add
LinuxI2CDevice::force_new()
to open the device without checking if the address is bound to a driver.
v0.5.0 - 2021-09-21
- Updated
nix
to version0.22
. - Updated
bitflags
to version1.3
. - Updated MSRV to version 1.46.0.
The changelog for previous versions was not recorded.