mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-25 15:51:34 +00:00
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.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user