From 93b49dff9e82bcf8a3de838defbc37d2d1ae752e Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 28 Sep 2022 14:52:37 +0300 Subject: [PATCH] add deps: async-stream --- Cargo.lock | 22 ++++++++++++++++++++++ Cargo.toml | 1 + 2 files changed, 23 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 1ec1070..58bc906 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -26,6 +26,27 @@ version = "1.0.65" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98161a4e3e2184da77bb14f02184cdd111e83bbbcc9979dfee3c44b9a85f5602" +[[package]] +name = "async-stream" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dad5c83079eae9969be7fadefe640a1c566901f05ff91ab221de4b6f68d9507e" +dependencies = [ + "async-stream-impl", + "futures-core", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10f203db73a71dfa2fb6dd22763990fa26f3d2625a6da2da900d23b87d26be27" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "atty" version = "0.2.14" @@ -472,6 +493,7 @@ dependencies = [ name = "socks5ws" version = "0.1.0" dependencies = [ + "async-stream", "clap", "fast-socks5", "flexi_logger", diff --git a/Cargo.toml b/Cargo.toml index 719bea8..e2f9d78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +async-stream = "0.3.3" clap = { version = "3.2.22", features = ["derive"] } fast-socks5 = "0.8.1" flexi_logger = { version = "0.23.3", features = ["specfile_without_notification", "async"] }