Skip to content

Commit b5612dc

Browse files
authored
transports/dns/: Don't feature flag std::io import (#3027)
Functions like `parse_dnsaddr_txt` depend on the `std::io` import. Given that the function is not feature flagged, compilation without features fails.
1 parent d530e51 commit b5612dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

transports/dns/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ use libp2p_core::{
6565
};
6666
use parking_lot::Mutex;
6767
use smallvec::SmallVec;
68-
#[cfg(any(feature = "async-std", feature = "tokio"))]
6968
use std::io;
7069
use std::{
7170
convert::TryFrom,

0 commit comments

Comments
 (0)