#async-executor #product-os #tokio #async-io #compile-time #async-std #smol

product-os-async-executor

Product OS : Async Executor provides a set of tools to handle async execution generically so that the desired async library (e.g. tokio, smol) to be used can be chosen at compile time.

15 releases

0.0.16 Jun 17, 2024
0.0.15 Apr 14, 2024
0.0.12 Dec 25, 2023

#5 in #smol

Download history 53/week @ 2024-07-29 107/week @ 2024-08-05 43/week @ 2024-08-12 36/week @ 2024-08-19 76/week @ 2024-08-26 18/week @ 2024-09-02 45/week @ 2024-09-09 54/week @ 2024-09-16 71/week @ 2024-09-23 24/week @ 2024-09-30 7/week @ 2024-10-07 23/week @ 2024-10-14 47/week @ 2024-10-21 23/week @ 2024-10-28 34/week @ 2024-11-04 13/week @ 2024-11-11

118 downloads per month
Used in 20 crates (5 directly)

AGPL-3.0-only

53KB
1.5K SLoC

Product OS : Async Executor

Product OS : Async Executor provides a set of tools to handle async execution generically so that the desired async library (e.g. tokio, smol) to be used can be chosen at compile time.

What is Product OS?

Product OS is a collection of packages that provide different tools and features that can work together to build products more easily for the Rust ecosystem.

Installation

Use the Rust crate package manager cargo to install Product OS : Async Executor.

cargo add product-os-async-executor

or add Product OS : Async Executor to your cargo.toml [packages] section.

product-os-async-executor = { version = "0.0.16", features = [], default-features = true, optional = false }

Features

Product OS Async Executor supports a number of features leveraging existing Rust libraries to help manage an executor generically including:

  • Traits for handling implementations of additional async libraries
  • Out of the box support for tokio and smol with partial support for async_std
  • Support for one time and interval timers
  • Provides some traits for AsyncRead and AsyncWrite to be used across async runtimes
  • Supports no_std with alloc only environments
// Feature samples TODO

Usage

// Examples TODO

Contributing

Contributions are not currently available but will be available on a public repository soon.

License

GNU AGPLv3

Dependencies

~2–14MB
~171K SLoC