mirror of
https://github.com/bertptrs/tracing-mutex.git
synced 2025-12-27 21:40:32 +01:00
Update README and CHANGELOG
This commit is contained in:
@@ -6,6 +6,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.2.1] - 2022-05-23
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Build [docs.rs] documentation with all features enabled for completeness.
|
- Build [docs.rs] documentation with all features enabled for completeness.
|
||||||
@@ -65,7 +67,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
|
|
||||||
Initial release.
|
Initial release.
|
||||||
|
|
||||||
[Unreleased]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.0...HEAD
|
[Unreleased]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.1...HEAD
|
||||||
|
[0.2.1]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.0...v0.2.1
|
||||||
[0.2.0]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.2...v0.2.0
|
[0.2.0]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.2...v0.2.0
|
||||||
[0.1.2]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.1...v0.1.2
|
[0.1.2]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.1...v0.1.2
|
||||||
[0.1.1]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.0...v0.1.1
|
[0.1.1]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.0...v0.1.1
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -59,12 +59,23 @@ performance penalty in your production environment, this library also offers deb
|
|||||||
when debug assertions are enabled, and to `Mutex` when they are not. Similar helper types are
|
when debug assertions are enabled, and to `Mutex` when they are not. Similar helper types are
|
||||||
available for other synchronization primitives.
|
available for other synchronization primitives.
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Dependency-tracking wrappers for all locking primitives
|
||||||
|
- Optional opt-out for release mode code
|
||||||
|
- Support for primitives from:
|
||||||
|
- `std::sync`
|
||||||
|
- `parking_lot`
|
||||||
|
- Any library that implements the `lock_api` traits
|
||||||
|
|
||||||
## Future improvements
|
## Future improvements
|
||||||
|
|
||||||
- Improve performance in lock tracing
|
- Improve performance in lock tracing
|
||||||
- Optional logging to make debugging easier
|
- Optional logging to make debugging easier
|
||||||
- Better and configurable error handling when detecting cyclic dependencies
|
- Better and configurable error handling when detecting cyclic dependencies
|
||||||
- Support for other locking libraries, such as `parking_lot`
|
- Support for other locking libraries
|
||||||
|
- Support for async locking libraries
|
||||||
|
- Support for `Send` mutex guards
|
||||||
|
|
||||||
**Note:** `parking_lot` has already began work on its own deadlock detection mechanism, which works
|
**Note:** `parking_lot` has already began work on its own deadlock detection mechanism, which works
|
||||||
in a different way. Both can be complimentary.
|
in a different way. Both can be complimentary.
|
||||||
|
|||||||
Reference in New Issue
Block a user