summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-05-02 21:01:25 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-05-02 21:01:25 +0200
commit84c28a73e2a7ace8547e892f675bfc497d157bcb (patch)
tree6bcf9a2ff618141b304dd232c9af7fc027b313ef /lazy
parenta7752a1ec0372ceeb4ca895342a9070eae03402b (diff)
downloadiced-84c28a73e2a7ace8547e892f675bfc497d157bcb.tar.gz
iced-84c28a73e2a7ace8547e892f675bfc497d157bcb.tar.bz2
iced-84c28a73e2a7ace8547e892f675bfc497d157bcb.zip
Indicate feature-flagged modules in documentation
Diffstat (limited to 'lazy')
-rw-r--r--lazy/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lazy/src/lib.rs b/lazy/src/lib.rs
index e1b06f74..916f9458 100644
--- a/lazy/src/lib.rs
+++ b/lazy/src/lib.rs
@@ -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;