nightly no-std pros-async

A simple async executor for pros-rs

2 unstable releases

0.2.0 Apr 5, 2024
0.1.0 Mar 6, 2024
Download history 14/week @ 2024-07-30 2/week @ 2024-09-17 15/week @ 2024-09-24

101 downloads per month
Used in pros

MIT license

3.5MB
2K SLoC

pros-async

Tiny async runtime and robot traits for pros-rs. The async executor supports spawning tasks and blocking on futures. It has a reactor to improve the performance of some futures. FreeRTOS tasks can still be used, but it is recommended to use only async tasks for performance.


lib.rs:

Tiny async runtime and robot traits for pros-rs. The async executor supports spawning tasks and blocking on futures. It has a reactor to improve the performance of some futures. It is recommended to use the AsyncRobot trait to run robot code. FreeRTOS tasks can still be used, but it is recommended to use only async tasks for performance.

Dependencies

~0.8–8MB
~63K SLoC