embedded-hal-async
An asynchronous Hardware Abstraction Layer (HAL) for embedded systems
1.0.0
6.2M downloads/mo
#4068 most downloaded on crates.io
rust-embedded/embedded-hal
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 6 weeks
Nearly every release is documented
notes for 1 of 1 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
11 releases · first in 2022
0 releases in the last 12 months
see the full history below
Release timeline
11 releases · Apr 2022 to Jan 2024Releases
latest 11-
1.0.009 Jan 2024Release notes
Open source →Check out the announcement blog post and the migration guide.
Changes since v1.0.0-rc.3:
- gpio: remove
ToggleableOutputPin, movetoggle()toStatefulOutputPin.
Release notes
Open source →Check out the announcement blog post and the migration guide for help with migrating from v0.2 to v1.0.
- Updated
embedded-halto version1.0.0.
- gpio: remove
-
1.0.0-rc.314 Dec 2023 pre-release -
1.0.0-rc.229 Nov 2023 pre-releaseRelease notes
Open source →- Updated
embedded-halto version1.0.0-rc.2. - Minor document fixes.
- Add #[inline] hints to most of
embedded-hal-asyncfunctions. - delay: Rename
DelayUstoDelayNs - delay: Add
DelayNs::delay_ns() - delay: Add default impls of
delay_msanddelay_usbased ondelay_ns. - spi: Rename
Operation::DelayUstoOperation::DelayNs, with nanosecond precision. - Use
feature()on nightly toolchains only. This adds support for 1.75 beta and stable.
- Updated
-
1.0.0-rc.115 Aug 2023 pre-releaseRelease notes
Open source →- Updated
embedded-halto version1.0.0-rc.1. - Add optional
defmt0.3 support. - Remove serial traits, the replacement is the
embedded-iocrate. - Added
+ ?Sizedto all blanket impls. - Moved
ExclusiveDevicetoembedded-hal-bus.
- Updated
-
0.2.0-alpha.204 Jul 2023 pre-releaseRelease notes
Open source →Added
- spi: added
Operation::DelayUs(u32).
Changed
- Updated
embedded-halto 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.
Removed
- spi: removed read-only and write-only traits.
- spi: added
-
0.2.0-alpha.105 Apr 2023 pre-releaseRelease notes
Open source →Added
- Added a
serial::Writetrait.
Changed
- Updated
embedded-halto 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
- Added a
-
0.2.0-alpha.023 Nov 2022 pre-releaseRelease notes
Open source →- Switch all traits to use
async_fn_in_trait(AFIT). Requiresnightly-2022-11-22or newer.
- Switch all traits to use
-
0.1.0-alpha.326 Oct 2022 pre-release -
0.1.0-alpha.228 Sep 2022 pre-releaseRelease notes
Open source →Added
- spi: added a transaction helper macro as a workaround for the raw pointer workaround.
Changed
- Updated
embedded-halto version1.0.0-alpha.9.
-
0.1.0-alpha.126 May 2022 pre-releaseRelease notes
Open source →Changed
- spi: device helper methods (
read,write,transfer...) are now default methods inSpiDeviceinstead of anSpiDeviceExtextension trait. - spi: the
SpiDevice::transactionclosure now gets a raw pointer to theSpiBusto work around Rust borrow checker limitations. - spi: the
SpiDevicetrait is now unsafe to implement due to the raw pointer workaround.
- spi: device helper methods (
-
0.1.0-alpha.019 Apr 2022 pre-release