Crates.io | mea |
lib.rs | mea |
version | 0.0.6 |
source | src |
created_at | 2024-10-25 18:29:05.151067 |
updated_at | 2024-11-05 14:10:54.771931 |
description | A runtime-agnostic library providing essential synchronization primitives for asynchronous Rust programming. |
homepage | https://github.com/tisonkun/mea |
repository | https://github.com/tisonkun/mea |
max_upload_size | |
id | 1422795 |
size | 81,143 |
Mea (Make Easy Async) is a runtime-agnostic library providing essential synchronization primitives for asynchronous Rust programming. The library offers a collection of well-tested, efficient synchronization tools that work with any async runtime.
Add the dependency to your Cargo.toml
via:
cargo add mea
All synchronization primitives in this library are runtime-agnostic, meaning they can be used with any async runtime like Tokio, async-std, or others. This makes the library highly versatile and portable.
All types in this library implement Send
and Sync
, making them safe to share across thread boundaries. This is essential for concurrent programming where data needs to be accessed from multiple threads.
This crate is built against the latest stable release, and its minimum supported rustc version is 1.80.0.
The policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if Mea 1.0 requires Rust 1.20.0, then Mea 1.0.z for all values of z will also require Rust 1.20.0 or newer. However, Mea 1.y for y > 0 may require a newer minimum version of Rust.
This project is licensed under Apache License, Version 2.0.