Enable parking_lot for tokio

This commit is contained in:
Frank Denis 2020-03-09 22:28:49 +01:00
parent 73e2a5e345
commit 4bdad2e075
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "doh-proxy" name = "doh-proxy"
version = "0.3.0" version = "0.3.1"
authors = ["Frank Denis <github@pureftpd.org>"] authors = ["Frank Denis <github@pureftpd.org>"]
description = "A DNS-over-HTTPS (DoH) proxy" description = "A DNS-over-HTTPS (DoH) proxy"
keywords = ["dns","https","doh","proxy"] keywords = ["dns","https","doh","proxy"]
@ -19,7 +19,7 @@ tls = ["libdoh/tls"]
libdoh = { path = "src/libdoh", version = "0.3" } libdoh = { path = "src/libdoh", version = "0.3" }
clap = "2" clap = "2"
jemallocator = "0" jemallocator = "0"
tokio = { version = "0.2", features = ["rt-threaded", "time", "tcp", "udp", "stream"] } tokio = { version = "0.2.11", features = ["rt-threaded", "time", "tcp", "udp", "stream", "parking_lot"] }
[package.metadata.deb] [package.metadata.deb]
extended-description = """\ extended-description = """\

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libdoh" name = "libdoh"
version = "0.3.0" version = "0.3.1"
authors = ["Frank Denis <github@pureftpd.org>"] authors = ["Frank Denis <github@pureftpd.org>"]
description = "DoH library for the rust-doh app" description = "DoH library for the rust-doh app"
keywords = ["dns","https","doh","proxy"] keywords = ["dns","https","doh","proxy"]
@ -20,7 +20,7 @@ byteorder = "1.3"
base64 = "0.12" base64 = "0.12"
futures = "0.3" futures = "0.3"
hyper = { version = "0.13", default-features = false, features = ["stream"] } hyper = { version = "0.13", default-features = false, features = ["stream"] }
tokio = { version = "0.2", features = ["rt-threaded", "time", "tcp", "udp", "stream"] } tokio = { version = "0.2.11", features = ["rt-threaded", "time", "tcp", "udp", "stream", "parking_lot"] }
tokio-rustls = { version = "0.13", optional = true } tokio-rustls = { version = "0.13", optional = true }
[profile.release] [profile.release]