From 873310475d60676891a41aaa480d15422d002ad9 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Sat, 2 Jan 2021 19:57:45 +0100 Subject: update dependencies --- Cargo.toml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 2b6ccaf..4d35ab4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,24 +18,29 @@ failure = "0.1" either = "1.5" time = "0.2" -bytes = { version = "0.5" } +default-macro = { path = "../default-macro" } + +bytes = { version = "1.0" } 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-tls = { version = "0.3", optional = true } -native-tls = { version = "0.2", optional = true } +tokio = { version = "1.0", features = [], optional = true } +tokio-util = { version = "0.6", features = ["codec"], optional = true } futures-util = { version = "0.3", features = ["std"], optional = true } futures = { version = "0.3", optional = true } [features] framing = ["tokio", "tokio-util", "flate2"] -client = ["tokio", "tokio-util", "tokio-tls", "native-tls", "futures", "futures-util", "framing"] default = [] +[package.metadata.docs.rs] +# document all features +all-features = true +# defines the configuration attribute `docsrs` +rustdoc-args = ["--cfg", "docsrs"] + [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" } +# futures = { version = "0.3" } +# flate2 = { version = "1.0", features = ["tokio"] } +# tokio = { version = "0.3", features = ["full"] } +# tokio-util = { version = "0.5", features = ["codec"] } +# tokio-test = { version = "0.3" } -- cgit v1.2.3