| Crates.io | libsync |
| lib.rs | libsync |
| version | 0.2.0 |
| created_at | 2024-05-08 04:52:18.322425+00 |
| updated_at | 2025-04-23 05:12:31.099389+00 |
| description | A library containing channels and other synchronisation object implementations. |
| homepage | https://coruscateor.com/projects/libsync |
| repository | https://github.com/coruscateor/libsync |
| max_upload_size | |
| id | 1233387 |
| size | 165,778 |
LibSync combines “lower level” library objects to produce channels and other synchronisation objects e.g. it combines Crossbeam ArrayQueue objects with Tokio Semaphore objects to produce a multi-producer-multi-consumer channel that can be waited on asynchronously on both sides.
It also has objects that help you keep count of messages in a pipeline and "return stores" for "returning" values from one thread to another using a reusable location.
In addition to message counters, you may find IO channels useful when working with actors.
This project uses a coding style that emphasises the use of white space over keeping the line and column counts as low as possible.
So this:
fn bar() {}
fn foo()
{
bar();
}
Not this:
fn bar() {}
fn foo()
{
bar();
}
Licensed under either of:
at your discretion
Please clone the repository and create an issue explaining what feature or features you'd like to add or bug or bugs you'd like to fix and perhaps how you intend to implement these additions or fixes. Try to include details though it doesn't need to be exhaustive and we'll take it from there (dependant on availability).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.