diff options
| author | Melody Horn <melody@boringcactus.com> | 2021-03-27 10:00:24 -0600 | 
|---|---|---|
| committer | Melody Horn <melody@boringcactus.com> | 2021-03-27 10:00:24 -0600 | 
| commit | b5cb3fe9bafc4448b14335c9e0b9d90f1f7c78cb (patch) | |
| tree | 93fd674b250320e76a7c63332cf2de370f341f72 | |
| parent | dfd4b77d6e99856e4c6b45edc1626e99867cbe14 (diff) | |
| download | webget-b5cb3fe9bafc4448b14335c9e0b9d90f1f7c78cb.tar.gz webget-b5cb3fe9bafc4448b14335c9e0b9d90f1f7c78cb.zip  | |
accept HTTP2
| -rw-r--r-- | Cargo.lock | 50 | ||||
| -rw-r--r-- | Cargo.toml | 2 | 
2 files changed, 51 insertions, 1 deletions
@@ -207,6 +207,31 @@ dependencies = [  ]  [[package]] +name = "h2" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc018e188373e2777d0ef2467ebff62a08e66c3f5857b23c8fbec3018210dc00" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" + +[[package]]  name = "heck"  version = "0.3.2"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -268,6 +293,7 @@ dependencies = [   "futures-channel",   "futures-core",   "futures-util", + "h2",   "http",   "http-body",   "httparse", @@ -299,6 +325,16 @@ dependencies = [  ]  [[package]] +name = "indexmap" +version = "1.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3" +dependencies = [ + "autocfg", + "hashbrown", +] + +[[package]]  name = "instant"  version = "0.1.9"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -797,6 +833,20 @@ dependencies = [  ]  [[package]] +name = "tokio-util" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5143d049e85af7fbc36f5454d990e62c2df705b3589f123b71f441b6b59f443f" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio", +] + +[[package]]  name = "tower-service"  version = "0.3.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -9,7 +9,7 @@ edition = "2018"  [dependencies]  anyhow = "1"  futures = "0.3.13" -hyper = { version = "0.14.5", features = ["client", "http1", "runtime", "stream"] } +hyper = { version = "0.14.5", features = ["client", "http1", "http2", "runtime", "stream"] }  hyper-rustls = "0.22.1"  mime2ext = "0.1.2"  tokio = { version = "1", features = ["full"] }  |