Add a "ci" feature to make clippy ignore docs warnings

This commit is contained in:
Ana Gelez
2020-01-31 08:25:25 +01:00
parent 55ccd1b4e4
commit c5fa90176c
15 changed files with 22 additions and 7 deletions
+3
View File
@@ -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 -1
View File
@@ -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;