mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-16 16:58:50 +00:00
@ -11,7 +11,6 @@ categories = ["network-programming", "parser-implementations"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clippy = {version = "0.0.302", optional = true}
|
|
||||||
serde = { version = ">=0.8.0, <2.0", optional = true }
|
serde = { version = ">=0.8.0, <2.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
@ -25,7 +24,6 @@ maintenance = { status = "passively-maintained" }
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["serde"]
|
default = ["serde"]
|
||||||
dev = ["clippy"]
|
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "parse_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
|
Run Clippy by doing
|
||||||
```
|
```
|
||||||
cargo test --features "dev"
|
rustup component add clippy
|
||||||
|
cargo clippy
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
//! The `ipnetwork` crate provides a set of APIs to work with IP CIDRs in
|
//! The `ipnetwork` crate provides a set of APIs to work with IP CIDRs in
|
||||||
//! Rust.
|
//! Rust.
|
||||||
#![cfg_attr(feature = "dev", feature(plugin))]
|
|
||||||
#![cfg_attr(feature = "dev", plugin(clippy))]
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![doc(html_root_url = "https://docs.rs/ipnetwork/0.16.0")]
|
#![doc(html_root_url = "https://docs.rs/ipnetwork/0.16.0")]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user