servo / rust-url

URL parser for Rust
https://docs.rs/url/
Apache License 2.0
1.27k stars 318 forks source link

Replace Host::IPv4/IPv6 with single variant taking IpAddr #818

Open Hyxogen opened 1 year ago

Hyxogen commented 1 year ago

This change will make it easier to use the Host enum in a more generic way with the standard library.

valenting commented 1 year ago

This would constitute a breaking change. Could you outline how this change makes it easier to use Host with the standard library? Some examples or links to other crates that are having this issue would be appreciated.