[package]
edition = "2024"
rust-version = "1.85.0"
name = "technitium"
version = "0.4.0"
build = false
exclude = [
".cargo/",
".claude/",
".githooks/",
"specs/",
".specify/",
"docker-compose.test.yml",
"Makefile",
"CLAUDE.md",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed async Rust client for the Technitium DNS Server API"
readme = "README.md"
keywords = [
"dns",
"technitium",
"api",
"client",
]
categories = [
"api-bindings",
"network-programming",
]
license = "MIT"
repository = "https://git.internal.northhosted.com/joe/technitium-rs"
[features]
default = ["default-tls"]
default-tls = ["reqwest/default-tls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls"]
[lib]
name = "technitium"
path = "src/lib.rs"
[[test]]
name = "admin"
path = "tests/admin.rs"
[[test]]
name = "allowed_blocked"
path = "tests/allowed_blocked.rs"
[[test]]
name = "apps"
path = "tests/apps.rs"
[[test]]
name = "auth"
path = "tests/auth.rs"
[[test]]
name = "cache"
path = "tests/cache.rs"
[[test]]
name = "contract_serde"
path = "tests/contract_serde.rs"
[[test]]
name = "dashboard"
path = "tests/dashboard.rs"
[[test]]
name = "dhcp"
path = "tests/dhcp.rs"
[[test]]
name = "dns_client"
path = "tests/dns_client.rs"
[[test]]
name = "logs"
path = "tests/logs.rs"
[[test]]
name = "rate_limiter"
path = "tests/rate_limiter.rs"
[[test]]
name = "records"
path = "tests/records.rs"
[[test]]
name = "retry"
path = "tests/retry.rs"
[[test]]
name = "settings"
path = "tests/settings.rs"
[[test]]
name = "timeout"
path = "tests/timeout.rs"
[[test]]
name = "zones"
path = "tests/zones.rs"
[dependencies.rand]
version = "0.10.0"
[dependencies.reqwest]
version = "0.13.2"
features = [
"json",
"form",
"multipart",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"sync",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
]
[lints.clippy.all]
level = "deny"
priority = 0
[lints.clippy.pedantic]
level = "warn"
priority = 0