[package]
name = "libdoh"
version = "0.9.0"
authors = ["Frank Denis <github@pureftpd.org>"]
description = "DoH and Oblivious DoH library for the rust-doh app"
keywords = ["dns","https","doh","odoh","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"
[features]
default = ["tls"]
tls = ["tokio-rustls"]
[dependencies]
anyhow = "1.0.38"
arc-swap = "1.2.0"
base64 = "0.13.0"
byteorder = "1.4.2"
bytes = "1.0.1"
futures = "0.3.13"
hpke = "0.5.1"
hyper = { version = "0.14.4", default-features = false, features = ["server", "http1", "http2", "stream"] }
odoh-rs = "1.0.0-alpha"
rand = "0.8.3"
tokio = { version = "1.6.0", features = ["net", "rt-multi-thread", "parking_lot", "time", "sync"] }
tokio-rustls = { version = "0.22.0", features = ["early-data"], optional = true }
[profile.release]
codegen-units = 1
incremental = false
lto = "fat"
opt-level = 3
panic = "abort"