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

Overview

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.

Owner
Enlightware GmbH
At Enlightware, we pursue the mission to foster autonomy, creativity and collaboration skills of each individual through digital products.
Enlightware GmbH
High performance Rust ECS library

Legion aims to be a feature rich high performance Entity component system (ECS) library for Rust game projects with minimal boilerplate. Getting Start

Amethyst Engine 1.1k Jun 10, 2021
A curated list of wgpu code and resources.

Awesome wgpu A curated list of wgpu code and resources. PRs welcome. About wgpu https://github.com/gfx-rs/wgpu-rs matrix chat https://matrix.to/#/#wgp

Roman Frołow 167 May 26, 2021
Bloat-Free Browser Game in Rust (rustc-only challenge)

Bloat-Free Browser Game in Rust (rustc-only challenge) Don't blame me if this code breaks in 1 year The idea is to make a simple game in Rust as bloat

Tsoding 16 Jun 7, 2021
A dependency-free chess engine library built to run anywhere.

♔chess-engine♚ A dependency-free chess engine library built to run anywhere. Demo | Docs | Contact Me Written in Rust ?? ?? Why write a Chess engine?

adam mcdaniel 288 Jun 8, 2021
A tool to display the minimap of a game larger on a second screen

maximap A tool to display the minimap of a game larger on a second screen. Should work on all operating systems supported by captrs and rust_minifb, s

Richard Baumann 18 Apr 4, 2021
An ergonomic physics API for bevy games.

Heron An ergonomic physics API for 2d and 3d bevy games. (powered by rapier) How it looks like fn main() { App::build() .add_plugins(DefaultPlug

Jonathan Cornaz 49 Jun 10, 2021
A modern 3D/2D game engine that uses wgpu.

Harmony A modern 3D/2D game engine that uses wgpu and is designed to work out of the box with minimal effort. It uses legion for handling game/renderi

John 146 Apr 16, 2021
Scion is a tiny 2D game library built on top of wgpu, winit and legion.

Scion is a 2D game library made in rust. Please note that this project is in its first milestones and is subject to change according to convience need

Jérémy Thulliez 42 Jun 13, 2021
A framework for making games using Macroquad.

Omegaquad A framework for making games using Macroquad. After writing maybe 5 games and finding myself always going to the previous project to copy-pa

null 10 Jun 3, 2021
EVM contract for Aurora.

Aurora Engine Prerequisites Rust nightly (2021-01-30) with the WebAssembly toolchain GNU Make (3.81+) rustup install nightly-2021-01-30 rustup target

Project Aurora 106 Jun 13, 2021
Rust library to create a Good Game Easily

ggez What is this? ggez is a Rust library to create a Good Game Easily. The current version is 0.6.0-rc0. This is a RELEASE CANDIDATE version, which m

null 2.9k Jun 12, 2021
A frontend to Assets purchased on Epic Games Store

Epic-Asset-Manager A frontend to Assets purchased on Epic Games Store Current Screenshot Install Arch Linux Use the AUR package Build flatpak meson _b

Acheta Games 24 May 22, 2021
SDL2 bindings for Rust

Rust-SDL2 Bindings for SDL2 in Rust Changelog for 0.34.2 Overview Rust-SDL2 is a library for talking to the new SDL2.0 libraries from Rust. Low-level

null 1.7k Jun 12, 2021
A plugin for Egui integration into Bevy

bevy_egui This crate provides a Egui integration for the Bevy game engine. Features: Desktop and web (bevy_webgl2) platforms support Clipboard (web su

Vladyslav Batyrenko 93 Jun 13, 2021