Skip to content

Commit

Permalink
transports/dns/: Don't feature flag std::io import (#3027)
Browse files Browse the repository at this point in the history
Functions like `parse_dnsaddr_txt` depend on the `std::io` import. Given
that the function is not feature flagged, compilation without features
fails.
  • Loading branch information
mxinden committed Oct 14, 2022
1 parent d530e51 commit b5612dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion transports/dns/src/lib.rs
Expand Up @@ -65,7 +65,6 @@ use libp2p_core::{
};
use parking_lot::Mutex;
use smallvec::SmallVec;
#[cfg(any(feature = "async-std", feature = "tokio"))]
use std::io;
use std::{
convert::TryFrom,
Expand Down

0 comments on commit b5612dc

Please sign in to comment.