doh-server/Cargo.toml

45 lines
1.1 KiB
TOML

[package]
name = "doh-proxy"
version = "0.1.21"
authors = ["Frank Denis <github@pureftpd.org>"]
description = "A DNS-over-HTTPS (DoH) proxy"
keywords = ["dns","https","doh","proxy"]
license = "MIT"
homepage = "https://github.com/jedisct1/rust-doh"
repository = "https://github.com/jedisct1/rust-doh"
categories = ["asynchronous", "network-programming","command-line-utilities"]
edition = "2018"
readme = "README.md"
[features]
default = []
tls = ["native-tls", "tokio-tls"]
[dependencies]
anyhow = "1.0"
base64 = "0.11"
clap = "2.33.0"
futures = "0.3"
hyper = "0.13"
jemallocator = "0"
native-tls = { version = "0.2.3", optional = true }
tokio = { version = "0.2", features = ["full"] }
tokio-tls = { version = "0.3", optional = true }
[package.metadata.deb]
extended-description = """\
A fast and secure DoH (DNS-over-HTTPS) server written in Rust."""
assets = [
["target/release/doh-proxy", "usr/bin/", "755"],
["README.md", "usr/share/doc/doh-proxy/README.md", "644"]
]
section = "network"
depends = "$auto"
priority = "optional"
[profile.release]
codegen-units = 1
incremental = false
lto = "fat"
opt-level = 3
panic = "abort"