diff --git a/tokio-stream/tests/watch.rs b/tokio-stream/tests/watch.rs index 92bcdf497..a56254ede 100644 --- a/tokio-stream/tests/watch.rs +++ b/tokio-stream/tests/watch.rs @@ -1,3 +1,5 @@ +#![cfg(feature = "sync")] + use tokio::sync::watch; use tokio_stream::wrappers::WatchStream; use tokio_stream::StreamExt;