2 releases
0.1.2 | Nov 15, 2024 |
---|---|
0.1.0 | Sep 16, 2024 |
#588 in Data structures
139 downloads per month
5KB
93 lines
A dict / HashMap whose items expire over time.
See documentation for more info.
PS: there is a Python version too.
lib.rs
:
A dict / HashMap whose items expire over time
This is a simple wrapper over HashMap
and when you call its expire()
method, items
inserted early expire and disappear.
There is no external dependency like tokio or the like, but you need to call expire()
at appropriate time.