Skip to content

v1.5.0

Choose a tag to compare

@onur-ozkan onur-ozkan released this 02 Jul 07:00
· 17 commits to main since this release

Brings bunch of different things that can be documented in 3 categories:

Iterations

This adds iterator support to TimedMap. You can now use for loops and .into_iter() on TimedMap just like regular maps. It skips expired entries by default.

Also added iter_unchecked() and iter_mut_unchecked() if you want to exclude expired entries.

Returning expired entries

drop_expired_entries() now returns the removed entries instead of just dropping them silently.

Minor changes

Lastly, derived Clone for a few types to make them easier to use.