mirror of
https://github.com/openharmony/third_party_rust_rust-url.git
synced 2026-07-21 01:45:27 -04:00
a93cc7c862b15a80e2b3e1929be55bfaffc171db
Restore DNS resolution functionality from url 1.x This is an alternative to https://github.com/servo/rust-url/pull/533. I feel that an inherent method is more appropriate than an impl of the `ToSocketAddrs` trait: it is not the URL as a whole that is converted, only parts of it. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/535) <!-- Reviewable:end -->
rust-url
URL library for Rust, based on the URL Standard.
Please see UPGRADING.md if you are upgrading from 0.x to 1.x.
Description
Languages
Rust
99.4%
Python
0.6%