Skip to content

A single-threaded polling-based Rust async executor suitable for use in games, embedded systems or WASM.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

enlightware/simple-async-local-executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple async local executor

Crates.io Docs.rs Build Status

An Enlightware® software.

Overview

A single-threaded polling-based executor suitable for use in games, embedded systems or WASM. This executor can be useful when the number of tasks is small or if a small percentage is blocked. Being polling-based, in the general case it trades off efficiency for simplicity and does not require any concurrency primitives such as Arc, etc.

Usage

To use this crate, first add this to your Cargo.toml:

[dependencies]
simple-async-local-executor = "0.1.0"

Then, see the documentation for more details.

This crate depends by default on futures-0.3 to provide the FusedFuture trait. If you do not need that, you can disable the futures feature and avoid that dependency.

Examples

Beside documentation and unit tests, the following examples are provided:

License

Licensed under either of

at your option.

Contribution

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

About

A single-threaded polling-based Rust async executor suitable for use in games, embedded systems or WASM.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages