async-pool 1.1.0

Statically allocated pool providing a std-like Box, with async functionality.
Documentation

async-pool

Documentation

Statically allocated pool providing a std-like Box, with hability to asynchronously wait for a pool slot to become available.

This crate is tailored to be used with no-std async runtimes, like Embassy, but can also be used in std environments (check examples).

Dependencies

This crate uses the AtomicWaker functionality from embassy-sync crate, which in turn requires a critical section implementation. Check critical-section.

Previous work

This crate is heavily based on atomic-pool.

License

This work is licensed under either of

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.