aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-01-02 19:57:45 +0100
committerMax Audron <audron@cocaine.farm>2021-01-02 19:57:45 +0100
commit873310475d60676891a41aaa480d15422d002ad9 (patch)
treee5bd54c8febcb740c472557433f6293d2cd77095 /Cargo.toml
parentrework handshakemessage parsing (diff)
update dependencies
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml27
1 files changed, 16 insertions, 11 deletions
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" }