#synchronization-primitive #async #local #send #runtime-agnostic

no-std asyncsync

Runtime-agnostic synchronization primitives for asynchronous Rust

2 unstable releases

0.2.0 Aug 3, 2022
0.1.0 Jul 29, 2022

#2296 in Rust patterns

MIT/Apache

33KB
780 lines

asyncsync-rs

Crates.io Docs.rs

asyncsync aims to provide the commonly required synchronization primitives for asynchronous Rust in an runtime-agnostic and performant way.

Usage

Add asyncsync to your dependencies:

asyncsync = "0.1.0"

See docs.rs for details about specific types.

Features

std: Enables usage of std. This is currently required for the default Send primitives. Enabled by default.
local: Enables the optional local module, providing !Send primitives for a single-threaded context.

no_std support

License

Licensed under either The Apache License, Version 2.0 or MIT license at your option.

Dependencies

~1–7.5MB
~27K SLoC