Skip to content

Commit

Permalink
upgrade to libuv v1.46.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatcuk committed Oct 9, 2023
1 parent 6a3bb7c commit 9481ec8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libuv"
version = "2.6.0"
version = "2.7.0"
description = "A safe rust wrapper for libuv"
homepage = "https://github.com/bmatcuk/libuv-rs"
repository = "https://github.com/bmatcuk/libuv-rs"
Expand All @@ -20,7 +20,7 @@ maintenance = { status = "actively-developed" }

[dependencies]
bitflags = "~1.2.1"
libuv-sys2 = "~1.45.0"
libuv-sys2 = "~1.46.0"

[dev-dependencies]
rand = "~0.7.3"
Expand Down
3 changes: 3 additions & 0 deletions src/error.inc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ pub enum Error {
ESRCH,
ETIMEDOUT,
ETXTBSY,
EUNATCH,
EXDEV,
UNKNOWN,
}
Expand Down Expand Up @@ -172,6 +173,7 @@ impl crate::FromInner<uv::uv_errno_t> for Error {
uv::uv_errno_t_UV_ESRCH => Error::ESRCH,
uv::uv_errno_t_UV_ETIMEDOUT => Error::ETIMEDOUT,
uv::uv_errno_t_UV_ETXTBSY => Error::ETXTBSY,
uv::uv_errno_t_UV_EUNATCH => Error::EUNATCH,
uv::uv_errno_t_UV_EXDEV => Error::EXDEV,
uv::uv_errno_t_UV_UNKNOWN => Error::UNKNOWN,
_ => Error::UNKNOWN,
Expand Down Expand Up @@ -264,6 +266,7 @@ impl Error {
Error::ESRCH => uv::uv_errno_t_UV_ESRCH,
Error::ETIMEDOUT => uv::uv_errno_t_UV_ETIMEDOUT,
Error::ETXTBSY => uv::uv_errno_t_UV_ETXTBSY,
Error::EUNATCH => uv::uv_errno_t_UV_EUNATCH,
Error::EXDEV => uv::uv_errno_t_UV_EXDEV,
Error::UNKNOWN => uv::uv_errno_t_UV_UNKNOWN,
}
Expand Down
2 changes: 1 addition & 1 deletion src/handles/streams/pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl PipeHandle {
.map_err(|e| Box::new(e) as _)
}

/// Connect to the Unix domain socket or the named pipe.
/// Connect to the Unix domain socket or the Windows named pipe.
///
/// Note: Paths on Unix get truncated to sizeof(sockaddr_un.sun_path) bytes, typically between
/// 92 and 108 bytes.
Expand Down

0 comments on commit 9481ec8

Please sign in to comment.