hrtime 0.2.0

A thin library which converts seconds into either a colon-seperated time string and vice versa, or into the raw hour, minute, and second values.
Documentation
1
2
3
4
5
fn main() {
    let time = "11:23:08";
    let sec = hrtime::to_sec(time);
    println!("{time} is {sec} seconds!");
}