#event-system #async #tokio

ewait

A thread-safe, asynchronous event system for Rust

2 releases

Uses new Rust 2024

0.1.1 Sep 27, 2025
0.1.0 Sep 27, 2025

#975 in Asynchronous

MIT license

7KB
77 lines

Ewait - Asynchronous Event System

A thread-safe, asynchronous event system for Rust.

Ewait allows developers to create events that can trigger multiple callbacks concurrently, making it easier to build event-driven code.


Features

  • Concurrent execution of callbacks Every connected callback runs in its own Tokio task, allowing high-performance, parallel execution.

  • Simple API Provides intuitive methods to connect, disconnect, and fire events, keeping your code clean and maintainable.

[!WARNING] This library requires a Tokio runtime to function. Make sure your main function uses #[tokio::main] or you create a runtime manually.

[!CAUTION] This project is developed by a beginner in Rust.

Dependencies

~2.6–4MB
~59K SLoC