From 1cd22bb6a20a2235b57fba81757eb7de684d3a00 Mon Sep 17 00:00:00 2001 From: fogarecious Date: Mon, 8 Jan 2024 16:00:17 +0100 Subject: Fix missing feature flag docs for `time::every` --- src/time.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/time.rs') diff --git a/src/time.rs b/src/time.rs index f10f7a5e..e255d751 100644 --- a/src/time.rs +++ b/src/time.rs @@ -2,4 +2,13 @@ pub use iced_core::time::{Duration, Instant}; #[allow(unused_imports)] +#[cfg_attr( + docsrs, + doc(cfg(any( + feature = "tokio", + feature = "async-std", + feature = "smol", + target_arch = "wasm32" + ))) +)] pub use iced_futures::backend::default::time::*; -- cgit