# 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 = "2024"
rust-version = "1.85"
name = "iptocc"
version = "1.4.5"
authors = ["Ronie Martinez <ronmarti18@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "iptocc"
description = "Fast, offline IPv4/IPv6 address to ISO-3166 country code lookup using RIR delegated statistics"
readme = "README.md"
keywords = [
    "geoip",
    "country",
    "ip",
    "ipv4",
    "ipv6",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/roniemartinez/IPToCC"

[lib]
name = "iptocc"
path = "src/lib.rs"

[[bin]]
name = "generate-data"
path = "src/bin/generate-data.rs"

[[bin]]
name = "iptocc"
path = "src/main.rs"

[[test]]
name = "api"
path = "tests/api.rs"

[[bench]]
name = "lookup"
path = "benches/lookup.rs"
harness = false

[dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.rstest]
version = "0.26.1"
