kyuri

Crates.iokyuri
lib.rskyuri
version0.2.6
created_at2025-01-16 21:14:26.485219+00
updated_at2025-09-13 09:52:46.747146+00
descriptionA very simple progress display library
homepage
repositoryhttps://github.com/taoky/kyuri
max_upload_size
id1519949
size61,809
taoky (taoky)

documentation

https://docs.rs/kyuri

README

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

  • 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.)

Commit count: 66

cargo fmt