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]
name = "doh-proxy"
version = "0.3.0"
version = "0.3.1"
authors = ["Frank Denis <github@pureftpd.org>"]
description = "A DNS-over-HTTPS (DoH) proxy"
keywords = ["dns","https","doh","proxy"]
@ -19,7 +19,7 @@ tls = ["libdoh/tls"]
libdoh = { path = "src/libdoh", version = "0.3" }
clap = "2"
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]
extended-description = """\

View file

@ -1,6 +1,6 @@
[package]
name = "libdoh"
version = "0.3.0"
version = "0.3.1"
authors = ["Frank Denis <github@pureftpd.org>"]
description = "DoH library for the rust-doh app"
keywords = ["dns","https","doh","proxy"]
@ -20,7 +20,7 @@ byteorder = "1.3"
base64 = "0.12"
futures = "0.3"
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 }
[profile.release]