# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "prefix-trie" version = "0.5.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Prefix trie datastructure (both a set and a map) that provides exact and longest-prefix matches." homepage = "https://github.com/tiborschneider/prefix-trie" documentation = "https://docs.rs/prefix-trie" readme = "Readme.md" keywords = [ "IP", "prefix", "trie", "collection", ] categories = ["network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/tiborschneider/prefix-trie" [lib] name = "prefix_trie" path = "src/lib.rs" [[example]] name = "random_access" path = "examples/random_access.rs" required-features = ["ipnet"] [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false required-features = ["ipnet"] [dependencies.ipnet] version = "2" optional = true [dependencies.ipnetwork] version = "0.20" optional = true [dependencies.num-traits] version = "0.2" [dependencies.serde] version = "1" optional = true [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.generic-tests] version = "0.1.2" [dev-dependencies.ip_network_table-deps-treebitmap] version = "0.5.0" [dev-dependencies.paste] version = "1.0.10" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.rand] version = "0.8.5" [features] default = ["ipnet"] ipnet = ["dep:ipnet"] ipnetwork = ["dep:ipnetwork"] serde = ["dep:serde"]