Skip to content

Releases: servo/uluru

v3.1.0

08 Apr 03:30
Compare
Choose a tag to compare

What's Changed

  • Added a const constructor LRUCache::new().
  • Simplified internal code.

Full Changelog: v3.0.0...v3.1.0

v3.0.0

22 Aug 15:42
Compare
Choose a tag to compare
  • insert now returns the evicted entry for re-use (#22).
  • Minor documentation improvements.

v2.2.0

19 Jul 15:20
Compare
Choose a tag to compare
  • New is_empty method (#21)

v2.1.1

07 Jun 18:18
Compare
Choose a tag to compare
  • Fix a documentation typo.

v2.1.0

07 Jun 18:18
Compare
Choose a tag to compare
  • Add LRUCache::iter and LRUCache::get methods for traversing the cache.

v2.0.0

06 Apr 17:51
Compare
Choose a tag to compare
  • Requires Rust 1.51 or later.
  • Update to arrayvec 0.7, replacing Array trait with const generics.
  • Remove deprecated methods evict_all and num_entries.
  • Remove quickcheck dev-dependency.
  • Minor improvements to documentation.

v1.1.1

05 Feb 22:02
Compare
Choose a tag to compare
  • Revert deprecation of front and front_mut.

v1.1.0

05 Feb 21:47
ca1af85
Compare
Choose a tag to compare
  • Rename num_entries method to len (#15).
  • Rename evict_all method to clear (#15).
  • Deprecate front and front_mut methods (#15).
  • Remove unsafe code. This crate is now implemented in 100% safe Rust (#16).
  • Improved testing (#13).

v1.0.0

17 Jul 00:01
Compare
Choose a tag to compare
  • Add touch method to move a matching item to the front (#12).
  • LRUCache now implements Debug and Clone.

v0.4.0

17 Jul 00:01
20e431a
Compare
Choose a tag to compare
  • Update to arrayvec version 0.5.