# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "doh-proxy"
version = "0.3.7"
authors = ["Frank Denis <github@pureftpd.org>"]
description = "A DNS-over-HTTPS (DoH) proxy"
homepage = "https://github.com/jedisct1/rust-doh"
readme = "README.md"
keywords = ["dns", "https", "doh", "proxy"]
categories = ["asynchronous", "network-programming", "command-line-utilities"]
license = "MIT"
repository = "https://github.com/jedisct1/rust-doh"
[package.metadata.deb]
assets = [["target/release/doh-proxy", "usr/bin/", "755"], ["README.md", "usr/share/doc/doh-proxy/README.md", "644"]]
depends = "$auto"
extended-description = "A fast and secure DoH (DNS-over-HTTPS) server written in Rust."
priority = "optional"
section = "network"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
incremental = false
[dependencies.clap]
version = "2.33.3"

[dependencies.jemallocator]
version = "0.3.2"

[dependencies.libdoh]
version = "0.3.7"
default-features = false

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

[features]
default = ["tls"]
tls = ["libdoh/tls"]
