#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

#803 in Asynchronous

Download history 3/week @ 2024-10-29 11/week @ 2024-11-05 292/week @ 2024-12-24 471/week @ 2024-12-31 70/week @ 2025-01-07 47/week @ 2025-01-14 21/week @ 2025-01-21 23/week @ 2025-01-28 82/week @ 2025-02-04

188 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–9MB
~89K SLoC