From b5612dc43167d53d113a13573ef834eed2cf938c Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 14 Oct 2022 16:55:50 +0100 Subject: [PATCH] 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. --- transports/dns/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/transports/dns/src/lib.rs b/transports/dns/src/lib.rs index 7f76a378990..1b9bb199200 100644 --- a/transports/dns/src/lib.rs +++ b/transports/dns/src/lib.rs @@ -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,