4 releases (2 breaking)
|0.4.0||Nov 25, 2022|
|0.3.1||Oct 26, 2022|
|0.3.0||May 18, 2022|
|0.2.0||May 6, 2022|
#77 in Embedded development
21,105 downloads per month
Used in 49 crates (21 directly)
IO traits for embedded systems.
std::io traits are not available in
no_std targets, mainly because
requires allocation. This crate contains replacement equivalent traits, usable in
The only difference with
Error is an associated type. This allows each implementor
to return its own error type, while avoiding
Box. This is how errors are handled in
Async variations of the traits are also available, returning futures using generic associated types.
Note this design is significantly different from both
tokio::io. The result is much
more ergonomic, at the expense of requiring nightly.
This work is 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.
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.