Skip to content

v0.3.1

Latest
Compare
Choose a tag to compare
@bertptrs bertptrs released this 13 May 14:10
· 1 commit to master since this release

Added

  • On Rust 1.80 or newer, a wrapper for std::sync::LazyLock is now available. The MSRV has not been
    changed; older versions simply don't get this wrapper.

  • Added missing const-initialisation wrappers for parking_lot. The API interface for
    tracing_mutex::parkinglot is now identical to parking_lot, and an example showing how to use
    it as a drop-in replacement was added.

  • Introduced experimental feature, which will be used going forward to help evolve the API outside
    the normal stability guarantees. APIs under this feature are not subject to semver or MSRV
    guarantees.

  • Added experimental api tracing_mutex::util::reset_dependencies, which can be used to reset the
    ordering information of a specific mutex when you need to reorder them. This API is unsafe, as its
    use invalidates any of the deadlock prevention guarantees made.

Changed

  • Reworked CI to better test continued support for the minimum supported Rust version

Fixed

  • Support for parking_lot and lock_api can now be enabled properly with the matching feature
    names.

Deprecated

  • The parkinglot and lockapi features have been deprecated. They will be removed in version 0.4.
    To fix it, you can use the parking_lot and lock_api features respectively.