Fix cargo nightly feature

517c2f79b7 renamed the `nightly` feature to `nightly-testing` to
reflect that the `clippy` dependency is only required when testing.
However, the code also uses `#[cfg(feature = "nightly")]` to enable
trait impls for feature-gated types. This commit restores that
functionality and fixes a few `cfg_attr`s that refer to clippy lints.
This commit is contained in:
Kevin Mehall
2016-02-21 13:01:04 -08:00
parent f6a66a5537
commit 4e7b0ac089
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ readme = "../README.md"
keywords = ["serde", "serialization"]
[features]
nightly-testing = ["clippy"]
nightly = []
nightly-testing = ["clippy", "nightly"]
num-bigint = ["num/bigint"]
num-complex = ["num/complex"]
num-impls = ["num-bigint", "num-complex", "num-rational"]