aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2020-01-22 16:11:38 +0100
committerMax Audron <audron@cocaine.farm>2020-01-22 16:11:38 +0100
commit20da110e38ea2390bc0f44136998464fef98aefd (patch)
tree0ddfabf9aa862f398c9c4aebfad93bab4fe1a77e /Cargo.toml
parentupdate (diff)
update
Diffstat (limited to '')
-rw-r--r--Cargo.toml14
1 files changed, 12 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e853be2..82d22d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,7 +8,17 @@ edition = "2018"
[dependencies]
log = "0.4"
+bytes = "0.5"
byteorder = "1.3.2"
-flate2 = "1.0"
-tokio = { version = "0.2", features = ["full"] }
+flate2 = { version = "1.0", features = ["tokio"], optional = true }
+tokio = { version = "0.2", features = ["full"], optional = true }
+tokio-util = { version = "0.2", features = ["codec"], optional = true }
failure = "0.1"
+futures-util = { version = "0.3", features = ["std"] }
+futures = "0.3"
+
+[features]
+framing = ["tokio", "tokio-util", "flate2"]
+client = ["tokio", "tokio-util", "framing", "futures-util"]
+
+default = []