about summary refs log tree commit diff
path: root/web/converse/Cargo.toml
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-04-05T18·27+0200
committertazjin <mail@tazj.in>2021-04-05T19·19+0000
commit3b0b21f8d155075e81043316434ac37a0cadd7fc (patch)
tree8e89327cc3f4bd5ecf296c07463b9a2858d9de13 /web/converse/Cargo.toml
parent8fc4e083c9c5f1dce759461dc4c45e26151a3ad1 (diff)
refactor(web/converse): Use crimp instead of reqwest r/2445
This simpler, curl-based HTTP client (which I wrote years ago) is a
first step towards cleaning up the dependency mess of converse.

Dependency stats: +4, -28

Change-Id: I4f5f3c9307895d261bfb0a6bcf2337b747f9a4c0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2859
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'web/converse/Cargo.toml')
-rw-r--r--web/converse/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/converse/Cargo.toml b/web/converse/Cargo.toml
index 5ace4dabe1c2..c49f1c4c6a4d 100644
--- a/web/converse/Cargo.toml
+++ b/web/converse/Cargo.toml
@@ -10,6 +10,7 @@ actix-web = "0.7"
 askama = "0.6"
 chrono = { version = "0.4", features = ["serde"] }
 comrak = "0.2"
+crimp = "0.2"
 diesel = { version = "1.2", features = ["postgres", "chrono", "r2d2"]}
 env_logger = "0.5"
 failure = "0.1"
@@ -21,7 +22,6 @@ mime_guess = "2.0.0-alpha"
 pq-sys = "=0.4.4"
 r2d2 = "0.8"
 rand = "0.4"
-reqwest = "0.9"
 serde = "1.0"
 serde_derive = "1.0"
 serde_json = "1.0"
@@ -29,6 +29,7 @@ tokio = "0.1"
 tokio-timer = "0.2"
 url = "1.7"
 url_serde = "0.2"
+curl = "*" # bounded by crimp
 
 [build-dependencies]
 pulldown-cmark = "0.1"