ipregistry 1.0.0

Official Rust client for the Ipregistry IP geolocation and threat intelligence API
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 = "ipregistry"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust client for the Ipregistry IP geolocation and threat intelligence API"
homepage = "https://ipregistry.co"
documentation = "https://docs.rs/ipregistry"
readme = "README.md"
keywords = [
    "ip",
    "geolocation",
    "geoip",
    "ipregistry",
    "threat",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "Apache-2.0"
repository = "https://github.com/ipregistry/ipregistry-rust"

[features]
default = ["rustls-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls"]

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

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

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

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

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

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

[dependencies.futures-util]
version = "0.3.32"
features = ["std"]
default-features = false

[dependencies.lru]
version = "0.18.0"

[dependencies.reqwest]
version = "0.13.4"
features = ["http2"]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = ["time"]

[dependencies.url]
version = "2.5.8"

[dev-dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6.5"