Update to hyper 0.13
This commit is contained in:
committed by
Sean McArthur
parent
db2de90e42
commit
0f32c4a01a
30
Cargo.toml
30
Cargo.toml
@@ -25,7 +25,7 @@ default-tls-vendored = ["default-tls", "native-tls/vendored"]
|
||||
|
||||
#rustls-tls = ["hyper-rustls", "tokio-rustls", "webpki-roots", "rustls", "tls"]
|
||||
|
||||
blocking = ["futures-channel-preview", "futures-util-preview/io", "tokio/rt-full"]
|
||||
blocking = ["futures-channel", "futures-util/io", "tokio/rt-threaded", "tokio/rt-core"]
|
||||
|
||||
cookies = ["cookie_crate", "cookie_store"]
|
||||
|
||||
@@ -44,25 +44,26 @@ unstable-stream = []
|
||||
__internal_proxy_sys_no_cache = []
|
||||
|
||||
[dependencies]
|
||||
http = "0.1.15"
|
||||
http = "0.2"
|
||||
url = "2.1"
|
||||
bytes = "0.4"
|
||||
bytes = "0.5"
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
base64 = "0.11"
|
||||
encoding_rs = "0.8"
|
||||
futures-core-preview = { version = "=0.3.0-alpha.19" }
|
||||
futures-util-preview = { version = "=0.3.0-alpha.19" }
|
||||
http-body = "=0.2.0-alpha.3"
|
||||
hyper = { version = "=0.13.0-alpha.4", default-features = false, features = ["tcp"] }
|
||||
futures-core = { version = "0.3.0" }
|
||||
futures-util = { version = "0.3.0" }
|
||||
http-body = "0.3.0"
|
||||
hyper = { version = "0.13", default-features = false, features = ["tcp"] }
|
||||
lazy_static = "1.4"
|
||||
log = "0.4"
|
||||
mime = "0.3.7"
|
||||
mime_guess = "2.0"
|
||||
percent-encoding = "2.1"
|
||||
tokio = { version = "=0.2.0-alpha.6", default-features = false, features = ["io", "tcp", "timer"] }
|
||||
tokio-executor = "=0.2.0-alpha.6"
|
||||
tokio = { version = "0.2.0", default-features = false, features = ["tcp", "time"] }
|
||||
#tokio-executor = "0.2.0"
|
||||
time = "0.1.42"
|
||||
pin-project-lite = "0.1.1"
|
||||
|
||||
# TODO: candidates for optional features
|
||||
|
||||
@@ -72,9 +73,9 @@ serde_urlencoded = "0.6.1"
|
||||
# Optional deps...
|
||||
|
||||
## default-tls
|
||||
hyper-tls = { version = "=0.4.0-alpha.4", optional = true }
|
||||
hyper-tls = { version = "0.4", optional = true }
|
||||
native-tls = { version = "0.2", optional = true }
|
||||
tokio-tls = { version = "=0.3.0-alpha.6", optional = true }
|
||||
tokio-tls = { version = "0.3.0", optional = true }
|
||||
|
||||
## rustls-tls
|
||||
#hyper-rustls = { version = "=0.18.0-alpha.1", optional = true }
|
||||
@@ -83,14 +84,14 @@ tokio-tls = { version = "=0.3.0-alpha.6", optional = true }
|
||||
#webpki-roots = { version = "0.17", optional = true }
|
||||
|
||||
## blocking
|
||||
futures-channel-preview = { version = "=0.3.0-alpha.19", optional = true }
|
||||
futures-channel = { version = "0.3.0", optional = true }
|
||||
|
||||
## cookies
|
||||
cookie_crate = { version = "0.12", package = "cookie", optional = true }
|
||||
cookie_store = { version = "0.10", optional = true }
|
||||
|
||||
## gzip
|
||||
async-compression = { version = "=0.1.0-alpha.7", default-features = false, features = ["gzip", "stream"], optional = true }
|
||||
async-compression = { version = "0.2.0", default-features = false, features = ["gzip", "stream"], optional = true }
|
||||
|
||||
## json
|
||||
serde_json = { version = "1.0", optional = true }
|
||||
@@ -103,10 +104,11 @@ serde_json = { version = "1.0", optional = true }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
env_logger = "0.6"
|
||||
hyper = { version = "=0.13.0-alpha.4", features = ["unstable-stream"] }
|
||||
hyper = { version = "0.13", default-features = false, features = ["tcp", "stream"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
libflate = "0.1"
|
||||
doc-comment = "0.3"
|
||||
tokio = { version = "0.2.0", default-features = false, features = ["macros"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winreg = "0.6"
|
||||
|
||||
Reference in New Issue
Block a user