mirror of
https://github.com/DNSCrypt/doh-server.git
synced 2025-04-03 21:17:36 +03:00
Make TLS an optional feature
This commit is contained in:
parent
badcb6104d
commit
1706ec0dcb
4 changed files with 99 additions and 1164 deletions
12
Cargo.toml
12
Cargo.toml
|
@ -10,14 +10,18 @@ repository = "https://github.com/jedisct1/rust-doh"
|
|||
categories = ["asynchronous", "network-programming","command-line-utilities"]
|
||||
edition = "2018"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
tls = ["native-tls", "tokio-tls"]
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.10"
|
||||
clap = "2"
|
||||
futures = "0.1.27"
|
||||
hyper = "0.12.28"
|
||||
native-tls = "0.2.3"
|
||||
jemallocator = "0.3"
|
||||
hyper = "0.12.29"
|
||||
jemallocator = "0"
|
||||
native-tls = { version = "0.2.3", optional = true }
|
||||
tokio = "0.1.20"
|
||||
tokio-current-thread = "0.1.6"
|
||||
tokio-timer = "0.2.11"
|
||||
tokio-tls = "0.2.1"
|
||||
tokio-tls = { version = "0.2.1", optional = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue