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:
@ -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
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user