simple-cache-rs 0.1.0

A simple rust implementation of HashMap with expiration control.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# simple-cache-rs
A simple im-mem cache for Rust

![Docs](https://docs.rs/simple-cache-rs/badge.svg)
[![Apache-2 licensed](https://img.shields.io/crates/l/simple-cache-rs.svg)](./LICENSE)
[![CI](https://github.com/calvinbrown085/simple-cache-rs/workflows/Rust/badge.svg)](https://github.com/calvinbrown085/simple-cache-rs/actions?query=workflow%3ARust)

A simple rust implementation of HashMap with expiration control.
## Example
```
use simple_cache_rs::SimpleCache;

let mut cache: SimpleCache<i32, String> = SimpleCache::new();

cache.get(&1);
```