Skip to content

Commit

Permalink
Merge pull request #213 from Tim-Zhang/fix-docs-0.7.0
Browse files Browse the repository at this point in the history
[0.7.0] Fix docs and deps
  • Loading branch information
teawater authored Sep 15, 2023
2 parents edc11a7 + 4778e5e commit b6e643f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async-trait = { version = "0.1.31", optional = true }
tokio = { version = "1", features = ["rt", "sync", "io-util", "macros", "time"], optional = true }
futures = { version = "0.3", optional = true }

[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]
Expand All @@ -30,9 +30,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"]
Expand Down
2 changes: 1 addition & 1 deletion src/asynchronous/shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Notifier>.
/// No `Clone` is provided. If you want multiple instances, you can use `Arc<Notifier>`.
/// Notifier will automatically call shutdown when dropping.
#[derive(Debug)]
pub struct Notifier {
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down

0 comments on commit b6e643f

Please sign in to comment.