[package]
edition = "2024"
name = "ip2location"
version = "0.6.1"
authors = ["MARIRS <marirs@gmail.com>"]
build = false
exclude = [
".gitignore",
"examples",
"data",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Find geo information & proxy information based on the given IP using IP2Location BIN databases"
homepage = "https://github.com/marirs/rust-ip2location"
readme = "README.md"
keywords = [
"ip2location",
"geoip",
"geolocation",
"ip",
"proxy",
]
categories = [
"database",
"network-programming",
]
license-file = "LICENSE"
repository = "https://github.com/marirs/rust-ip2location"
[lib]
name = "ip2location"
path = "src/lib.rs"
[dependencies.memmap2]
version = "0.9"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_with]
version = "3.12"
[profile.dev]
opt-level = 3
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
debug-assertions = false