diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2021-12-06 15:22:42 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2021-12-06 15:22:42 +0100 |
commit | 37f0d4e70c4dabd6026fb881afa7c0ddfdcda944 (patch) | |
tree | f7e32e5314c50d355dfbdd263b331fd1ef0bae84 /net | |
parent | 34bf61a959efff8b1876c24bc5e7f058ec45fefe (diff) |
net: Only enable hyper's server feature for tests.
Diffstat (limited to 'net')
-rw-r--r-- | net/Cargo.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/Cargo.toml b/net/Cargo.toml index eb394f08..688d2560 100644 --- a/net/Cargo.toml +++ b/net/Cargo.toml @@ -26,7 +26,7 @@ sequoia-openpgp = { path = "../openpgp", version = "1", default-features = false anyhow = "1.0.18" futures-util = "0.3.5" http = "0.2" -hyper = { version = "0.14.10", features = [ "http1", "http2", "server" ] } +hyper = { version = "0.14.10", features = [ "http1", "http2" ] } hyper-tls = "0.5" libc = "0.2.66" native-tls = "0.2.0" @@ -40,6 +40,7 @@ base64 = ">=0.12" [dev-dependencies] rand = { version = "0.7", default-features = false, features = [ "getrandom" ] } +hyper = { features = [ "server" ] } [lib] bench = false |