From 675be0f1b7c674cea033ad3e24b016f4169d7ec3 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 6 Jul 2024 11:50:38 +0200 Subject: [PATCH] Show static feature requirement on docs.rs --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 574f31d..40c6192 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,6 +58,7 @@ mod static_executors; #[doc(no_inline)] pub use async_task::{FallibleTask, Task}; #[cfg(feature = "static")] +#[cfg_attr(docsrs, doc(cfg(any(feature = "static"))))] pub use static_executors::*; /// An async executor.