From 754892402c95cf317c06c8d73838384b36c27cc2 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Wed, 4 Aug 2021 20:25:47 +0300 Subject: [PATCH] Enable full feature set for hyper in zenith_utils Server functionality requires not only the "server" feature flag, but also either "http1" or "http2" (or both). To make things simpler (and prevent analogous problems), enable all features. --- zenith_utils/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zenith_utils/Cargo.toml b/zenith_utils/Cargo.toml index 4ec7fc4ac9..01b057f78d 100644 --- a/zenith_utils/Cargo.toml +++ b/zenith_utils/Cargo.toml @@ -9,7 +9,7 @@ anyhow = "1.0" bincode = "1.3" byteorder = "1.4.3" bytes = "1.0.1" -hyper = { version = "0.14.7", features = ["server"] } +hyper = { version = "0.14.7", features = ["full"] } lazy_static = "1.4.0" log = "0.4.14" postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="9eb0dbfbeb6a6c1b79099b9f7ae4a8c021877858" }