diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-02 22:40:59 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-02 22:40:59 +0200 |
commit | 89e193c1ab8184f74b2b40f3822e544d5e0d5163 (patch) | |
tree | dae862e629bd499c3d7f344ebeab938781e913a6 /crates/driver | |
parent | 1e8875b6437f3b3a1505e25dde8e352d232b09fa (diff) | |
download | rebel-89e193c1ab8184f74b2b40f3822e544d5e0d5163.tar rebel-89e193c1ab8184f74b2b40f3822e544d5e0d5163.zip |
Update dependencies
Diffstat (limited to 'crates/driver')
-rw-r--r-- | crates/driver/Cargo.toml | 4 | ||||
-rw-r--r-- | crates/driver/src/driver.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crates/driver/Cargo.toml b/crates/driver/Cargo.toml index ecea8b8..683ebbe 100644 --- a/crates/driver/Cargo.toml +++ b/crates/driver/Cargo.toml @@ -14,10 +14,10 @@ runner = { path = "../runner", package = "rebel-runner" } clap = { version = "4.0.0", features = ["derive"] } deb-version = "0.1.1" enum-kinds = "0.5.1" -handlebars = "4.1.3" +handlebars = "5.1.2" indoc = "2.0.4" lazy_static = "1.4.0" -nix = { version = "0.27.1", features = ["poll"] } +nix = { version = "0.28.0", features = ["poll"] } nom = "7.1.0" scoped-tls-hkt = "0.1.2" serde = { version = "1", features = ["derive", "rc"] } diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs index d0abbcb..8acf50a 100644 --- a/crates/driver/src/driver.rs +++ b/crates/driver/src/driver.rs @@ -352,10 +352,10 @@ impl<'ctx> Driver<'ctx> { let mut pollfds: Vec<_> = self .tasks_running .values() - .map(|(socket, _)| poll::PollFd::new(socket, poll::PollFlags::POLLIN)) + .map(|(socket, _)| poll::PollFd::new(socket.as_fd(), poll::PollFlags::POLLIN)) .collect(); - while poll::poll(&mut pollfds, -1).context("poll()")? == 0 {} + while poll::poll(&mut pollfds, poll::PollTimeout::NONE).context("poll()")? == 0 {} let pollevents: Vec<_> = pollfds .into_iter() |