# 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 = "2018" name = "db_ip" version = "0.3.9" authors = ["Finn Bear"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "An (unofficial) Rust library for querying db-ip.com data" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/finnbear/db_ip/" [package.metadata.docs.rs] features = [ "ipv4", "ipv6", "serde", "region", ] no-default-features = true [lib] name = "db_ip" path = "src/lib.rs" [dependencies.bincode] version = "=1.3" optional = true [dependencies.csv] version = "1.1" optional = true [dependencies.db_ip_core] version = "0.3.2" [dependencies.doc-comment] version = "0.3" [dev-dependencies.serde_json] version = "1.0" [build-dependencies.bincode] version = "=1.3" optional = true [build-dependencies.chrono] version = "0.4" optional = true [build-dependencies.db_ip_core] version = "0.3.1" features = [ "csv", "serde", ] [build-dependencies.flate2] version = "1.0" optional = true [build-dependencies.reqwest] version = "0.12.5" features = [ "blocking", "rustls-tls", ] optional = true default-features = false [build-dependencies.serde_1] version = "1.0" optional = true package = "serde" [features] default = [ "ipv4", "ipv6", "include-country-code-lite", "include-region-lite", ] download-country-lite = [ "chrono", "flate2", "reqwest", "bincode", ] include-country-code-lite = [ "download-country-lite", "serde", "serde_1", "db_ip_core/bincode", ] include-region-lite = [ "download-country-lite", "region", "serde", "serde_1", "db_ip_core/bincode", ] ipv4 = ["db_ip_core/ipv4"] ipv6 = ["db_ip_core/ipv6"] nightly = [] region = ["db_ip_core/region"] serde = ["db_ip_core/serde"]