3 releases (1 stable)
1.0.0 | Apr 17, 2023 |
---|---|
0.1.1 | Sep 5, 2022 |
0.1.0 | Sep 1, 2022 |
#1837 in Asynchronous
184 downloads per month
Used in mundy
9KB
51 lines
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.