mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-10 18:07:19 +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:
parent
d530e5112c
commit
b5612dc431
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user