mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-16 08:48:51 +00:00
Use clippy
This commit is contained in:
@ -5,3 +5,10 @@ authors = ["Abhishek Chanda <abhishe.becsk@gmail.com>"]
|
||||
description = "A library to work with IP CIDRs in Rust, heavily WIP"
|
||||
license = "Apache-2.0"
|
||||
repository = "https://github.com/achanda/ipnetwork"
|
||||
|
||||
[dependencies]
|
||||
clippy = {version = "0.0.21", optional = true}
|
||||
|
||||
[features]
|
||||
default = []
|
||||
dev = ["clippy"]
|
||||
|
@ -1,3 +1,6 @@
|
||||
#![cfg_attr(feature = "dev", allow(unstable_features))]
|
||||
#![cfg_attr(feature = "dev", feature(plugin))]
|
||||
#![cfg_attr(feature = "dev", plugin(clippy))]
|
||||
#![crate_type = "lib"]
|
||||
#![feature(ip_addr)]
|
||||
#[allow(dead_code)]
|
||||
|
Reference in New Issue
Block a user