#async #future #non-blocking #compile-time

async-rt

A small library designed to utilize async executors through an common API while extending features

4 releases

0.1.5 Jan 5, 2025
0.1.4 Jan 2, 2025
0.1.3 Dec 31, 2024

#463 in Asynchronous

Download history 4/week @ 2024-10-09 6/week @ 2024-10-16 5/week @ 2024-10-30 9/week @ 2024-11-06 377/week @ 2024-12-25 410/week @ 2025-01-01 56/week @ 2025-01-08 47/week @ 2025-01-15

890 downloads per month

Apache-2.0 OR MIT

42KB
944 lines

async-rt

Overview

async-rt is a small library designed to utilize async executors (i.e Tokio) through a common API while extending functionality for abortable task, tasks that receive messages and being able to switch between two async runtimes at compile time if specific conditions are met (i.e tokio if the feature is enabled and its a non-wasm32 arch, while wasm32-bindgen-futures is used if the arch is wasm32).

MSRV

The minimum supported rust version is 1.83, which can be changed in the future. There is no guarantee that this library will work on older versions of rust.

License

This crate is licensed under either Apache 2.0 or MIT.

Dependencies

~1.3–9.5MB
~90K SLoC