# 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 = "2018" name = "doh-client" version = "3.1.2" authors = ["LinkTed "] include = [ "src/**/*.rs", "tests/*.rs", "examples/*.rs", "Cargo.toml", "Cargo.lock", "README.md", "LICENSE", ] description = "DNS over HTTPS client" readme = "README.md" keywords = [ "doh", "dns", "http2", "h2", ] categories = [ "command-line-utilities", "network-programming", ] license = "BSD-3-Clause" repository = "https://github.com/LinkTed/doh-client" [profile.release] lto = true codegen-units = 1 [[bin]] name = "windows-service" path = "src/main_windows_service.rs" required-features = ["main-windows-service"] [dependencies.async-http-proxy] version = "~1.2.5" features = [ "runtime-tokio", "basic-auth", ] optional = true [dependencies.base64] version = "~0.13.0" [dependencies.bytes] version = "~1.1.0" [dependencies.clap] version = "~3.2.8" features = ["cargo"] [dependencies.dns-message-parser] version = "~0.6.0" [dependencies.env_logger] version = "~0.9.0" [dependencies.futures] version = "~0.3.21" [dependencies.h2] version = "~0.3.13" [dependencies.http] version = "~0.2.8" [dependencies.lazy_static] version = "~1.4.0" [dependencies.libc] version = "~0.2.126" [dependencies.log] version = "~0.4.17" [dependencies.lru] version = "~0.7.7" [dependencies.rustls] version = "~0.20.6" [dependencies.rustls-native-certs] version = "~0.6.2" optional = true [dependencies.rustls-pemfile] version = "~1.0.0" [dependencies.thiserror] version = "~1.0.31" [dependencies.tokio] version = "~1.19.2" features = [ "rt-multi-thread", "net", "time", "macros", ] [dependencies.tokio-rustls] version = "~0.23.4" [dependencies.tokio-socks] version = "~0.5.1" optional = true [dependencies.webpki] version = "~0.22.0" [dependencies.windows-service] version = "~0.4.0" optional = true [dependencies.winlog] version = "~0.2.6" optional = true [features] default = [ "socks5", "native-certs", "http-proxy", ] http-proxy = ["async-http-proxy"] main-windows-service = [ "windows-service", "winlog", ] native-certs = ["rustls-native-certs"] socks5 = ["tokio-socks"]