Merge pull request #121 from achanda/clippy

Remove the clippy plugin
This commit is contained in:
Abhishek Chanda
2020-01-18 17:47:04 +00:00
committed by GitHub
3 changed files with 2 additions and 5 deletions

View File

@ -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"

View File

@ -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

View File

@ -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")]