From 20da110e38ea2390bc0f44136998464fef98aefd Mon Sep 17 00:00:00 2001 From: Max Audron Date: Wed, 22 Jan 2020 16:11:38 +0100 Subject: update --- Cargo.toml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') 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 = [] -- cgit v1.2.3