Skip to content

Commit 9481ec8

Browse files
committed
upgrade to libuv v1.46.0
1 parent 6a3bb7c commit 9481ec8

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libuv"
3-
version = "2.6.0"
3+
version = "2.7.0"
44
description = "A safe rust wrapper for libuv"
55
homepage = "https://github.com/bmatcuk/libuv-rs"
66
repository = "https://github.com/bmatcuk/libuv-rs"
@@ -20,7 +20,7 @@ maintenance = { status = "actively-developed" }
2020

2121
[dependencies]
2222
bitflags = "~1.2.1"
23-
libuv-sys2 = "~1.45.0"
23+
libuv-sys2 = "~1.46.0"
2424

2525
[dev-dependencies]
2626
rand = "~0.7.3"

src/error.inc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ pub enum Error {
8383
ESRCH,
8484
ETIMEDOUT,
8585
ETXTBSY,
86+
EUNATCH,
8687
EXDEV,
8788
UNKNOWN,
8889
}
@@ -172,6 +173,7 @@ impl crate::FromInner<uv::uv_errno_t> for Error {
172173
uv::uv_errno_t_UV_ESRCH => Error::ESRCH,
173174
uv::uv_errno_t_UV_ETIMEDOUT => Error::ETIMEDOUT,
174175
uv::uv_errno_t_UV_ETXTBSY => Error::ETXTBSY,
176+
uv::uv_errno_t_UV_EUNATCH => Error::EUNATCH,
175177
uv::uv_errno_t_UV_EXDEV => Error::EXDEV,
176178
uv::uv_errno_t_UV_UNKNOWN => Error::UNKNOWN,
177179
_ => Error::UNKNOWN,
@@ -264,6 +266,7 @@ impl Error {
264266
Error::ESRCH => uv::uv_errno_t_UV_ESRCH,
265267
Error::ETIMEDOUT => uv::uv_errno_t_UV_ETIMEDOUT,
266268
Error::ETXTBSY => uv::uv_errno_t_UV_ETXTBSY,
269+
Error::EUNATCH => uv::uv_errno_t_UV_EUNATCH,
267270
Error::EXDEV => uv::uv_errno_t_UV_EXDEV,
268271
Error::UNKNOWN => uv::uv_errno_t_UV_UNKNOWN,
269272
}

src/handles/streams/pipe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ impl PipeHandle {
9696
.map_err(|e| Box::new(e) as _)
9797
}
9898

99-
/// Connect to the Unix domain socket or the named pipe.
99+
/// Connect to the Unix domain socket or the Windows named pipe.
100100
///
101101
/// Note: Paths on Unix get truncated to sizeof(sockaddr_un.sun_path) bytes, typically between
102102
/// 92 and 108 bytes.

0 commit comments

Comments
 (0)