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 serde_codegen support #941

Merged
merged 1 commit into from Feb 28, 2017
Merged

Remove serde_codegen support #941

merged 1 commit into from Feb 28, 2017

Conversation

@nox
Copy link
Member

nox commented Feb 28, 2017

We require Rust 1.15 and use serde_derive now.


This change is Reviewable

We require Rust 1.15 and use serde_derive now.
@jrmuizel
Copy link
Contributor

jrmuizel commented Feb 28, 2017

\o/

@jrmuizel jrmuizel closed this Feb 28, 2017
@jrmuizel jrmuizel reopened this Feb 28, 2017
@jrmuizel
Copy link
Contributor

jrmuizel commented Feb 28, 2017

Sorry about closing this.

@emilio
Copy link
Member

emilio commented Feb 28, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Feb 28, 2017

📌 Commit 4937f0e has been approved by emilio

bors-servo added a commit that referenced this pull request Feb 28, 2017
Remove serde_codegen support

We require Rust 1.15 and use serde_derive now.

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

bors-servo commented Feb 28, 2017

Testing commit 4937f0e with merge 9565e58...

@emilio
Copy link
Member

emilio commented Feb 28, 2017

@emilio
emilio approved these changes Feb 28, 2017
Copy link
Member

emilio left a comment

r=me if you think it's not worth it, but wanted to know your opinion.

#[cfg(feature = "serde_codegen")]
include!(concat!(env!("OUT_DIR"), "/types.rs"));

#[cfg(feature = "serde_derive")]
include!("types.rs");

This comment has been minimized.

@emilio

emilio Feb 28, 2017

Member

Could we just inline this file here or use mod? This will allow better error messages.

This comment has been minimized.

@nox

nox Feb 28, 2017

Author Member

@emilio I would rather have a WR contributor do that after this PR lands, because each type in types.rs should actually live in one of the existing modules.

@nox
Copy link
Member Author

nox commented Feb 28, 2017

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

bors-servo commented Feb 28, 2017

📌 Commit 4937f0e has been approved by emilio

@bors-servo
Copy link
Contributor

bors-servo commented Feb 28, 2017

☀️ Test successful - status-travis
Approved by: emilio
Pushing 9565e58 to master...

@bors-servo bors-servo merged commit 4937f0e into servo:master Feb 28, 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
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

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