diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-29 16:47:32 -0400 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-29 16:47:32 -0400 |
commit | d3fedefe129bd991c9cc75ae715b1b195d9bfe69 (patch) | |
tree | bdc4d450b0cf978c429b121e432e769f8ea1b4e8 | |
parent | 67ab36df8342965266c49864738ee7d49c43df57 (diff) | |
download | fatcat-d3fedefe129bd991c9cc75ae715b1b195d9bfe69.tar.gz fatcat-d3fedefe129bd991c9cc75ae715b1b195d9bfe69.zip |
remove 'client' and hyper-openssl options from fatcat-openapi rust crate
-rw-r--r-- | rust/fatcat-openapi/Cargo.toml | 9 |
1 files changed, 6 insertions, 3 deletions
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" |