-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change host to use ip address types provided by std. #138
Conversation
Review status: 0 of 6 files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. src/host.rs, line 88 [r1] (raw file): src/host.rs, line 89 [r1] (raw file): src/host.rs, line 124 [r1] (raw file): src/host.rs, line 126 [r1] (raw file): src/host.rs, line 128 [r1] (raw file): Comments from the review on Reviewable.io |
src/host.rs, line 89 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 0 of 6 files reviewed at latest revision, 3 unresolved discussions. src/host.rs, line 124 [r1] (raw file): src/host.rs, line 126 [r1] (raw file): src/host.rs, line 128 [r1] (raw file): Comments from the review on Reviewable.io |
Reviewed 4 of 6 files at r1, 2 of 2 files at r2. src/host.rs, line 126 [r1] (raw file): src/host.rs, line 123 [r2] (raw file): Comments from the review on Reviewable.io |
Removes the custom IPv6Addr type and replaces it with the std one. Parses IPv4Addrs to the std type using the parser described in the url.spec.whatwg.org handling all edge cases. Add tests. fixes #116 This is a breaking change. Version bumped to v0.5.0.
Review status: 5 of 6 files reviewed at latest revision, 1 unresolved discussion. src/host.rs, line 123 [r2] (raw file): Comments from the review on Reviewable.io |
@bors-servo r+ Thanks! |
📌 Commit ce1efd3 has been approved by |
Change host to use ip address types provided by std. Removes the custom IPv6Addr type and replaces it with the std one. Parses IPv4Addrs to the std type using the parser described in the url.spec.whatwg.org handling all edge cases. Add tests. fixes #116 This is a breaking change. Version bumped to v0.5.0. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/138) <!-- Reviewable:end -->
☀️ Test successful - travis |
Worth mentioning that |
This uses Ipv4Addr and Ipv6Addr (which are stable and not deprecated) separately in a custom enum (with a third Domain variant), not the deprecated IpvAddr enum. |
Ah, thought the enum was used in here, carry on |
Removes the custom IPv6Addr type and replaces it with the std one.
Parses IPv4Addrs to the std type using the parser described in the
url.spec.whatwg.org handling all edge cases. Add tests.
fixes #116
This is a breaking change. Version bumped to v0.5.0.