Skip to content

Commit a205575

Browse files
author
Hui Zhu
authored
Merge pull request #211 from Tim-Zhang/fix-docs
[master] Fix docs and deps
2 parents f669c05 + 6520f9e commit a205575

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tokio = { version = "1", features = ["rt", "sync", "io-util", "macros", "time"],
2222
futures = { version = "0.3", optional = true }
2323
crossbeam = "0.8.0"
2424

25-
[target.'cfg(windows)'.dependencies]
25+
[target.'cfg(windows)'.dependencies]
2626
windows-sys = {version = "0.48", features = [ "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Pipes", "Win32_Security", "Win32_System_Threading"]}
2727

2828
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
@@ -31,9 +31,6 @@ tokio-vsock = { version = "0.4.0", optional = true }
3131
[build-dependencies]
3232
protobuf-codegen = "3.1.0"
3333

34-
[dev-dependencies]
35-
assert_cmd = "2.0.7"
36-
3734
[features]
3835
default = ["sync"]
3936
async = ["async-trait", "tokio", "futures", "tokio-vsock"]

src/asynchronous/shutdown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub struct Waiter {
3232

3333
/// Used to Notify all [`Waiter`s](Waiter) shutdown.
3434
///
35-
/// No `Clone` is provided. If you want multiple instances, you can use Arc<Notifier>.
35+
/// No `Clone` is provided. If you want multiple instances, you can use `Arc<Notifier>`.
3636
/// Notifier will automatically call shutdown when dropping.
3737
#[derive(Debug)]
3838
pub struct Notifier {

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
//!
2525
//! - `async`: Enables async server and client.
2626
//! - `sync`: Enables traditional sync server and client (default enabled).
27-
//! - `protobuf-codec`: Includes rust-protobuf (default enabled).
2827
//!
2928
//! # Socket address
3029
//!

0 commit comments

Comments
 (0)