From 813e3d86e6a3fb5dca3067d127e3252bcb046d2a Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 14 Oct 2022 15:43:09 +0100 Subject: [PATCH] transports/dns/: Don't feature flag std::io import 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,