From c546e2ef6c69bb1c6a86093f3cc7b2dab20d6ac4 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Sat, 25 Apr 2020 19:35:29 +0200 Subject: finish parsing of primitive types --- Cargo.toml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 1cdf0c1..af7ed2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,22 +11,31 @@ autobins = true log = "0.4" byteorder = "1.3.2" failure = "0.1" +either = "1.5" -bytes = { version = "0.5", optional = true } +bytes = { version = "0.5" } 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 } -tokio-test = { version = "0.2", optional = true } +tokio-tls = { version = "0.3", optional = true } +native-tls = { version = "0.2", optional = true } futures-util = { version = "0.3", features = ["std"], optional = true } futures = { version = "0.3", optional = true } +pretty_env_logger = { version = "0.4", optional = true } [features] -framing = ["tokio", "tokio-util", "flate2", "bytes"] -client = ["tokio", "tokio-util", "futures", "futures-util", "framing"] -test = ["tokio-test", "futures"] +framing = ["tokio", "tokio-util", "flate2"] +client = ["tokio", "tokio-util", "tokio-tls", "native-tls", "futures", "futures-util", "framing", "pretty_env_logger"] default = [] +[dev-dependencies] +futures = { version = "0.3" } +flate2 = { version = "1.0", features = ["tokio"] } +tokio = { version = "0.2", features = ["full"] } +tokio-util = { version = "0.2", features = ["codec"] } +tokio-test = { version = "0.2" } + [[bin]] name = "quassel-client" required-features = ["client"] -- cgit v1.2.3