diff options
Diffstat (limited to 'tokio-util/src')
-rw-r--r-- | tokio-util/src/cfg.rs | 2 | ||||
-rw-r--r-- | tokio-util/src/lib.rs | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tokio-util/src/cfg.rs b/tokio-util/src/cfg.rs index 2efa5f09..f9176747 100644 --- a/tokio-util/src/cfg.rs +++ b/tokio-util/src/cfg.rs @@ -18,6 +18,7 @@ macro_rules! cfg_compat { } } +/* macro_rules! cfg_udp { ($($item:item)*) => { $( @@ -27,6 +28,7 @@ macro_rules! cfg_udp { )* } } +*/ macro_rules! cfg_io { ($($item:item)*) => { diff --git a/tokio-util/src/lib.rs b/tokio-util/src/lib.rs index 24a8af95..b96d9044 100644 --- a/tokio-util/src/lib.rs +++ b/tokio-util/src/lib.rs @@ -30,9 +30,14 @@ cfg_codec! { pub mod codec; } +/* +Disabled due to removal of poll_ functions on UdpSocket. + +See https://github.com/tokio-rs/tokio/issues/2830 cfg_udp! { pub mod udp; } +*/ cfg_compat! { pub mod compat; |