From d3fedefe129bd991c9cc75ae715b1b195d9bfe69 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 29 Sep 2019 16:47:32 -0400 Subject: remove 'client' and hyper-openssl options from fatcat-openapi rust crate --- rust/fatcat-openapi/Cargo.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'rust/fatcat-openapi') diff --git a/rust/fatcat-openapi/Cargo.toml b/rust/fatcat-openapi/Cargo.toml index 3f4066c3..3f25b4c3 100644 --- a/rust/fatcat-openapi/Cargo.toml +++ b/rust/fatcat-openapi/Cargo.toml @@ -9,8 +9,11 @@ repository = "https://github.com/internetarchive/fatcat" license = "CC0-1.0" [features] -default = ["client", "server"] -client = ["serde_json", "serde_ignored", "hyper", "hyper-openssl", "uuid"] +# Need to disable all openssl due to Xenial/Bionic dependency friction. Easiest +# way seems to be entirely disabling 'client' option, and removing +# 'hyper-openssl' below (which should be optional) +#client = ["serde_json", "serde_ignored", "hyper", "hyper-openssl", "uuid"] +default = ["server"] server = ["serde_json", "serde_ignored", "hyper", "iron", "router", "bodyparser", "urlencoded", "uuid"] [dependencies] @@ -19,7 +22,7 @@ server = ["serde_json", "serde_ignored", "hyper", "iron", "router", "bodyparser" chrono = { version = "0.4", features = ["serde"] } futures = "0.1" hyper = {version = "0.10", optional = true} -hyper-openssl = {version = "0.2", optional = true } +#hyper-openssl = {version = "0.2", optional = true } iron = {version = "0.6", optional = true} swagger = "0.7" -- cgit v1.2.3