2 releases

0.1.1 Apr 20, 2024
0.1.0 Apr 19, 2024

#15 in #wait-group

38 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–9.5MB
~41K SLoC