mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-15 00:26:33 +00:00
Add a benchmark for CIDR parsing
Also optimise the cidr_parts implementation
This commit is contained in:
@ -17,6 +17,7 @@ serde = ">=0.8.0, <2.0"
|
||||
[dev-dependencies]
|
||||
serde_json = "1.0"
|
||||
serde_derive = ">=0.8.0, <2.0"
|
||||
criterion = "0.2.9"
|
||||
|
||||
[badges]
|
||||
travis-ci = { repository = "achanda/ipnetwork" }
|
||||
@ -24,3 +25,7 @@ travis-ci = { repository = "achanda/ipnetwork" }
|
||||
[features]
|
||||
default = []
|
||||
dev = ["clippy"]
|
||||
|
||||
[[bench]]
|
||||
name = "parse_bench"
|
||||
harness = false
|
||||
|
Reference in New Issue
Block a user