5 unstable releases

0.2.0 Jul 19, 2022
0.1.2 May 6, 2022
0.1.1 Apr 24, 2022
0.1.0 Jan 31, 2022
0.0.1 Jan 27, 2022

#23 in #no-heap

Custom license

66KB
1K SLoC

Async Ach

Features

  • const: static friendly
  • no_std: Can run in embedded devices
  • no_alloc: Needn't dynamic memory allocation
  • Lock Free
  • Wait Free: try_send/try_recv is Wait Free
  • Async: send/recv is async

Usage

Waker

An array of core::task::Waker.

Notify

Wait for wake.

Cell

It is similar to RwLock.

Watch

wake on changed.

Spsc

bounded SPSC queue.

Ring

bounded ring buffer.

Mpmc

bounded MPMC queue.

Pubsub

broadcast channel.

Dependencies

~0.8–1.2MB
~22K SLoC