Skip to content
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

Derive Eq and Hash for Serde<T> and add SerdeUrl type alias. #276

Merged
merged 1 commit into from Feb 7, 2017

Conversation

@lvillani
Copy link
Contributor

lvillani commented Feb 4, 2017

This should make Serde usable as an HashMap key, since that requires Eq and Hash to be implemented (and Url supports them).


This change is Reviewable

@SimonSapin
Copy link
Member

SimonSapin commented Feb 7, 2017

Looks good, thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2017

📌 Commit 0e8c31a has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2017

Testing commit 0e8c31a with merge 7c7ff55...

bors-servo added a commit that referenced this pull request Feb 7, 2017
Derive Eq and Hash for Serde<T> and add SerdeUrl type alias.

This should make Serde<Url> usable as an HashMap key, since that requires Eq and Hash to be implemented (and Url supports them).

<!-- 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/276)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 7, 2017

☀️ Test successful - status-travis
Approved by: SimonSapin
Pushing 7c7ff55 to master...

@bors-servo bors-servo merged commit 0e8c31a into servo:master Feb 7, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@lvillani
Copy link
Contributor Author

lvillani commented Feb 8, 2017

@SimonSapin would it be possible to push a new version of the crate to crates.io?

@SimonSapin
Copy link
Member

SimonSapin commented Feb 9, 2017

Published v0.1.1. (Next time feel free to increment the version number in Cargo.toml in the same PR :))

@lvillani
Copy link
Contributor Author

lvillani commented Feb 9, 2017

Thanks a lot @SimonSapin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.