progrex 0.1.0

A simple and customizable CLI progress bar for Rust
Documentation
  • Coverage
  • 0%
    0 out of 7 items documented0 out of 5 items with examples
  • Size
  • Source code size: 5.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.34 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • dotandev/progrex
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dotandev

Progrex 🚀

A lightweight and customizable CLI progress bar for Rust applications.

Crates.io
License: MIT

📌 Features

✅ Simple and easy-to-use API
✅ Customizable progress bar styles
✅ Real-time ETA tracking
✅ Ideal for CLI applications


📦 Installation

Add progrex to your Cargo.toml:

[dependencies]
progrex = "0.1.0"

Then run:

cargo build

🚀 Usage

Basic Example

use progrex::ProgressBar;
use std::thread::sleep;
use std::time::Duration;

fn main() {
    let mut bar = ProgressBar::new(100);

    for i in 0..=100 {
        bar.set_progress(i);
        sleep(Duration::from_millis(50));
    }

    bar.finish();
}

Output:

[███████████████               ] 50.00% | ETA: 2.5s

🔧 Customization

You can modify the bar length, display format, and refresh rate (coming soon).


📜 License

Licensed under the MIT License. See LICENSE for details.


🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.


Would you like to add badges for GitHub actions (build status) or more customization options? 😊