Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement Serialize and Deserialze for Host #272
Conversation
|
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 |
|
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 |
|
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 |
|
|
|
|
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 -->
cbrewster commentedJan 23, 2017
•
edited by larsbergstrom
This change is