1
0
mirror of https://github.com/NLnetLabs/routinator.git synced 2024-05-19 06:50:04 +00:00

lint with clippy during travis

This commit is contained in:
Wild Kat
2019-02-05 23:04:05 +01:00
parent c830c9971b
commit 5deda517c8
2 changed files with 14 additions and 2 deletions

View File

@ -3,4 +3,9 @@ rust:
- stable
- beta
- 1.30.0 # The minimal Rust version we claim we need.
before_script:
# Get clippy-preview if clippy is not available for 1.30.0 not to break
- rustup component add clippy || rustup component add clippy-preview
script:
- cargo clippy -- -D warnings
- cargo test --verbose

View File

@ -2,7 +2,14 @@
//!
//! This crate contains all the moving parts of the Routinator. The
//! application itself, via `main.rs` is only a very tiny frontend.
#![allow(unknown_lints)] // Clippy for 1.30.
// Clippy due to multi-versioning
#![allow(renamed_and_removed_lints)]
// Clippy for 1.30.
#![allow(unknown_lints)]
#![allow(needless_pass_by_value)]
#![allow(map_clone)]
extern crate bytes;
extern crate chrono;