/local-sync

Primary LanguageRustApache License 2.0Apache-2.0

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.