Skip to content

Commit b34ad5e

Browse files
committed
Allow deprecated when using tokio
1 parent 117ea1f commit b34ad5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
//! }
4343
//! ```
4444
45+
#![cfg_attr(feature = "async-tokio", allow(deprecated))]
46+
4547
#[cfg(feature = "async-tokio")]
4648
extern crate futures;
4749
#[cfg(feature = "mio-evented")]

0 commit comments

Comments
 (0)