# 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 = "2021"
name = "numa"
version = "0.7.0"
authors = ["razvandimescu <razvan@dimescu.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable DNS resolver in Rust — .numa local domains, ad blocking, developer overrides, DNS-over-HTTPS"
readme = "README.md"
keywords = [
    "dns",
    "dns-server",
    "ad-blocking",
    "reverse-proxy",
    "developer-tools",
]
categories = [
    "network-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/razvandimescu/numa"

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

[[bin]]
name = "numa"
path = "src/main.rs"

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

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.env_logger]
version = "0.11"

[dependencies.futures]
version = "0.3"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "client",
    "http1",
    "server",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "http1",
    "tokio",
]

[dependencies.log]
version = "0.4"

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

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "gzip",
    "http2",
]
default-features = false

[dependencies.ring]
version = "0.17"

[dependencies.rustls]
version = "0.23"

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

[dependencies.serde_json]
version = "1"

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dependencies.time]
version = "0.3"

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

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

[dependencies.toml]
version = "0.8"

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

[dev-dependencies.http]
version = "1"

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