/beul

It executes futures

Primary LanguageRustApache License 2.0Apache-2.0

Beul

Beul is a minimalistic futures executor. No dependencies, no unsafe rust. It simply executes futures.

"Beul" is Dutch for executioner. It's a pun.

Usage

Simply call execute with your future:

beul::execute(async {});

Backwards compatibility

This crate requires at least Rust 1.68, due to its reliance on std::pin::pin!. Increases in this version will be considered breaking changes and will be avoided if possible. The minimum supported Rust version will only be bumped in major or minor versions. This crate follows semantic versioning.

Limitations

Beul is a single-threaded executor and will not provide anything but execution. Futures that depend on runtime features, as present for example in Tokio, will not work.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.