[package]
edition = "2021"
rust-version = "1.75"
name = "rdapify"
version = "0.2.1"
build = false
exclude = [
"bindings/",
"tests/fixtures/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified, secure, high-performance RDAP client with built-in SSRF protection and privacy controls"
homepage = "https://rdapify.com"
documentation = "https://docs.rs/rdapify"
readme = "README.md"
keywords = [
"rdap",
"whois",
"domain",
"network",
"dns",
]
categories = [
"network-programming",
"web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/rdapify/rdapify-rs"
[features]
cli = ["dep:clap"]
default = []
[lib]
name = "rdapify"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[bin]]
name = "rdapify"
path = "src/bin/rdapify.rs"
required-features = ["cli"]
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "live_tests"
path = "tests/live_tests.rs"
[[test]]
name = "streaming_tests"
path = "tests/streaming_tests.rs"
[[bench]]
name = "cache"
path = "benches/cache.rs"
harness = false
[[bench]]
name = "query"
path = "benches/query.rs"
harness = false
[[bench]]
name = "ssrf"
path = "benches/ssrf.rs"
harness = false
[[bench]]
name = "streaming"
path = "benches/streaming.rs"
harness = false
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = [
"derive",
"color",
]
optional = true
[dependencies.dashmap]
version = "6"
[dependencies.idna]
version = "1"
[dependencies.ipnetwork]
version = "0.20"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"gzip",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
[dependencies.url]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.mockito]
version = "1"
[dev-dependencies.tokio-test]
version = "0.4"
[profile.dev]
opt-level = 0
debug = 2
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true