diff --git a/Cargo.toml b/Cargo.toml index af99c8a..69e061b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,6 @@ categories = ["network-programming", "parser-implementations"] edition = "2018" [dependencies] -clippy = {version = "0.0.302", optional = true} serde = { version = ">=0.8.0, <2.0", optional = true } [dev-dependencies] @@ -25,7 +24,6 @@ maintenance = { status = "passively-maintained" } [features] default = ["serde"] -dev = ["clippy"] [[bench]] name = "parse_bench" diff --git a/README.md b/README.md index 839a452..e81bfb3 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ This is a library to work with IPv4 and IPv6 CIDRs in rust Run Clippy by doing ``` -cargo test --features "dev" +rustup component add clippy +cargo clippy ``` ### Installation diff --git a/src/lib.rs b/src/lib.rs index 151fed3..eecadc7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,5 @@ //! The `ipnetwork` crate provides a set of APIs to work with IP CIDRs in //! Rust. -#![cfg_attr(feature = "dev", feature(plugin))] -#![cfg_attr(feature = "dev", plugin(clippy))] #![crate_type = "lib"] #![doc(html_root_url = "https://docs.rs/ipnetwork/0.16.0")]