# 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 = "ipdb-rust" version = "0.1.4" include = [ "/Cargo.toml", "/benches/*.rs", "/src/**/*.rs", "/README.md", "/LICENSE", ] description = "Library for reading IPIP.net's IPDB database files" readme = "README.md" license = "ISC" [lib] name = "ipdb" path = "src/ipdb-rust/lib.rs" [[bin]] name = "ipdb-cli" path = "src/ipdb-cli/main.rs" [[bench]] name = "lookup" harness = false [dependencies.clap] version = "4.0.9" features = ["derive"] [dependencies.ipnet] version = "2.0.0" [dependencies.ipnetwork] version = "0.20.0" [dependencies.iprange] version = "0.6" features = ["serde"] [dependencies.memmap2] version = "0.5.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dev-dependencies.criterion] version = "0.4" [dev-dependencies.fake] version = "2.4" [dev-dependencies.rayon] version = "1.5" [features] default = [] mmap = ["memmap2"] unsafe-str-decode = []