Enable doc_auto_cfg when generating documentation

This commit is contained in:
Héctor Ramón Jiménez 2023-05-11 17:28:51 +02:00
parent 3220d472ac
commit cf434236e7
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
12 changed files with 7 additions and 19 deletions

View file

@ -42,7 +42,7 @@
clippy::useless_conversion
)]
#![forbid(unsafe_code, rust_2018_idioms)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
pub mod clipboard;
pub mod command;
pub mod font;