durationfmt
A Rust library to format std::time::Duration the same way Go does.
This is almost a verbatim copy of the algorithm Go uses.
Usage
Add to your Cargo.toml file:
[]
= { = "https://github.com/kdar/durationfmt-rs", = "master"}
and this to your crate root:
extern crate durationfmt;
Example
extern crate durationfmt;
use Duration;