Skip to content

Releases: zslayton/lifeguard

v0.6.1

21 Nov 02:45
Compare
Choose a tag to compare
  • Replaced uses of mem::uninitialized with ptr::read (#27)
  • Made some syntax updates to void deprecation warnings (Thanks, @JOE1994!)
  • Switched CI from Travis CI to GitHub Actions

v0.5.2

25 Sep 17:52
Compare
Choose a tag to compare
v0.5.2 Pre-release
Pre-release
  • Supplier is now a tuple struct like the rest of the settings.

v0.5.1

25 Sep 14:32
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release
  • Improved documentation
  • Introduced settings module to house OptionSetter and friends

v0.5.0

21 Sep 01:31
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release
  • First release of the PoolBuilder API, exposing settings like StartingSize, MaxSize and Supplier
  • A Supplier can now be specified to generate new values when the pool is empty. This allows values being generated to be affected by runtime configuration and decision-making rather than depending on values baked into the T values in a Pool<T>.

v0.4.0

21 Sep 01:29
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  • VeqDeque support

v0.3.0

24 Aug 18:58
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Added an optional maximum size to the Pool, allowing new values to be added via attach until capacity is reached.

v0.2.0

29 May 18:09
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • @Marwes added the ability to get values from the pool that are managed by a simple & instead of an Rc. This is now the default system represented by the Recycled type since it has the least overhead. The original behavior is retained in the RcRecycled smartpointer type.
  • Added benchmarks, tests for the new smartpointer.
  • Pool::with_size now takes a usize rather than a u32 to be consistent with std::collections.

v0.1.0

27 May 13:00
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release
  • Initial release
  • Support for String, Vec
  • Recycled<T> smartpointer