From 204cc3144a1b8a9709286fd663a1cfbd52268304 Mon Sep 17 00:00:00 2001 From: Anton Ageev Date: Tue, 22 Jun 2021 08:53:17 +0300 Subject: [PATCH] Add HTTP/2 support for hyper. --- lib/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index eef84bb9ef..caeab3e696 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -28,7 +28,7 @@ multipart = { version = "0.17", default-features = false, features = ["client"] telegram-bot-raw = { version = "0.9.0", path = "../raw" } -hyper = { version = "0.14", features = ["client", "http1"] } +hyper = { version = "0.14", features = ["client", "http1", "http2"] } hyper-tls = { version = "0.5", optional = true } futures = "0.3" hyper-rustls = { version = "0.22", optional = true }