From 1a3ef2d77ab54bfe286f7400ac0cee2e25ea14e3 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Mon, 24 Jun 2024 20:26:03 +0200 Subject: update dependencies --- net/Cargo.toml | 29 +++++++++++++---------------- net/async_rustls/Cargo.toml | 2 +- net/examples/tcp_codec_tokio/Cargo.toml | 2 +- 3 files changed, 15 insertions(+), 18 deletions(-) (limited to 'net') diff --git a/net/Cargo.toml b/net/Cargo.toml index 26edfa0..8fd387f 100644 --- a/net/Cargo.toml +++ b/net/Cargo.toml @@ -36,31 +36,28 @@ serde = ["dep:serde"] karyon_core = { version = "0.1.4", path = "../core", default-features = false } karyon_async_rustls = { version = "0.1.4", path = "./async_rustls", default-features = false, optional = true } -# utils log = "0.4.21" +thiserror = "1.0.61" +url = "2.5.2" + +# encode/decode +serde = { version = "1.0.203", features = ["derive"], optional = true } bincode = { version = "2.0.0-rc.3", features = ["derive"] } -thiserror = "1.0.58" -url = "2.5.0" -# async utils -async-trait = "0.1.77" -async-channel = "2.3.0" +# async +async-trait = "0.1.80" +async-channel = "2.3.1" futures-util = { version = "0.3.30", default-features = false, features = [ "sink", ], optional = true } -pin-project-lite = { version = "0.2.13", optional = true } +pin-project-lite = { version = "0.2.14", optional = true } +tokio = { version = "1.38.0", features = ["io-util"], optional = true } -# websocket deps -async-tungstenite = { version = "0.25.0", default-features = false, optional = true } +# websocket +async-tungstenite = { version = "0.26.2", default-features = false, optional = true } -# tls deps +# tls rustls-pki-types = { version = "1.7.0", optional = true } -# tokio util -tokio = { version = "1.37.0", features = ["io-util"], optional = true } - -# serde -serde = { version = "1.0.197", features = ["derive"], optional = true } - [dev-dependencies] smol = "2.0.0" diff --git a/net/async_rustls/Cargo.toml b/net/async_rustls/Cargo.toml index 0d40e8a..66ac2cc 100644 --- a/net/async_rustls/Cargo.toml +++ b/net/async_rustls/Cargo.toml @@ -14,6 +14,6 @@ smol = ["futures-rustls"] tokio = ["tokio-rustls"] [dependencies] -futures-rustls = { version = "0.25.1", optional = true } +futures-rustls = { version = "0.26.0", optional = true } tokio-rustls = { version = "0.26.0", optional = true } diff --git a/net/examples/tcp_codec_tokio/Cargo.toml b/net/examples/tcp_codec_tokio/Cargo.toml index c72be64..96f200d 100644 --- a/net/examples/tcp_codec_tokio/Cargo.toml +++ b/net/examples/tcp_codec_tokio/Cargo.toml @@ -8,5 +8,5 @@ edition = "2021" [dependencies] karyon_net = { path = "../../", default-features = false, features = ["tokio", "tcp"] } karyon_core = { path = "../../../core", default-features = false, features = ["tokio"] } -tokio = { version = "1.37.0", features = ["full"] } +tokio = { version = "1.38.0", features = ["full"] } -- cgit v1.2.3