[package]
edition = "2024"
rust-version = "1.85"
name = "iptocc"
version = "1.1.0"
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"