Generate docs.rs documentation with doc_auto_cfg (#2358)

This commit is contained in:
i509VCB
2022-10-24 17:02:52 -05:00
committed by GitHub
parent 2fb15dbe8a
commit 8fc24c959a
3 changed files with 4 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ targets = [
# WebAssembly
"wasm32-unknown-unknown",
]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita"]