Skip to content

Conversation

@nical
Copy link
Contributor

@nical 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
Contributor 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
Contributor 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
Copy link
Contributor 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 kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@nical
Copy link
Contributor 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.

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nical
indeed!

@nox
Copy link
Contributor

nox commented May 9, 2017

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 5e33c3e has been approved by nox

@bors-servo
Copy link
Contributor

⌛ Testing commit 5e33c3e with merge 3b15210...

bors-servo pushed 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

💔 Test failed - status-travis

@emilio
Copy link
Member

emilio commented May 9, 2017

@bors-servo retry

  • Spurious failure?

@bors-servo
Copy link
Contributor

⌛ Testing commit 5e33c3e with merge 67545e1...

bors-servo pushed 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

💔 Test failed - status-travis

@bors-servo
Copy link
Contributor

☔ 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

🔒 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
Copy link
Contributor Author

nical commented May 19, 2017

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit 1f19d98 with merge 757d3de...

bors-servo pushed 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

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

@nical
Copy link
Contributor Author

nical commented May 19, 2017

@bors-servo r=nox

@bors-servo
Copy link
Contributor

📌 Commit 1f19d98 has been approved by nox

@bors-servo
Copy link
Contributor

⌛ Testing commit 1f19d98 with merge 5f796a1...

bors-servo pushed 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

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

@bors-servo bors-servo merged commit 1f19d98 into servo:master May 19, 2017
@nical nical deleted the patch-1 branch May 19, 2017 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants