mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-15 00:26:33 +00:00
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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")]
|
||||
|
||||
|
Reference in New Issue
Block a user