transient-hashmap

Simple rust HashMap with transient entries.

Build Status

Documentation

Example

```rust use transient_hashmap::TransientHashMap;

let entrylifetimeseconds = 0; let mut map = TransientHashMap::new(entrylifetimeseconds); map.insert(10, "Hello World");

// Clear old entries map.prune();

// Item is not there asserteq!(map.containskey(10), false); ```

Cargo.toml

[dependencies] transient-hashmap = "0.4"