Skip to content

Releases: Orkavian/timed-map

1.7.0

10 Jun 06:43

Choose a tag to compare

1.6.0

02 Jan 05:11
2131be2

Choose a tag to compare

1.5.1

15 Nov 18:40

Choose a tag to compare

Full Changelog: v.1.5.0...94d4cad

v1.5.0

02 Jul 07:00

Choose a tag to compare

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.

v1.4.1

06 Jun 19:24

Choose a tag to compare

v1.4.0

14 May 09:40
27a530d

Choose a tag to compare

Brings serde support.

v1.3.2

19 Apr 11:14

Choose a tag to compare

Implements TimedMap::contains_key and TimedMap::contains_key_unchecked functions

v1.3.1

14 Apr 08:48

Choose a tag to compare

Fixed TimedMap::insert_expirable_unchecked #6 bug.

v1.3.0

22 Jan 11:30
72b94aa

Choose a tag to compare

Brings simpler API for map creation and provides a way to update existing expiration.

PRs:

v.1.2.9

13 Jan 18:58

Choose a tag to compare

bump to 1.2.9

Signed-off-by: onur-ozkan <work@onurozkan.dev>