Crates.io | local-sync |
lib.rs | local-sync |
version | 0.1.1 |
source | src |
created_at | 2021-10-18 15:13:01.364391 |
updated_at | 2023-08-14 03:48:26.353973 |
description | Non-threadsafe data structure for async usage |
homepage | |
repository | https://github.com/ihciah/local-sync |
max_upload_size | |
id | 466824 |
size | 122,623 |
Local-sync is a crate providing data structures for sync within the local thread.
Mpsc includes bounded and unbounded channel.
Once cell like once in golang.
Oneshot channel which can be send and receive data only one time. Also, it can be used as a notification method.
You can async wait permits and add permits with Semaphore.
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.