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 and CylonCore 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:
= { = "0.1.x", = ["futures_executor"] }
- use the following for support with
tokio:
= { = "0.1.x", = ["tokio"] }
In code, you can start a new runtime with:
let runtime = new;