Set up clippy for serde_test
This commit is contained in:
parent
948aa47687
commit
db449c4bf2
@ -11,7 +11,11 @@ readme = "../README.md"
|
||||
keywords = ["serde", "serialization"]
|
||||
include = ["Cargo.toml", "src/**/*.rs"]
|
||||
|
||||
[features]
|
||||
unstable-testing = ["clippy"]
|
||||
|
||||
[dependencies]
|
||||
clippy = { version = "0.*", optional = true }
|
||||
serde = { version = "0.9", path = "../serde" }
|
||||
|
||||
[badges]
|
||||
|
@ -1,3 +1,6 @@
|
||||
#![cfg_attr(feature = "clippy", feature(plugin))]
|
||||
#![cfg_attr(feature = "clippy", plugin(clippy))]
|
||||
|
||||
extern crate serde;
|
||||
|
||||
mod assert;
|
||||
|
@ -12,7 +12,12 @@ keywords = ["serialization"]
|
||||
publish = false
|
||||
|
||||
[features]
|
||||
unstable-testing = ["clippy", "serde/unstable-testing", "serde_derive/unstable-testing"]
|
||||
unstable-testing = [
|
||||
"clippy",
|
||||
"serde/unstable-testing",
|
||||
"serde_derive/unstable-testing",
|
||||
"serde_test/unstable-testing",
|
||||
]
|
||||
|
||||
[dev-dependencies]
|
||||
compiletest_rs = "0.2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user