diff --git a/ferrunix-core/src/registry.rs b/ferrunix-core/src/registry.rs index 0f2e8e5..90af317 100644 --- a/ferrunix-core/src/registry.rs +++ b/ferrunix-core/src/registry.rs @@ -442,11 +442,10 @@ pub struct Builder<'reg, T, Deps> { } impl< - 'reg, T, #[cfg(not(feature = "tokio"))] Deps: DepBuilder + 'static, #[cfg(feature = "tokio")] Deps: DepBuilder + Sync + 'static, - > Builder<'reg, T, Deps> + > Builder<'_, T, Deps> where T: Registerable, { diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index 04931c9..2ca58be 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -67,7 +67,9 @@ pub(super) fn run() -> Result<()> { } // cmd!(sh, "cargo test --all").run()?; - cmd!(sh, "cargo clippy --tests --workspace").run()?; + if cmd!(sh, "cargo clippy --version").output().is_ok() { + cmd!(sh, "cargo clippy --tests --workspace").run()?; + } if has_cargo_outdated { cmd!(sh, "cargo outdated --workspace --exit-code 1").run()?;