summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/fatcat-openapi/Cargo.toml9
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"