| Crates.io | progrex |
| lib.rs | progrex |
| version | 0.1.0 |
| created_at | 2025-02-05 23:55:42.027662+00 |
| updated_at | 2025-02-05 23:55:42.027662+00 |
| description | A simple and customizable CLI progress bar for Rust |
| homepage | |
| repository | https://github.com/dotandev/progrex |
| max_upload_size | |
| id | 1544885 |
| size | 5,790 |
A lightweight and customizable CLI progress bar for Rust applications.
✅ Simple and easy-to-use API
✅ Customizable progress bar styles
✅ Real-time ETA tracking
✅ Ideal for CLI applications
Add progrex to your Cargo.toml:
[dependencies]
progrex = "0.1.0"
Then run:
cargo build
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();
}
[███████████████ ] 50.00% | ETA: 2.5s
You can modify the bar length, display format, and refresh rate (coming soon).
Licensed under the MIT License. See LICENSE for details.
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? 😊