Skip to content

Commit a30f846

Browse files
committed
Bump dependencies
- Bump rustix to v1 - Bump nix to v0.30 Signed-off-by: John Nunley <dev@notgull.net>
1 parent 1fc4e45 commit a30f846

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ bitflags = "2.4"
2424
futures-io = { version = "0.3.5", optional = true }
2525
pin-utils = { version = "0.1.0", optional = true }
2626
polling = "3.0.0"
27-
rustix = { version = "0.38", default-features = false, features = ["event", "fs", "pipe", "std"] }
27+
rustix = { version = "1.0.0", default-features = false, features = ["event", "fs", "pipe", "std"] }
2828
slab = "0.4.8"
2929
tracing = { version = "0.1.40", default-features = false, features = ["log"] }
3030

3131
[target.'cfg(unix)'.dependencies]
32-
nix = { version = "0.29", default-features = false, features = ["signal"], optional = true }
32+
nix = { version = "0.30", default-features = false, features = ["signal"], optional = true }
3333

3434
[dev-dependencies]
3535
futures = "0.3.5"
36-
rustix = { version = "0.38", default-features = false, features = ["net"] }
36+
rustix = { version = "1.0.0", default-features = false, features = ["net"] }
3737
criterion = { version = "0.4" }
3838

3939
[features]

src/loop_logic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ mod tests {
14421442
let mut buf = [0u8; 32];
14431443
loop {
14441444
match recv(&*fd, &mut buf, RecvFlags::DONTWAIT) {
1445-
Ok(0) => break, // closed pipe, we are now inert
1445+
Ok((0, _)) => break, // closed pipe, we are now inert
14461446
Ok(_) => {}
14471447
Err(e) => {
14481448
let e: std::io::Error = e.into();

0 commit comments

Comments
 (0)