Skip to content

Commit 07e7b67

Browse files
committed
Stash
Signed-off-by: keithmattix <[email protected]>
1 parent 62479f7 commit 07e7b67

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ features = ["all"]
5454
libc = "0.2.150"
5555

5656
[target.'cfg(windows)'.dependencies.windows-sys]
57-
version = "0.52"
57+
version = "0.62"
5858
features = [
5959
"Win32_Foundation",
6060
"Win32_Networking_WinSock",

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ pub struct TcpKeepalive {
436436
target_os = "openbsd",
437437
target_os = "redox",
438438
target_os = "solaris",
439-
target_os = "windows",
440439
target_os = "nto",
441440
target_os = "espidf",
442441
target_os = "vita",
@@ -465,7 +464,6 @@ impl TcpKeepalive {
465464
target_os = "openbsd",
466465
target_os = "redox",
467466
target_os = "solaris",
468-
target_os = "windows",
469467
target_os = "nto",
470468
target_os = "espidf",
471469
target_os = "vita",
@@ -541,6 +539,7 @@ impl TcpKeepalive {
541539
target_os = "netbsd",
542540
target_os = "tvos",
543541
target_os = "watchos",
542+
target_os = "windows",
544543
)
545544
))]
546545
pub const fn with_retries(self, retries: u32) -> Self {

src/socket.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,6 +2089,7 @@ impl Socket {
20892089
target_os = "netbsd",
20902090
target_os = "tvos",
20912091
target_os = "watchos",
2092+
target_os = "windows",
20922093
)
20932094
))]
20942095
pub fn keepalive_retries(&self) -> io::Result<u32> {

0 commit comments

Comments
 (0)