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.
No unreleased changes yet.
v1.0.0 - 2023-12-28
Check out the announcement blog post and the migration guide for help with migrating from v0.2 to v1.0.
- Updated
embedded-hal
to version1.0.0
.
v1.0.0-rc.3 - 2023-12-14
- Updated
embedded-hal
to version1.0.0-rc.3
.
v1.0.0-rc.2 - 2023-11-28
- Updated
embedded-hal
to version1.0.0-rc.2
. - Minor document fixes.
- Add #[inline] hints to most of
embedded-hal-async
functions. - delay: Rename
DelayUs
toDelayNs
- delay: Add
DelayNs::delay_ns()
- delay: Add default impls of
delay_ms
anddelay_us
based ondelay_ns
. - spi: Rename
Operation::DelayUs
toOperation::DelayNs
, with nanosecond precision. - Use
feature()
on nightly toolchains only. This adds support for 1.75 beta and stable.
v1.0.0-rc.1 - 2023-08-15
- Updated
embedded-hal
to version1.0.0-rc.1
. - Add optional
defmt
0.3 support. - Remove serial traits, the replacement is the
embedded-io
crate. - Added
+ ?Sized
to all blanket impls. - Moved
ExclusiveDevice
toembedded-hal-bus
.
v0.2.0-alpha.2 - 2023-07-04
- spi: added
Operation::DelayUs(u32)
.
- Updated
embedded-hal
to version1.0.0-alpha.11
. - spi: removed redundant lifetime annotations. Note that recent nightlies care about them and require impls to match, so you might have to adjust them.
- spi: removed read-only and write-only traits.
v0.2.0-alpha.1 - 2023-04-04
- Added a
serial::Write
trait.
- Updated
embedded-hal
to version1.0.0-alpha.10
. - delay: make infallible.
- i2c: remove
_iter()
methods. - i2c: add default implementations for all methods based on
transaction()
. - spi: SpiDevice transaction now takes an operation slice instead of a closure
v0.2.0-alpha.0 - 2022-11-23
- Switch all traits to use
async_fn_in_trait
(AFIT). Requiresnightly-2022-11-22
or newer.
v0.1.0-alpha.3 - 2022-10-26
- Fix build on newer Rust nightlies.
v0.1.0-alpha.2 - 2022-09-28
- spi: added a transaction helper macro as a workaround for the raw pointer workaround.
- Updated
embedded-hal
to version1.0.0-alpha.9
.
v0.1.0-alpha.1 - 2022-05-24
- spi: device helper methods (
read
,write
,transfer
...) are now default methods inSpiDevice
instead of anSpiDeviceExt
extension trait. - spi: the
SpiDevice::transaction
closure now gets a raw pointer to theSpiBus
to work around Rust borrow checker limitations. - spi: the
SpiDevice
trait is now unsafe to implement due to the raw pointer workaround.
v0.1.0-alpha.0 - 2022-04-17
First release to crates.io