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"] 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 { 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 //!