Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
strides
A command-line UI library to enhance async programs with progress bars and spinners.
The crate is built around two extension traits and one container:
FutureExtadds.progress(...)to anyFuture.StreamExtadds.progress(...)to anyStream.Groupruns many futures concurrently, rendering one line per task.
Each .progress(...) call animates automatically and returns a builder for
further customization. A Theme bundles a Spinner, a Bar and a
Layout, and is accepted everywhere a theme is expected. A Layout is an
ordered list of Segments controlling the order, spacing and formatting of
each progress line. See spinner::styles and bar::styles for predefined
variants.
Example
This example demonstrates how to animate single futures, a group of futures and
a stream. Run it with cargo run --example readme.
use Duration;
use Timer;
use StreamExt;
use ;
async
async
async
See the examples directory for more elaborate uses including downloads, dynamic messages, per-task progress bars, and custom layouts.
Minimum supported Rust version
strides requires Rust 1.85 or newer.