PackageTrack
Sign in Get early access

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 2024
2023 2024 2025 2026
Release Pre-release

Releases

latest 11
  1. 1.0.0 09 Jan 2024
    Release notes

    Check out the announcement blog post and the migration guide.

    Changes since v1.0.0-rc.3:

    • gpio: remove ToggleableOutputPin, move toggle() to StatefulOutputPin.
    Open source →
    Release notes

    Check out the announcement blog post and the migration guide for help with migrating from v0.2 to v1.0.

    • Updated embedded-hal to version 1.0.0.
    Open source →
  2. 1.0.0-rc.3 14 Dec 2023 pre-release
    Release notes
    • Updated embedded-hal to version 1.0.0-rc.3.
    Open source →
  3. 1.0.0-rc.2 29 Nov 2023 pre-release
    Release notes
    • Updated embedded-hal to version 1.0.0-rc.2.
    • Minor document fixes.
    • Add #[inline] hints to most of embedded-hal-async functions.
    • delay: Rename DelayUs to DelayNs
    • delay: Add DelayNs::delay_ns()
    • delay: Add default impls of delay_ms and delay_us based on delay_ns.
    • spi: Rename Operation::DelayUs to Operation::DelayNs, with nanosecond precision.
    • Use feature() on nightly toolchains only. This adds support for 1.75 beta and stable.
    Open source →
  4. 1.0.0-rc.1 15 Aug 2023 pre-release
    Release notes
    • Updated embedded-hal to version 1.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 to embedded-hal-bus.
    Open source →
  5. 0.2.0-alpha.2 04 Jul 2023 pre-release
    Release notes

    Added

    • spi: added Operation::DelayUs(u32).

    Changed

    • Updated embedded-hal to version 1.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.
    Open source →
  6. 0.2.0-alpha.1 05 Apr 2023 pre-release
    Release notes

    Added

    • Added a serial::Write trait.

    Changed

    • Updated embedded-hal to version 1.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
    Open source →
  7. 0.2.0-alpha.0 23 Nov 2022 pre-release
    Release notes
    • Switch all traits to use async_fn_in_trait (AFIT). Requires nightly-2022-11-22 or newer.
    Open source →
  8. 0.1.0-alpha.3 26 Oct 2022 pre-release
    Release notes
    • Fix build on newer Rust nightlies.
    Open source →
  9. 0.1.0-alpha.2 28 Sep 2022 pre-release
    Release notes

    Added

    • spi: added a transaction helper macro as a workaround for the raw pointer workaround.

    Changed

    • Updated embedded-hal to version 1.0.0-alpha.9.
    Open source →
  10. 0.1.0-alpha.1 26 May 2022 pre-release
    Release notes

    Changed

    • spi: device helper methods (read, write, transfer...) are now default methods in SpiDevice instead of an SpiDeviceExt extension trait.
    • spi: the SpiDevice::transaction closure now gets a raw pointer to the SpiBus to work around Rust borrow checker limitations.
    • spi: the SpiDevice trait is now unsafe to implement due to the raw pointer workaround.
    Open source →
  11. 0.1.0-alpha.0 19 Apr 2022 pre-release
    Release notes

    First release to crates.io

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive