From e989f332bb41e55247eb6d80c593c782d29be111 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Wed, 28 Feb 2024 16:40:05 +0200 Subject: [PATCH] Fix feature = "cargo-clippy" deprecation --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b4147d61d..805006786 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,7 +30,7 @@ use tracing::debug; after_help = "Visit https://maturin.rs to learn more about maturin.", styles = cargo_options::styles(), )] -#[cfg_attr(feature = "cargo-clippy", allow(clippy::large_enum_variant))] +#[cfg_attr(clippy, allow(clippy::large_enum_variant))] /// Build and publish crates with pyo3, rust-cpython and cffi bindings as well /// as rust binaries as python packages enum Opt {