-
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
Implement Serialize and Deserialze for Host #272
Conversation
3c5fe48
to
d7e7e24
Compare
Looks good! Just some minor details. Reviewed 2 of 2 files at r1. Cargo.toml, line 4 at r1 (raw file):
This PR introduces new functionality, so I think SemVer says the version number should be 1.4.0. src/host.rs, line 61 at r1 (raw file):
src/host.rs, line 73 at r1 (raw file):
This is probably less important than for src/host.rs, line 73 at r1 (raw file):
Nit: space before Comments from Reviewable |
Review status: all files reviewed at latest revision, 4 unresolved discussions. Cargo.toml, line 4 at r1 (raw file): Previously, SimonSapin (Simon Sapin) wrote…
I think RFC 1105 allows this as a minor change: https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md#minor-change-adding-new-public-items. Comments from Reviewable |
Review status: all files reviewed at latest revision, 4 unresolved discussions. Cargo.toml, line 4 at r1 (raw file): Previously, asajeffrey (Alan Jeffrey) wrote…
Yes, it’s not a breaking change. That would be version 2.0.0. Cargo treats 1.3.1 and 1.4.0 the same, the difference is only for communicating to humans. (I’d be fine with just two components in the version number, but SemVer seems to be what the Rust ecosystem settled on.) Comments from Reviewable |
d7e7e24
to
fa6bfe0
Compare
Review status: 0 of 2 files reviewed at latest revision, 4 unresolved discussions. Cargo.toml, line 4 at r1 (raw file): Previously, SimonSapin (Simon Sapin) wrote…
Done. src/host.rs, line 61 at r1 (raw file): Previously, SimonSapin (Simon Sapin) wrote…
Done. I had to also add a Serialize bound. src/host.rs, line 73 at r1 (raw file): Previously, SimonSapin (Simon Sapin) wrote…
Done. I had to also add a Deserialize bound. src/host.rs, line 73 at r1 (raw file): Previously, SimonSapin (Simon Sapin) wrote…
Done. Comments from Reviewable |
Reviewed 2 of 2 files at r2. src/host.rs, line 61 at r1 (raw file): Previously, cbrewster (Connor Brewster) wrote…
I was thinking of serializing the result of src/host.rs, line 73 at r1 (raw file): Previously, cbrewster (Connor Brewster) wrote…
Same as above, please remove the Comments from Reviewable |
fa6bfe0
to
2aaa190
Compare
Review status: 1 of 2 files reviewed at latest revision, 3 unresolved discussions. src/host.rs, line 61 at r1 (raw file): Previously, SimonSapin (Simon Sapin) wrote…
Done. src/host.rs, line 73 at r1 (raw file): Previously, SimonSapin (Simon Sapin) wrote…
Done. Comments from Reviewable |
@bors-servo r+ Reviewed 1 of 1 files at r3. Comments from Reviewable |
📌 Commit 2aaa190 has been approved by |
⚡ Test exempted - status |
Implement Serialize and Deserialze for Host <!-- 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/272) <!-- Reviewable:end -->
This change is