diff --git a/zebra-consensus/src/config.rs b/zebra-consensus/src/config.rs index ba03da993..f766ee578 100644 --- a/zebra-consensus/src/config.rs +++ b/zebra-consensus/src/config.rs @@ -14,6 +14,9 @@ pub struct Config { pub checkpoint_sync: bool, } +// we like our default configs to be explicit +#[allow(unknown_lints)] +#[allow(clippy::derivable_impls)] impl Default for Config { fn default() -> Self { Self { diff --git a/zebrad/src/application.rs b/zebrad/src/application.rs index e087b6d87..3543595ea 100644 --- a/zebrad/src/application.rs +++ b/zebrad/src/application.rs @@ -125,6 +125,8 @@ impl ZebradApp { /// /// By default no configuration is loaded, and the framework state is /// initialized to a default, empty state (no components, threads, etc). +#[allow(unknown_lints)] +#[allow(clippy::derivable_impls)] impl Default for ZebradApp { fn default() -> Self { Self { diff --git a/zebrad/src/config.rs b/zebrad/src/config.rs index 963c37d4e..5c4b9f604 100644 --- a/zebrad/src/config.rs +++ b/zebrad/src/config.rs @@ -133,6 +133,9 @@ pub struct MetricsSection { pub endpoint_addr: Option, } +// we like our default configs to be explicit +#[allow(unknown_lints)] +#[allow(clippy::derivable_impls)] impl Default for MetricsSection { fn default() -> Self { Self {