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

Remove dependency to rustc-serialize. #191

Merged
merged 1 commit into from May 19, 2017
Merged

Remove dependency to rustc-serialize. #191

merged 1 commit into from May 19, 2017

Conversation

@nical
Copy link
Collaborator

nical commented May 3, 2017

rustc-serialize is deprecated in favor of serde and servo has moved to serde which means we don't need to carry this dependency anymore.


This change is Reviewable

@nical
Copy link
Collaborator Author

nical commented May 3, 2017

r? @nox

Note that I didn't bump euclid's version (not sure whether we should do this for every commit introducing a breaking change or just when publishing).

@kvark
Copy link
Member

kvark commented May 3, 2017

You also need to remove extern crate rustc_serialize; as well as all RustDecodable/RustEncodable mentions, replacing them with Serde's stuff.

@nical
Copy link
Collaborator Author

nical commented May 3, 2017

rah! Who would have thought that trying to send a PR by clicking around in github without opening a text editor was not a good idea.

@nical nical force-pushed the nical:patch-1 branch from 8e5d6fe to db4b5a4 May 3, 2017
@nical
Copy link
Collaborator Author

nical commented May 3, 2017

Don't review/land just yet, I'm looking into getting serde wired up properly (not sure if PhantomData is as much of a pain with serde_derive as it is with simple derives).

Edit: nevermind, serde traits are already manually implemented for all euclid types. It should be good to go.

Copy link
Member

kvark left a comment

Looks better now :)
You still need to implement serde traits for points and sizes.

@nical
Copy link
Collaborator Author

nical commented May 4, 2017

You still need to implement serde traits for points and sizes.

It's already implemented by the define_matrix macro.

@kvark
kvark approved these changes May 4, 2017
Copy link
Member

kvark left a comment

@nical
indeed!

@nox
Copy link
Member

nox commented May 9, 2017

@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2017

📌 Commit 5e33c3e has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2017

Testing commit 5e33c3e with merge 3b15210...

bors-servo added a commit that referenced this pull request May 9, 2017
Remove dependency to rustc-serialize.

rustc-serialize is deprecated in favor of serde and servo has moved to serde which means we don't need to carry this dependency anymore.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/191)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2017

💔 Test failed - status-travis

@emilio
Copy link
Member

emilio commented May 9, 2017

@bors-servo retry

  • Spurious failure?
@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2017

Testing commit 5e33c3e with merge 67545e1...

bors-servo added a commit that referenced this pull request May 9, 2017
Remove dependency to rustc-serialize.

rustc-serialize is deprecated in favor of serde and servo has moved to serde which means we don't need to carry this dependency anymore.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/191)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2017

💔 Test failed - status-travis

@bors-servo
Copy link
Contributor

bors-servo commented May 18, 2017

The latest upstream changes (presumably #193) made this pull request unmergeable. Please resolve the merge conflicts.

@jdm
Copy link
Member

jdm commented May 18, 2017

@bors-servo: retry

@bors-servo
Copy link
Contributor

bors-servo commented May 18, 2017

🔒 Merge conflict

@jdm
Copy link
Member

jdm commented May 18, 2017

Bah, merge conflict. It should be possible to merge this after a rebase since #193 merged.

rustc-serialize is deprecated in favor of serde and servo has moved to serde which means we don't need to carry this dependency anymore.
@nical nical force-pushed the nical:patch-1 branch from 5e33c3e to 1f19d98 May 19, 2017
@nical
Copy link
Collaborator Author

nical commented May 19, 2017

@bors-servo
Copy link
Contributor

bors-servo commented May 19, 2017

Trying commit 1f19d98 with merge 757d3de...

bors-servo added a commit that referenced this pull request May 19, 2017
Remove dependency to rustc-serialize.

rustc-serialize is deprecated in favor of serde and servo has moved to serde which means we don't need to carry this dependency anymore.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/191)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 19, 2017

☀️ Test successful - status-travis
State: approved= try=True

@nical
Copy link
Collaborator Author

nical commented May 19, 2017

@bors-servo r=nox

@bors-servo
Copy link
Contributor

bors-servo commented May 19, 2017

📌 Commit 1f19d98 has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented May 19, 2017

Testing commit 1f19d98 with merge 5f796a1...

bors-servo added a commit that referenced this pull request May 19, 2017
Remove dependency to rustc-serialize.

rustc-serialize is deprecated in favor of serde and servo has moved to serde which means we don't need to carry this dependency anymore.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/191)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 19, 2017

☀️ Test successful - status-travis
Approved by: nox
Pushing 5f796a1 to master...

@bors-servo bors-servo merged commit 1f19d98 into servo:master May 19, 2017
1 check passed
1 check passed
homu Test successful
Details
@nical nical deleted the nical:patch-1 branch May 19, 2017
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

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