[package]
edition = "2021"
name = "ipnet-trie"
version = "0.3.1"
authors = ["Mingwei Zhang <mingwei@bgpkit.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
IPv4 and IPv6 network fast lookup trie.
"""
homepage = "https://github.com/bgpkit/ipnet-trie"
documentation = "https://docs.rs/ipnet-trie"
readme = "README.md"
keywords = [
"ip",
"network",
"address",
"bgp",
"trie",
]
categories = [
"network-programming",
"data-structures",
]
license = "MIT"
repository = "https://github.com/bgpkit/ipnet-trie"
[features]
default = []
export = ["bincode"]
[lib]
name = "ipnet_trie"
path = "src/lib.rs"
[[example]]
name = "bgp-rib-trie-export"
path = "examples/bgp-rib-trie-export.rs"
required-features = ["export"]
[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false
[dependencies.bincode]
version = "2.0"
optional = true
[dependencies.ipnet]
version = "2.8"
[dependencies.prefix-trie]
version = "0.6"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.bgpkit-parser]
version = "0.11"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.oneio]
version = "0.17"
[dev-dependencies.tempdir]
version = "0.3"