Skip to content

Commit

Permalink
Add feature(doc_cfg) for docs.rs
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Schwender <[email protected]>
  • Loading branch information
jschwe committed Jul 17, 2024
1 parent 09b3850 commit 5d64e79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
feature = "document-features",
cfg_attr(doc, doc = ::document_features::document_features!())
)]
#[cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "drawing")]
#[cfg_attr(docsrs, doc(cfg(feature = "drawing")))]
Expand Down

0 comments on commit 5d64e79

Please sign in to comment.