about summary refs log tree commit diff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-10-05T21·37+0200
committerVincent Ambo <github@tazj.in>2018-10-05T21·58+0200
commit86c25cc2264b67678b39046b74932e9237b03bf7 (patch)
tree64f6bba33a2de570a2b00e6ac8127267199c903a /Cargo.toml
parenta4084bf1e0ffc1f6f417974de8c6f93d461a5135 (diff)
refactor: Replace reqwest library with ureq
This replaces reqwest with the more simplistic ureq library for
performing required HTTP requests.

Reqwest comes with a lot of (tokio-based) machinery for
high-performance requesting that is a bit out of scope for
journaldriver's needs.

This clocks in at 62 (!) fewer dependencies after the change, with
equivalent functionality. Wew.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 1 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 18b77345f86d..654b82ce6ec2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,15 +8,14 @@ license = "GPL-3.0-or-later"
 chrono = { version = "0.4", features = [ "serde" ]}
 env_logger = "0.5"
 failure = "0.1"
-hyper = "0.11"
 lazy_static = "1.0"
 log = "0.4"
 medallion = "2.2"
-reqwest = "0.8"
 serde = "1.0"
 serde_derive = "1.0"
 serde_json = "1.0"
 systemd = "0.3"
+ureq = { version = "0.6.2", features = [ "json" ]}
 
 [build-dependencies]
 pkg-config = "0.3"