Repository: nix-rust/nix (language: rust)

Issue:
`epoll` can't be used without `poll` feature
`Epoll::wait` requires `T: Into<EpollTimeout>` (which is actually `PollTimeout`, documentation is a bit confusing on that). `PollTimeout` is blocked behind `poll` feature.


Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index 93ce205d31..c6690d46ef 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -41,7 +41,7 @@ acct = []
 aio = ["pin-utils"]
 dir = ["fs"]
 env = []
-event = []
+event = ["poll"]
 fanotify = []
 feature = []
 fs = []


Test patch: