15 releases
0.2.5 | Feb 1, 2025 |
---|---|
0.2.4 | Jan 30, 2025 |
0.1.8 | Jan 18, 2025 |
#126 in Command-line interface
1,429 downloads per month
Used in 2 crates
45KB
927 lines
kyuri
A progress display library specifically designed for my mirroring softwares (tsumugu & yukina).
Uses some code from indicatif (MIT).
Docs: docs.rs/kyuri
The API is not stable yet.
Why?
It could output a progress indicator both when printing to terminal and (especially when) writing to file, with minimal distraction.
And no other dependencies when terminal support is unnecessary. Custom features:
console_width
feature: auto-detect terminal width. Otherwise, it's fixed at 80 when in ANSI mode.unicode
feature: calculate the width of Unicode characters correctly. Unnecessary when not in ANSI mode.full
:console_width
+unicode
.
If you need a progress bar or spinner with rich and fancy features, use indicatif instead.
Examples
-
cargo run --example progress cargo run --example progress > file
-
2 threads example (thread, download)
cargo run --example thread cargo run --example thread > file
or this with a different pattern:
cargo run --example download cargo run --example download > file
-
Progress bar example
cargo run --example bar cargo run --example bar > file
-
tracing
integration examplecargo run --example tracing cargo run --example tracing > file

(Taken from BanG Dream! It's MyGO!!!!! episode 6.)
Dependencies
~0–570KB