transports/dns/: Don't feature flag std::io import#3027
transports/dns/: Don't feature flag std::io import#3027mxinden merged 1 commit intolibp2p:masterfrom
Conversation
Functions like `parse_dnsaddr_txt` depend on the `std::io` import. Given that the function is not feature flagged, compilation without features fails.
|
I think we can ignore the failing semver checks, given that we are in between releases right now. See #2931. |
|
Given that this is a very minor change, I will go ahead and merge, thus unblocking in half-published Please still review this patch. I will take care of any requested follow-ups. |
|
Why did CI not catch this? |
Functions like `parse_dnsaddr_txt` depend on the `std::io` import. Given that the function is not feature flagged, compilation without features fails.
This reverts commit 813e3d8. See why CI failed. libp2p#3027 (comment)
#3044 reverting this is not failing. My suspicion would be that the rust-libp2p/protocols/mdns/Cargo.toml Lines 40 to 46 in 4d4833f @thomaseizinger does that suspicion make sense? |
Description
Functions like
parse_dnsaddr_txtdepend on thestd::ioimport. Given that the function is not feature flagged, compilation without features fails.Links to any relevant issues
Discovered while releasing
v0.49.0. Would like to get this in before continuing thev0.49.0release. #2931Open Questions
Even though
libp2p-dnsis useless without either the async-io or tokio feature flag, I do still think that it should compile without. Objections?Change checklist