# TARDE
[](https://github.com/deg4uss3r/tarde/blob/master/LICENSE.md)
[](https://crates.io/crates/tarde)
Linux: [](https://travis-ci.org/deg4uss3r/tarde)
Windows: [](https://ci.appveyor.com/project/deg4uss3r/tarde/branch/master)
TARDE (tar-dee, Time And Rust Duration Ergonomics) is a small library to allow for better ergonomics when using `std::time::Duration`.
## Example
```rust
use std::time::Instant;
use tarde::{During, Error};
fn main() -> Result<(), tarde::Error> {
let now = time::Instant::now();
thread::sleep(10.millis()?);
Ok(assert!(now.elapsed() >= 10.millis()?))
}
```