#product-os #async-executor #tokio #smol #compile-time #handle #set

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.

14 releases

0.0.15 Apr 14, 2024
0.0.14 Apr 10, 2024
0.0.12 Dec 25, 2023

#5 in #smol

Download history 9/week @ 2024-01-01 52/week @ 2024-01-08 20/week @ 2024-01-15 20/week @ 2024-01-22 15/week @ 2024-01-29 23/week @ 2024-02-05 35/week @ 2024-02-12 18/week @ 2024-02-19 237/week @ 2024-02-26 52/week @ 2024-03-04 71/week @ 2024-03-11 43/week @ 2024-03-18 81/week @ 2024-03-25 76/week @ 2024-04-01 335/week @ 2024-04-08 122/week @ 2024-04-15

614 downloads per month
Used in 11 crates (5 directly)

AGPL-3.0-only

51KB
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.15", 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–16MB
~184K SLoC