-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (41 loc) · 1.09 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "generic-ip"
version = "0.1.1"
edition = "2021"
authors = ["Ben Maddison <benm@workonline.africa>"]
description = "IP address types for generic programming"
license = "MIT"
repository = "https://github.com/wolcomm/generic-ip-rs"
readme = "README.md"
keywords = ["ip", "network", "cidr", "prefix", "subnet"]
categories = ["network-programming"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[lib]
name = "ip"
[features]
default = ["std"]
arbitrary = ["proptest"]
std = []
[dependencies]
bitvec = { version = "^1.0", default-features = false }
ipnet = { version = "^2.4", optional = true }
num-traits = { version = "^0.2", default-features = false, features = ["i128" ] }
proptest = { version = "^1.0", optional = true }
[dev-dependencies]
version-sync = "^0.9"
itertools = "^0.12"
paste = "^1.0"
proptest = "^1.0"
criterion = { version = "^0.5", features = ["html_reports"] }
test-utils = {path = "./test-utils"}
[[bench]]
name = "parse_ipv4"
harness = false
[[bench]]
name = "parse_ipv6"
harness = false
[[bench]]
name = "prefix-sets"
harness = false