diff --git a/veilid-cli/src/main.rs b/veilid-cli/src/main.rs index e4e36e25..aac2f834 100644 --- a/veilid-cli/src/main.rs +++ b/veilid-cli/src/main.rs @@ -1,3 +1,5 @@ +#![warn(clippy::all)] + use anyhow::*; use async_std::prelude::*; use clap::{App, Arg}; diff --git a/veilid-server/src/main.rs b/veilid-server/src/main.rs index 9c97645a..abcbc030 100644 --- a/veilid-server/src/main.rs +++ b/veilid-server/src/main.rs @@ -1,4 +1,5 @@ #![forbid(unsafe_code)] +#![warn(clippy::all)] mod client_api; mod settings; @@ -7,8 +8,6 @@ pub mod veilid_client_capnp { include!(concat!(env!("OUT_DIR"), "/proto/veilid_client_capnp.rs")); } - - cfg_if::cfg_if! { if #[cfg(windows)] { mod windows;