-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
43 lines (37 loc) · 1.18 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
[package]
name = "prefix-trie"
version = "0.6.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/tiborschneider/prefix-trie"
homepage = "https://github.com/tiborschneider/prefix-trie"
documentation = "https://docs.rs/prefix-trie"
readme = "Readme.md"
categories = ["network-programming"]
keywords = ["IP", "prefix", "trie", "collection"]
description = "Prefix trie datastructure (both a set and a map) that provides exact and longest-prefix matches."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bench]]
name = "benchmark"
harness = false
required-features = ["ipnet"]
[[example]]
name = "random_access"
required-features = ["ipnet"]
[features]
default = ["ipnet"]
serde = ["dep:serde"]
ipnetwork = ["dep:ipnetwork"]
ipnet = ["dep:ipnet"]
[dependencies]
ipnet = { version = "2", optional = true}
ipnetwork = { version = "0.20", optional = true }
num-traits = "0.2"
serde = { version = "1", optional = true}
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
generic-tests = "0.1.2"
ip_network_table-deps-treebitmap = "0.5.0"
paste = "1.0.10"
pretty_assertions = "1.4.0"
rand = "0.8.5"