Tag module docs with their required features

This commit is contained in:
2022-05-07 17:43:45 +02:00
parent fcc64e2cef
commit d1417e0b0c
3 changed files with 14 additions and 2 deletions

View File

@@ -14,6 +14,8 @@ 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
# Set custom cfg so we can enable docs.rs magic
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
lazy_static = "1"