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;