| Crates.io | kyuri |
| lib.rs | kyuri |
| version | 0.2.6 |
| created_at | 2025-01-16 21:14:26.485219+00 |
| updated_at | 2025-09-13 09:52:46.747146+00 |
| description | A very simple progress display library |
| homepage | |
| repository | https://github.com/taoky/kyuri |
| max_upload_size | |
| id | 1519949 |
| size | 61,809 |
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.
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.
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 example
cargo run --example tracing
cargo run --example tracing > file
(Taken from BanG Dream! It's MyGO!!!!! episode 6.)