#progress-bar #progress #cli

kyuri

A very simple progress display library

10 releases

new 0.2.0 Jan 18, 2025
0.1.8 Jan 18, 2025

#17 in #progress-bar

Download history 359/week @ 2025-01-12

359 downloads per month

MIT license

37KB
765 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.

If you need a progress bar or spinner with rich and fancy features, use indicatif instead.

Examples

  • Simple example

    progress
    cargo run --example progress
    cargo run --example progress > file
    
  • 2 threads example (thread, download)

    thread
    cargo run --example thread
    cargo run --example thread > file
    

    or this with a different pattern:

    download
    cargo run --example download
    cargo run --example download > file
    
  • Progress bar example

    bar
    cargo run --example bar
    cargo run --example bar > file
    
  • tracing integration example

    tracing
    cargo run --example tracing
    cargo run --example tracing > file
    

Cucumber from Mutsumi

(Taken from BanG Dream! It's MyGO!!!!! episode 6.)

No runtime deps