From a6016c7eeb11fc8aeaa1a3b160b970b15362695d Mon Sep 17 00:00:00 2001 From: hozan23 Date: Sun, 19 May 2024 22:20:03 +0200 Subject: add tokio examples to p2p, jsonrpc, and net crates --- net/examples/tcp_codec_tokio/Cargo.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net/examples/tcp_codec_tokio/Cargo.toml (limited to 'net/examples/tcp_codec_tokio/Cargo.toml') diff --git a/net/examples/tcp_codec_tokio/Cargo.toml b/net/examples/tcp_codec_tokio/Cargo.toml new file mode 100644 index 0000000..e21b2b7 --- /dev/null +++ b/net/examples/tcp_codec_tokio/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "tcp_codec_tokio" +version = "0.1.0" +edition = "2021" + +[workspace] + +[dependencies] +karyon_net = { path = "../../", default-features = false, features = ["tokio"] } +karyon_core = { path = "../../../core", default-features = false, features = ["tokio"] } +tokio = { version = "1.37.0", features = ["full"] } + -- cgit v1.2.3