[package]
name = "seer-core"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "Core library for Seer domain name utilities"
readme = "../README.md"
keywords = ["whois", "rdap", "dns", "domain", "networking"]
categories = ["network-programming", "command-line-utilities"]

[dependencies]
tokio = { workspace = true }
reqwest = { workspace = true }
hickory-resolver = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
chrono = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
tracing-appender = { workspace = true }
tracing-opentelemetry = { workspace = true, optional = true }
opentelemetry = { workspace = true, optional = true }
opentelemetry_sdk = { workspace = true, optional = true }
opentelemetry-otlp = { workspace = true, optional = true }
futures = { workspace = true }
async-trait = { workspace = true }
once_cell = { workspace = true }
regex = { workspace = true }
url = { workspace = true }
colored = { workspace = true }
base64 = { workspace = true }
native-tls = { workspace = true }
tokio-native-tls = { workspace = true }
x509-parser = { workspace = true }
rand = { workspace = true }
toml = { workspace = true }
idna = { workspace = true }
dirs = { workspace = true }

[features]
default = []
otel = [
    "dep:tracing-opentelemetry",
    "dep:opentelemetry",
    "dep:opentelemetry_sdk",
    "dep:opentelemetry-otlp",
]

[lints]
workspace = true

[dev-dependencies]
tokio-test = "0.4"
