pretty-duration 0.1.1

Rust library that takes a duration and returns a string that is prettier to read for a human. The format of the duration can be customized in a short and long format and can be localized.
Documentation
1
2
3
4
5
6
7
// Add the modules (files) but do not expose to avoid long path when using
mod pretty_duration_bins;
mod pretty_duration_options;

// Expose direct struct and enum for shorter path when using
pub use pretty_duration_bins::DurationBins;
pub use pretty_duration_options::*;