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

Add cargo features for rustc-serialize and serde #70

Merged
merged 3 commits into from Apr 15, 2016
Merged

Conversation

@alexbool
Copy link
Contributor

alexbool commented Apr 15, 2016

So you are allowed to depend only on what you use.
Tests depend heavily on both of these crates, so they only run with default features on.
So did example binary, I did not modify it for simplicity and clarity.

@TyOverby
Copy link
Collaborator

TyOverby commented Apr 15, 2016

This seems reasonable!

@nox

.travis.yml Outdated
@@ -25,3 +25,5 @@ script:
- multirust default $CHANNEL
- cargo build
- if [ $CHANNEL = 'nightly' ] ; then cargo test ; fi
- cargo build --no-default-features --features "rustc-serialize"

This comment has been minimized.

@TyOverby

TyOverby Apr 15, 2016

Collaborator

Put these up with the other cargo build.

This comment has been minimized.

@alexbool

alexbool Apr 15, 2016

Author Contributor

Done

@TyOverby
Copy link
Collaborator

TyOverby commented Apr 15, 2016

Looks good to me! If you squash these commits, I'll click the merge button!

@alexbool
Copy link
Contributor Author

alexbool commented Apr 15, 2016

10 minutes please, I'll remember how to squash

@TyOverby
Copy link
Collaborator

TyOverby commented Apr 15, 2016

Actually, wait, I can squash during the merge. You don't need to do anything.

Thanks for your contribution!

@TyOverby TyOverby merged commit 71a4c93 into servo:master Apr 15, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@alexbool
Copy link
Contributor Author

alexbool commented Apr 15, 2016

Beautiful! It'll be also great to make a release so I could use this feature

@TyOverby
Copy link
Collaborator

TyOverby commented Apr 15, 2016

Yep, I'll publish a new version right now!

@TyOverby
Copy link
Collaborator

TyOverby commented Apr 15, 2016

bincode = "0.5.4" is all yours!

@alexbool
Copy link
Contributor Author

alexbool commented Apr 15, 2016

Thanks!

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

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