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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"]