[package] name = "dns-transport" version = "0.1.0" authors = ["Benjamin Sago "] edition = "2018" [dependencies] derive_more = "0.99" # dns wire protocol dns = { path = "../dns" } # logging log = "0.4" # base networking async-trait = "0.1" tokio = { version = "0.2", features = ["dns", "tcp", "udp", "io-util"] } # dns is used to resolve nameservers tokio-tls = { version = "0.3", optional = true } # tls native-tls = { version = "0.2", optional = true } # https hyper = { version = "0.13", optional = true } hyper-tls = { version = "0.4", optional = true } [features] default = [] # these are enabled in the main dog crate tls = ["native-tls", "tokio-tls"] https = ["hyper", "hyper-tls"]