Automatically build documentation for all features

This commit is contained in:
2022-05-07 17:03:45 +02:00
parent fd0d05307c
commit fcc64e2cef
2 changed files with 9 additions and 0 deletions

View File

@@ -6,6 +6,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- Build [docs.rs] documentation with all features enabled for completeness.
## [0.2.0]
### Added
@@ -61,5 +65,6 @@ Initial release.
[0.1.1]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/bertptrs/tracing-mutex/releases/tag/v0.1.0
[docs.rs]: https://docs.rs/tracing-mutex/latest/tracing_mutex/
[lock_api]: https://docs.rs/lock_api/
[parking_lot]: https://docs.rs/parking_lot/

View File

@@ -11,6 +11,10 @@ description = "Ensure deadlock-free mutexes by allocating in order, or else."
readme = "README.md"
repository = "https://github.com/bertptrs/tracing-mutex"
[package.metadata.docs.rs]
# Build docs for all features so the documentation is more complete
all-features = true
[dependencies]
lazy_static = "1"
lock_api = { version = "0.4", optional = true }