fix(clippy): make clippy optional
This commit is contained in:
parent
718822449f
commit
da7bb8e109
@ -13,7 +13,7 @@ name = "serde_macros"
|
||||
plugin = true
|
||||
|
||||
[dependencies]
|
||||
clippy = "^0.0.37"
|
||||
clippy = { version = "^0.0.37", optional = true }
|
||||
serde_codegen = { version = "^0.6.10", path = "../serde_codegen", default-features = false, features = ["nightly"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -1,5 +1,5 @@
|
||||
#![feature(custom_attribute, custom_derive, plugin, test)]
|
||||
#![plugin(clippy)]
|
||||
#![cfg_attr(feature = "clippy", plugin(clippy))]
|
||||
#![plugin(serde_macros)]
|
||||
|
||||
extern crate num;
|
||||
|
@ -1,5 +1,6 @@
|
||||
#![feature(plugin, plugin_registrar, rustc_private)]
|
||||
#![plugin(clippy)]
|
||||
#![feature(plugin_registrar, rustc_private)]
|
||||
#![cfg_attr(feature = "clippy", feature(plugin))]
|
||||
#![cfg_attr(feature = "clippy", plugin(clippy))]
|
||||
|
||||
extern crate serde_codegen;
|
||||
extern crate rustc_plugin;
|
||||
|
Loading…
Reference in New Issue
Block a user