xdb-parse 0.2.0

High-performance, zero-copy xdb IP geolocation parser (ip2region-compatible)
Documentation
# 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 = "xdb-parse"
version = "0.2.0"
authors = ["RuntimeBroker"]
build = false
exclude = [
    "assets/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance, zero-copy xdb IP geolocation parser (ip2region-compatible)"
homepage = "https://github.com/RuntimeBroker/xdb_parse"
documentation = "https://docs.rs/xdb_parse"
readme = "README.md"
keywords = [
    "ip2region",
    "xdb",
    "geoip",
    "ip",
    "geolocation",
]
categories = [
    "parsing",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RuntimeBroker/xdb_parse"

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

[[example]]
name = "search_ip"
path = "examples/search_ip.rs"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.anyhow]
version = "1.0.102"

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

[dev-dependencies.rand]
version = "0.10.1"