# 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"
name = "rolodex-dns"
version = "0.2.3"
authors = ["Erik Hollensbe <git@hollensbe.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A split-horizon DNS server and forwarding resolver with gRPC management"
readme = "README.md"
keywords = [
    "dns",
    "dns-server",
    "split-horizon",
    "grpc",
    "forwarding-resolver",
]
categories = ["network-programming"]
license = "AGPL-3.0-only"
repository = "https://gitea.com/town-os/rolodex-dns"

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

[[bin]]
name = "rolodex-dns"
path = "src/main.rs"

[[bin]]
name = "rolodex-dns-cli"
path = "src/bin/rolodex-dns-cli.rs"

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

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

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

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

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

[[bench]]
name = "dns_perf"
path = "benches/dns_perf.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.arc-swap]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = ["http2"]

[dependencies.axum-server]
version = "0.7"
features = ["tls-rustls"]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dashmap]
version = "6"

[dependencies.dhcproto]
version = "0.14"

[dependencies.domain]
version = "0.11"
features = [
    "std",
    "bytes",
    "resolv",
]

[dependencies.fancy-duration]
version = "0.9"

[dependencies.hex]
version = "0.4"

[dependencies.hickory-proto]
version = "0.25"

[dependencies.hickory-resolver]
version = "0.25"
features = [
    "system-config",
    "tokio",
]

[dependencies.hyper-util]
version = "0.1"

[dependencies.nix]
version = "0.29"
features = ["net"]

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

[dependencies.quinn]
version = "0.11"

[dependencies.rand]
version = "0.9"

[dependencies.rcgen]
version = "0.13"
features = ["x509-parser"]

[dependencies.ring]
version = "0.17"

[dependencies.rusqlite]
version = "0.35"
features = ["bundled"]

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = ["formatting"]

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[dependencies.tonic]
version = "0.14"

[dependencies.tonic-prost]
version = "0.14"

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.x509-parser]
version = "0.16"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.rustls-webpki]
version = "0.103"
features = [
    "ring",
    "std",
]

[dev-dependencies.tempfile]
version = "3"

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[build-dependencies.prost-build]
version = "0.14"

[build-dependencies.tonic-build]
version = "0.14"

[build-dependencies.tonic-prost-build]
version = "0.14"
