From 43302a0912f1fb6897d7847afbae7510265060e3 Mon Sep 17 00:00:00 2001 From: Kotauskas Date: Wed, 12 Jun 2024 13:25:48 +0300 Subject: [PATCH] Huh --- Cargo.toml | 6 ++++++ examples/unnamed_pipe/sync/main.rs | 6 ++++++ examples/unnamed_pipe/sync/side_a.rs | 0 examples/unnamed_pipe/sync/side_b.rs | 0 4 files changed, 12 insertions(+) create mode 100644 examples/unnamed_pipe/sync/main.rs create mode 100644 examples/unnamed_pipe/sync/side_a.rs create mode 100644 examples/unnamed_pipe/sync/side_b.rs diff --git a/Cargo.toml b/Cargo.toml index a56320e..e6ec141 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,10 @@ exclude = [ "/Cargo.lock", ] +[[example]] +name = "unnamed_pipe_sync" +path = "examples/unnamed_pipe/sync/main.rs" + [[example]] name = "local_socket_sync_server" path = "examples/local_socket/sync/listener.rs" @@ -73,6 +77,7 @@ doc_cfg = [] doctest-file = "1.0.0" tokio = { version = "1.36.0", features = [ "sync", + "rt", "net", "time", "io-util", @@ -94,6 +99,7 @@ windows-sys = { version = "0.52.0", features = [ ] } tokio = { version = "1.36.0", features = [ "sync", + "rt", "fs", "net", "time", diff --git a/examples/unnamed_pipe/sync/main.rs b/examples/unnamed_pipe/sync/main.rs new file mode 100644 index 0000000..881353c --- /dev/null +++ b/examples/unnamed_pipe/sync/main.rs @@ -0,0 +1,6 @@ +mod side_a; +mod side_b; + +fn main() { + todo!() +} diff --git a/examples/unnamed_pipe/sync/side_a.rs b/examples/unnamed_pipe/sync/side_a.rs new file mode 100644 index 0000000..e69de29 diff --git a/examples/unnamed_pipe/sync/side_b.rs b/examples/unnamed_pipe/sync/side_b.rs new file mode 100644 index 0000000..e69de29