progressive 0.1.0

A rust library for showing progress of iterators and loops
Documentation
  • Coverage
  • 75%
    3 out of 4 items documented2 out of 3 items with examples
  • Size
  • Source code size: 16.93 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 459.43 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • palango/progressive
    16 2 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • palango

progressive

A rust library for showing progress of iterators and loops.

Build Status

Documentation

To create the documentation run:

cargo doc

Usage

To use progressive, add this to your Cargo.toml:

[dependencies]
progressive = "0.1"

And this to your crate root:

extern crate progressive;

Here's a simple example that shows how to wrap an iterator tin order to get progress information:

extern crate progressive;

use progressive::progress;
use std::time::Duration;

fn main() {
    for _ in progress(0..30) {
        // do something expensive here
        std::thread::sleep(Duration::from_millis(200));
    }
}

For an example run cargo run --example basic