abuse-contact 0.2.0

Find the abuse contact for an IP address or a domain name
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.88"
name = "abuse-contact"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Find the abuse contact for an IP address or a domain name"
readme = "README.md"
keywords = [
    "abuse",
    "rdap",
    "whois",
    "email",
    "security",
]
categories = [
    "network-programming",
    "email",
]
license = "MIT"
repository = "https://github.com/chrj/rust-abuse-contact"

[features]
default = [
    "http",
    "dns",
]
dns = ["dep:hickory-resolver"]
http = [
    "dep:reqwest",
    "dep:tokio",
]

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

[[example]]
name = "lookup"
path = "examples/lookup.rs"
required-features = [
    "http",
    "dns",
]

[[example]]
name = "zones"
path = "examples/zones.rs"
required-features = ["dns"]

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

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

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

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

[dependencies.hickory-resolver]
version = "0.26"
features = [
    "system-config",
    "tokio",
]
optional = true
default-features = false

[dependencies.ipnet]
version = "2"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
]
optional = true
default-features = false

[dev-dependencies.hickory-proto]
version = "0.26"

[dev-dependencies.tokio]
version = "1"
features = [
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
]

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

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "deny"