4 releases (2 breaking)
0.6.1 | Nov 29, 2023 |
---|---|
0.6.0 | Oct 3, 2023 |
0.5.0 | Aug 7, 2023 |
0.0.0 | Jul 4, 2023 |
#1813 in Embedded development
67,230 downloads per month
Used in 171 crates
(83 directly)
47KB
656 lines
embedded-io-async
Async IO traits for embedded systems.
This crate contains asynchronous versions of the embedded-io
traits and shares its scope and design goals.
This project is developed and maintained by the HAL team.
Optional Cargo features
std
: AddsFrom
impls to convert to/fromstd::io
structs, addsstd::error::Error
impls.alloc
: Adds blanket impls forBox
, addsWrite
impl toVec
.defmt-03
: Derivedefmt::Format
fromdefmt
0.3 for enums and structs.
Minimum Supported Rust Version (MSRV)
This crate requires Rust nightly newer than nightly-2022-11-22
, due to requiring support for
async fn
in traits (AFIT), which is not stable yet.
Keep in mind Rust nightlies can make backwards-incompatible changes to unstable features at any time.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~155KB