Fancier Durations now in an easily consumable library

Using this library is very simple:

```rust use std::time::Duration; use fancy_duration::FancyDuration;

pub fn main() { asserteq!(FancyDuration(Duration::new(20, 0)).tostring(), "20s"); asserteq!(FancyDuration(Duration::new(600, 0)).tostring(), "10m"); asserteq!(FancyDuration(Duration::new(120, 0)).tostring(), "2m"); asserteq!(FancyDuration(Duration::new(185, 0)).tostring(), "3m 5s"); } ```

Also works with the time crate.

Author

Erik Hollensbe github@hollensbe.org

License

MIT