- Notifications
You must be signed in to change notification settings - Fork7
Golang like WaitGroup implementation for sync/async Rust, support no_std environment.
License
NotificationsYou must be signed in to change notification settings
al8n/wg
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
By default, blocking versionWaitGroup
is enabled.
If you are using other async runtime, you need toenbalefuture
feature in yourCargo.toml
and usewg::AsyncWaitGroup
.
std
[dependencies]wg ="0.9"
future
[dependencies]wg = {version ="0.9",features = ["future"] }
no_std
[dependencies]wg = {version ="0.9",default_features =false,features = ["alloc"] }
no_std & future
[dependencies]wg = {version ="0.9",default_features =false,features = ["alloc","future"] }
Please seeexamples for details.
- Inspired by Golang sync.WaitGroup and
crossbeam_utils::WaitGroup
.
About
Golang like WaitGroup implementation for sync/async Rust, support no_std environment.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published