Skip to content

Commit

Permalink
Bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DoumanAsh committed Oct 11, 2023
1 parent c4673f7 commit fc05641
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tokio1 = ["tokio_1", "nix", "std"]
stream = ["futures-core"]

[dependencies]
error-code = "2.2"
error-code = "3"

[dependencies.futures-core]
version = "0.3"
Expand All @@ -40,6 +40,7 @@ libc = { version = "0.2.60", default-features = false }
tokio_1 = { package = "tokio", version = "1.15", default-features = false, optional = true, features = ["net"] }

#kqueue needs nix
#Avoid bumping nix for now because these idiots break perfectly usable API
[target.'cfg(any(target_os = "bitrig", target_os = "dragonfly", target_os = "freebsd", target_os = "ios", target_os = "macos", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
nix = { version = "0.26", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion src/timer/async_tokio1.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use tokio_1 as tokio;

use tokio::io::unix::AsyncFd;
use libc::{c_int};
use libc::c_int;

use core::{task, time};
use core::pin::Pin;
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ macro_rules! unreach {
macro_rules! os_assert {
($cond:expr) => ({
if !($cond) {
panic!("Assertion '{}' failed. {}", stringify!($cond), error_code::SystemError::last());
panic!("Assertion '{}' failed. {}", stringify!($cond), error_code::ErrorCode::last_system());
}
})
}
Expand Down

0 comments on commit fc05641

Please sign in to comment.