Indicate feature-flagged modules in documentation

This commit is contained in:
Héctor Ramón Jiménez 2022-05-02 21:01:25 +02:00
parent a7752a1ec0
commit 84c28a73e2
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 11 additions and 0 deletions

View file

@ -1,10 +1,12 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
pub mod component;
pub mod responsive;
#[cfg(feature = "pure")]
#[cfg_attr(docsrs, doc(cfg(feature = "pure")))]
pub mod pure;
pub use component::Component;