aboutsummaryrefslogtreecommitdiff
path: root/net/examples
diff options
context:
space:
mode:
Diffstat (limited to 'net/examples')
-rw-r--r--net/examples/tcp_codec_tokio/Cargo.lock17
-rw-r--r--net/examples/tcp_codec_tokio/Cargo.toml2
2 files changed, 1 insertions, 18 deletions
diff --git a/net/examples/tcp_codec_tokio/Cargo.lock b/net/examples/tcp_codec_tokio/Cargo.lock
index b9665ab..a9f015b 100644
--- a/net/examples/tcp_codec_tokio/Cargo.lock
+++ b/net/examples/tcp_codec_tokio/Cargo.lock
@@ -79,19 +79,6 @@ dependencies = [
]
[[package]]
-name = "asynchronous-codec"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a860072022177f903e59730004fb5dc13db9275b79bb2aef7ba8ce831956c233"
-dependencies = [
- "bytes",
- "futures-sink",
- "futures-util",
- "memchr",
- "pin-project-lite",
-]
-
-[[package]]
name = "autocfg"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -457,11 +444,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
dependencies = [
"futures-core",
- "futures-io",
"futures-macro",
"futures-sink",
"futures-task",
- "memchr",
"pin-project-lite",
"pin-utils",
"slab",
@@ -621,13 +606,11 @@ dependencies = [
"async-channel",
"async-trait",
"async-tungstenite",
- "asynchronous-codec",
"bincode",
"futures-util",
"karyon_core",
"log",
"pin-project-lite",
- "rustls-pki-types",
"thiserror",
"tokio",
"tokio-rustls",
diff --git a/net/examples/tcp_codec_tokio/Cargo.toml b/net/examples/tcp_codec_tokio/Cargo.toml
index e21b2b7..c72be64 100644
--- a/net/examples/tcp_codec_tokio/Cargo.toml
+++ b/net/examples/tcp_codec_tokio/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2021"
[workspace]
[dependencies]
-karyon_net = { path = "../../", default-features = false, features = ["tokio"] }
+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"] }