1 unstable release
0.1.0 | Sep 16, 2024 |
---|
#713 in Data structures
5KB
87 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.