Add a "ci" feature to make clippy ignore docs warnings
This commit is contained in:
@@ -13,3 +13,6 @@ gettext-utils = { git = "https://github.com/Plume-org/gettext-macros/", rev = "a
|
||||
lazy_static = "1.3"
|
||||
serde = "1.0"
|
||||
serde_json = "1.0"
|
||||
|
||||
[features]
|
||||
ci = []
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#![recursion_limit = "128"]
|
||||
#![feature(decl_macro, proc_macro_hygiene, try_trait)]
|
||||
#![warn(missing_docs)]
|
||||
#![cfg_attr(not(feature = "ci"), warn(missing_docs))]
|
||||
|
||||
#[macro_use]
|
||||
extern crate gettext_macros;
|
||||
|
||||
Reference in New Issue
Block a user