diff --git a/CHANGELOG.md b/CHANGELOG.md index 31689c5..eb36c6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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/ diff --git a/Cargo.toml b/Cargo.toml index 6dca9bd..f8c419a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 }