Skip to content

Releases: zetanumbers/scope-lock

v0.3.1

19 May 12:26
382d807

Choose a tag to compare

Fixed

  • reimplement extended reference tracking using std

Other

  • allow documentation hidding for a minor update
  • hide leftover legacy code
  • Revert "docs: deprecate and hide docs on leftover legacy code"
  • restore Unpin impls in leftover legacy code
  • relax MIRI restrictions, add tree borrows and run 8 random seeds
  • deprecate and hide docs on leftover legacy code

v0.3.0

15 May 16:15
27f76ce

Choose a tag to compare

Added

  • [breaking] carry the return value of the lock_scope closure

Other

  • Separate MIRI setup stage
  • temporary disable MIRI preemptive scheduling
  • remove rust-toolchain.toml
  • [breaking] remove deprecated methods
  • disable tree borrows as parking_lot does not support strict provenance
  • fix miri CI
  • add flake dev shell and update rust version

v0.2.5

02 Jun 23:06

Choose a tag to compare

Added

  • add new Extender methods which don't use dynamic dispatch
  • add unchecked versions of extend functions
  • pointer_like traits added

Fixed

  • drop reference guard after extended value is dropped

Other

  • remove old empty files
  • disable stacked borrows on tree borrows check
  • add test for a specific data race error on miri
  • remove unused pub(crate)
  • update parking_lot in Cargo.lock
  • swap order of tree borrows and stack borrows tests
  • set minimal supported rust version to 1.66
  • revert usage of ptr::cast_const and cast_mut
  • modularize code
  • run miri tests with tree borrows model too
  • move msrv and separate miri test into separate push workflow
  • run minimal version check on any push

v0.2.4

29 May 12:12
24f8b11

Choose a tag to compare

Fixed

  • Extender::extend_fn_once use after free

v0.2.3

28 May 17:18
5edc06e

Choose a tag to compare

Added

  • add futures support (#2)

Fixed

  • wait for extended objects before invalidating reference to extender

v0.2.2

28 May 14:52
59d9a77

Choose a tag to compare

Fixed

  • fix double drop on RefOnce::into_inner

Other

  • check minimal supported rust version
  • miri test on release-plz workflow
  • add release-plz gh action
  • Separate doc examples into examples/ folder
  • Remove unused mut in the doc test

Release 0.2.1

28 May 14:49

Choose a tag to compare

v0.2.1

Bump version