#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

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

#465 in Asynchronous

Download history 3/week @ 2024-09-21 8/week @ 2024-10-12 2/week @ 2024-10-19 10/week @ 2024-11-02 4/week @ 2024-11-09 551/week @ 2024-12-28 248/week @ 2025-01-04

799 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
~89K SLoC