From 9723efb33b62deebdcba80d4434f623474cbd2af Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Thu, 14 Sep 2023 11:32:23 +0800 Subject: [PATCH 1/3] docs: remove feature protobuf-codec Which does not exist anymore. Signed-off-by: Tim Zhang --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cd4872a3..9742b7a0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,6 @@ //! //! - `async`: Enables async server and client. //! - `sync`: Enables traditional sync server and client (default enabled). -//! - `protobuf-codec`: Includes rust-protobuf (default enabled). //! //! # Socket address //! From 7d6d7d4fedb54f0c7f72eb3b38e827688d8c2031 Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Thu, 14 Sep 2023 11:35:17 +0800 Subject: [PATCH 2/3] docs: Fix the warning "unclosed HTML tag `Notifier`" Fix "unclosed HTML tag `Notifier`" warning Signed-off-by: Tim Zhang --- src/asynchronous/shutdown.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asynchronous/shutdown.rs b/src/asynchronous/shutdown.rs index 9d1bb136..0bcf85c7 100644 --- a/src/asynchronous/shutdown.rs +++ b/src/asynchronous/shutdown.rs @@ -32,7 +32,7 @@ pub struct Waiter { /// Used to Notify all [`Waiter`s](Waiter) shutdown. /// -/// No `Clone` is provided. If you want multiple instances, you can use Arc. +/// No `Clone` is provided. If you want multiple instances, you can use `Arc`. /// Notifier will automatically call shutdown when dropping. #[derive(Debug)] pub struct Notifier { From 6520f9e4ace5928709e33ee53c7c31ea7119cdb2 Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Thu, 14 Sep 2023 15:05:36 +0800 Subject: [PATCH 3/3] remove the unused dependency remove assert_cmd. Signed-off-by: Tim Zhang --- Cargo.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d72d81e7..e4fcb0e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ tokio = { version = "1", features = ["rt", "sync", "io-util", "macros", "time"], futures = { version = "0.3", optional = true } crossbeam = "0.8.0" -[target.'cfg(windows)'.dependencies] +[target.'cfg(windows)'.dependencies] windows-sys = {version = "0.48", features = [ "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Pipes", "Win32_Security", "Win32_System_Threading"]} [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] @@ -31,9 +31,6 @@ tokio-vsock = { version = "0.4.0", optional = true } [build-dependencies] protobuf-codegen = "3.1.0" -[dev-dependencies] -assert_cmd = "2.0.7" - [features] default = ["sync"] async = ["async-trait", "tokio", "futures", "tokio-vsock"]