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 toparking_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
andlock_api
can now be enabled properly with the matching feature
names.
Deprecated
- The
parkinglot
andlockapi
features have been deprecated. They will be removed in version 0.4.
To fix it, you can use theparking_lot
andlock_api
features respectively.