v0.4.5 - 2020-05-25
- Use
as_mut_ptr
indrop
to fix memory leak.
v0.4.4 - 2020-05-19
- Use
mem::MaybeUninit
for key and value fields of nodes and not the nodes themselves.
v0.4.3 - 2019-12-10
- Add back import of alloc crate on nightly which was accidentally removed.
v0.4.2 - 2019-12-08
- Make hasbrown usage optional and add MSRV documentation.
v0.4.1 - 2019-11-26
- Use
mem::MaybeUninit
instead ofmem::uninitialized
.
v0.4.0 - 2019-10-28
- Use
Borrow
trait incontains
andpop
methods.
v0.3.1 - 2019-10-08
- Implement
Debug
forLruCache
.
v0.3.0 - 2019-10-06
- Update the signature of the
peek
methods to use theBorrow
trait and add apeek_mut
method.
v0.2.0 - 2019-09-27
- Release a new minor version because of an accidental breaking change in the previous release (#50).
v0.1.18 - 2019-09-25
- Add borrowed type support for get_mut.
v0.1.17 - 2019-08-21
- Return Option from put method which contains old value if it exists.
v0.1.16 - 2019-07-25
- Implement Borrow trait for KeyRef with nightly OIBIT feature.
v0.1.15 - 2019-04-13
- Make crate no_std compatible with nightly feature.
v0.1.14 - 2019-04-13
- Implement
IterMut
to be able to get a mutable iterator for the cache.
v0.1.13 - 2019-03-12
- Bug fix to ensure that popped items are released.
v0.1.12 - 2019-03-04
- Replace standard HashMap with hashbrown HashMap.
v0.1.11 - 2018-12-10
- Implement
Iterator
trait for the cache.
v0.1.10 - 2018-11-07
- Add
peek_lru
method to get the least recently used element.
v0.1.9 - 2018-10-30
- Add
with_hasher
constructor to allow callers to use a custom hash function.
v0.1.8 - 2018-08-19
- Add
pop_lru
to remove least recently used element andunbounded
constructor.
v0.1.7 - 2018-01-22
- Implement
Send
andSync
for the cache.
v0.1.6 - 2018-01-15
- Add
resize
method to dynamically resize the cache.
v0.1.5 - 2018-01-15
- Add
get_mut
method to get a mutable reference from the cache.
v0.1.4 - 2017-02-19
- Add function to clear the contents of the cache.
v0.1.3 - 2017-01-02
- Create internal hashmap with specified capacity.
v0.1.2 - 2017-01-02
- Add
peek
andcontains
functions.
v0.1.1 - 2016-12-31
- Fix documentation link in Cargo.toml.
v0.1.0 - 2016-12-31
- Initial release.