From 33094a195e44881053ed4ba06451191aac435845 Mon Sep 17 00:00:00 2001 From: Aljoscha Meyer Date: Thu, 28 Nov 2024 11:05:52 +0100 Subject: [PATCH] Put test_yielder behind feature flags --- ufotofu/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ufotofu/src/lib.rs b/ufotofu/src/lib.rs index 77e1b1c..050b5d4 100644 --- a/ufotofu/src/lib.rs +++ b/ufotofu/src/lib.rs @@ -78,6 +78,7 @@ pub use errors::*; pub mod consumer; pub mod producer; +#[cfg(all(feature = "dev", feature = "alloc"))] mod test_yielder; /// A [`Consumer`] consumes a potentially infinite sequence, one item at a time.