[![stable pipeline](https://gitlab.com/cyloncore/yaaral/badges/stable/pipeline.svg?key_text=stable)](https://gitlab.com/cyloncore/yaaral/-/pipelines?ref=stable) [![stable pipeline](https://gitlab.com/cyloncore/yaaral/badges/stable/pipeline.svg?key_text=dev/1)](https://gitlab.com/cyloncore/yaaral/-/pipelines?ref=dev/1) [![docs](https://docs.rs/yaaral/badge.svg)](https://docs.rs/yaaral) [![crates.io](https://img.shields.io/crates/v/yaaral.svg)](https://crates.io/crates/yaaral)
yaaral: yet another async runtime abstraction library ===================================================== yaaral is an abstraction to select between the runtime of `tokio`, `futures-executor` and `std-async`. Its development is driven by the need of the [auKsys](https://auksys.org/) and [CylonCore](https://cyloncore.com/) projects. Feel free to submit any pull requests for your own needs. How to use? ----------- In `cargo.toml`: * use the following for support with `futures-executor`: ```toml yaaral = { version = "0.1.x", features = ["futures_executor"] } ``` * use the following for support with `tokio`: ```toml yaaral = { version = "0.1.x", features = ["tokio"] } ``` In code, you can start a new runtime with: ```rust let runtime = yaaral::Runtime::new("thread-name-"); ```