2 releases

0.1.1 Apr 20, 2024
0.1.0 Apr 19, 2024

#16 in #wait-group

Download history 265/week @ 2024-04-19 4/week @ 2024-04-26

269 downloads per month

MIT license

28KB
400 lines

Omango-Sync


Rust License: MIT Release Cargo Rust 1.49+


This crate provides Rust concurrency utilities in addition to the ones provided by the language and "std::sync".

  • WaitGroup: support Golang's WaitGroup.
  • SingleFlight: provide multiplexing for workers have the same work.
  • SingleSource: provide mechanism to synthesize data from multi sources.

Table of Contents

Usage

Add this to your Cargo.toml:

[dependencies]
omango-sync = "0.1.1"

Compatibility

The minimum supported Rust version is 1.57.

License

The crate is licensed under the terms of the MIT license. See LICENSE for more information.

Dependencies

~0–10MB
~54K SLoC