Repository navigation
v0.3.1
Added
-
On Rust 1.80 or newer, a wrapper for
std::sync::LazyLockis 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::parkinglotis now identical toparking_lot, and an example showing how to use
it as a drop-in replacement was added. -
Introduced
experimentalfeature, 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_lotandlock_apican now be enabled properly with the matching feature
names.
Deprecated
- The
parkinglotandlockapifeatures have been deprecated. They will be removed in version 0.4.
To fix it, you can use theparking_lotandlock_apifeatures respectively.