summaryrefslogtreecommitdiffstats
path: root/src/time.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-02-06 00:51:43 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-06 00:51:43 +0100
commit6f97b62457d924ef690d736c1aabe658f9c5778b (patch)
treef3a1270a5a964b63e6589ddb36009fe091168116 /src/time.rs
parentcb2c8dd86e1f2f0c1eec10d52ee717db6e6f34c2 (diff)
parent12ea2a18a5f6b4edd5379ed415bb2cb044869a88 (diff)
downloadiced-6f97b62457d924ef690d736c1aabe658f9c5778b.tar.gz
iced-6f97b62457d924ef690d736c1aabe658f9c5778b.tar.bz2
iced-6f97b62457d924ef690d736c1aabe658f9c5778b.zip
Merge pull request #2188 from fogarecious/add_doc
Add doc to direct developers to enable features for iced::time::every
Diffstat (limited to 'src/time.rs')
-rw-r--r--src/time.rs9
1 files changed, 9 insertions, 0 deletions
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::*;