[go: up one dir, main page]

humantime 0.1.1

A human friendly format parser for std::time::Duration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Human-friendly time parser
//!
//! Currently this only currently implements parsing of duration. Relative and
//! absolute times may be added in future.
//!
//! The format of values accpted is described in docstring of `parse_duration`.

#[macro_use] extern crate quick_error;

mod duration;
mod wrapper;

pub use duration::{parse_duration, Error as DurationError};
pub use wrapper::Duration;