A simple rust implementation of HashMap with expiration control.
```rust use simplecachers::SimpleCache;
let mut scache: SimpleCache
scache.insert(1, String::from("test")); println!("{:?}", scache.get(&1)); ```
```rust use simplecachers::SimpleCache; use std::time::Duration; use std::thread; // For example purposes only
let timeout = Duration::new(1, 0);
let mut scache: SimpleCache
scache.insert(1, String::from("test")); assert_eq!(Some(String::from("test")), scache.get(&1));
thread::sleep(Duration::new(1, 1)); // For example purposes only assert_ne!(Some(String::from("test")), scache.get(&1)); ```