timelite-1.0.3 has been yanked.
TimeLite
TimeLite is a simple library to convert days, weeks, months and years into seconds.
This library is not necessary if you are using something like chrono crate but its purpose is to be very ergonomic for users to write seconds on a human level understanding of minutes, hours, days, weeks, months and years.
Examples
1. Handling Nanoseconds
use LiteDuration;
let timer = nanos;
2. Handling Microseconds
use LiteDuration;
let timer = micros;
3. Handling Milliseconds
use LiteDuration;
let timer = millis;
4. Handling Seconds
use LiteDuration;
let timer = seconds;
5. Handling Minutes
use LiteDuration;
let timer = minutes;
6. Handling Hours
use LiteDuration;
let timer = hours;
7. Handling Days
use LiteDuration;
let timer = days;
8. Handling Weeks
use LiteDuration;
let timer = weeks;
9. Handling Months
use LiteDuration;
let timer = months;
10. Handling Years
use LiteDuration;
let timer = years;