local-sync

Crates.iolocal-sync
lib.rslocal-sync
version0.1.1
sourcesrc
created_at2021-10-18 15:13:01.364391
updated_at2023-08-14 03:48:26.353973
descriptionNon-threadsafe data structure for async usage
homepage
repositoryhttps://github.com/ihciah/local-sync
max_upload_size
id466824
size122,623
ihc童鞋@提不起劲 (ihciah)

documentation

README

local-sync

Local-sync is a crate providing data structures for sync within the local thread.

mpsc

Mpsc includes bounded and unbounded channel.

Once Cell

Once cell like once in golang.

Oneshot

Oneshot channel which can be send and receive data only one time. Also, it can be used as a notification method.

Semaphore

You can async wait permits and add permits with Semaphore.

Licenses

Local-sync is licensed under the MIT license or Apache license.

During developing we referenced a lot from Tokio. We would like to thank the authors of the projects.

Commit count: 0

cargo fmt