refactor(lib): Clean up cfg usage

This commit is contained in:
Jonas Platte
2021-08-29 20:36:06 +02:00
committed by Sean McArthur
parent 07f9208714
commit db57316e14
4 changed files with 7 additions and 18 deletions

View File

@@ -25,12 +25,7 @@ pub(crate) mod watch;
#[cfg(all(feature = "client", any(feature = "http1", feature = "http2")))]
pub(crate) use self::lazy::{lazy, Started as Lazy};
#[cfg(any(
feature = "client",
feature = "http1",
feature = "http2",
feature = "runtime"
))]
#[cfg(any(feature = "http1", feature = "http2", feature = "runtime"))]
pub(crate) use self::never::Never;
pub(crate) use self::task::Poll;