Crates.io | tokio-par-util |
lib.rs | tokio-par-util |
version | |
source | src |
created_at | 2025-02-14 17:08:43.87313+00 |
updated_at | 2025-02-14 18:32:47.785986+00 |
description | Utilities for running computations in parallel on top of Tokio |
homepage | |
repository | https://github.com/modal-labs/tokio-par-util |
max_upload_size | |
id | 1555793 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
tokio-par-util
Utilities for running computations in parallel on top of Tokio
This library adds utility methods and stream transformers to Stream
s and
TryStream
s, to make it easier to run many futures in parallel while
adhering to structured parallelism best-practices. Each stream transformer
propagates panics and cancellation correctly, and ensures that tasks aren't
leaked, that the program waits for Drop
impls to run on other tasks before
continuing execution, etc.
To use this library, simply call parallel_*
methods on Stream
s or
TryStream
s by importing the extension traits, StreamParExt
or
TryStreamParExt
.
Consult the latest API docs for more information.