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

Switch to serde_test and drop dependency on serde_json #60

Merged
merged 2 commits into from
Jun 29, 2016
Merged

Switch to serde_test and drop dependency on serde_json #60

merged 2 commits into from
Jun 29, 2016

Conversation

dtolnay
Copy link
Contributor

@dtolnay dtolnay commented Jun 29, 2016

No description provided.

@FlashCat
Copy link
Contributor

r? @reem

(I've picked a reviewer for you, use r? to override)

@dtolnay
Copy link
Contributor Author

dtolnay commented Jun 29, 2016

r? @apasel422

@FlashCat FlashCat assigned apasel422 and unassigned reem Jun 29, 2016

[dependencies]
clippy = { version = "0.*", optional = true }
serde = { version = "^0.7", optional = true }
serde_json = { version = "^0.7", optional = true }
serde_test = { version = "^0.7", optional = true }
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to make this a dev-dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cargo does not support optional dev-dependencies. So I can make it a dev dependency but it would mean that serde and serde_test are compiled even when running cargo test without --features serde_impl. We had decided on this approach in #48.

@apasel422 apasel422 merged commit b53b722 into contain-rs:master Jun 29, 2016
@dtolnay dtolnay deleted the test branch June 29, 2016 16:43
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.

None yet

4 participants