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
+1
View File
@@ -54,3 +54,4 @@ diesel_migrations = "1.3.0"
[features]
postgres = ["diesel/postgres", "plume-macro/postgres" ]
sqlite = ["diesel/sqlite", "plume-macro/sqlite" ]
ci = ["plume-macro/ci"]
+1 -1
View File
@@ -1,7 +1,7 @@
#![feature(try_trait)]
#![feature(never_type)]
#![feature(proc_macro_hygiene)]
#![warn(missing_docs)]
#![cfg_attr(not(feature = "ci"), warn(missing_docs))]
#[macro_use]
extern crate diesel;