Polling Versions Save

Portable interface to epoll, kqueue, event ports, and wepoll

v3.7.0

3 days ago
  • Add support for the PS Vita as a platform. (#160)

v3.6.0

1 month ago
  • Add an is_err method to Event to tell when an error has occurred. (#189)
  • Deprecate the is_connect_failed function. (#189)
  • Add support for HermitOS to polling. (#194)

v3.5.0

2 months ago
  • Use the epoll backend when RedoxOS is enabled. (#190)

v3.4.0

2 months ago
  • Add the ability to identify whether socket connection has failed. (#185)
  • On BSD, add the ability to wait on a process by its PID. Previously, it was only possible to wait on a process by a Child object. (#180)
  • On ESP-IDF, annotate eventfd initialization failures with a message indicating the source of those failures. (#186)

v3.3.2

3 months ago
  • When AFD fails to initialize, the resulting error now references the underlying system error. (#174)

v3.3.1

5 months ago
  • Bump windows-sys to v0.52.0. (#169)

v3.3.0

5 months ago
  • Automatically restarts polling when ErrorKind::Interrupted is returned, rather than relying on the user to handle it. (#164)
  • Fix bad link in documentation for Poller::wait(). (#163)

v3.2.0

6 months ago
  • The kqueue backend previously allowed the following operations that other backends forbid. Now these operations result in an error: (#153)
    • Inserting a source that was already inserted.
    • Modifying/deleting a source that was not already inserted.
  • Add support for Haiku OS. (#154)

v3.1.0

7 months ago
  • Add an Event::new() constructor to simplify creating Events. (#149)

v3.0.0

7 months ago
  • Replace libc in all backends with the rustix crate (#108).
  • Use tracing instead of log for logging (#119).
  • Breaking: Rework the API to use I/O safety. Note that this makes several previously safe functions unsafe. (#123)
  • Add support for the ESP-IDF platform. (#128)
  • Breaking: Make Event partially opaque, and create a new Events struct for holding events. (#133)
  • Add support for running polling in Linux containers without eventfd available. (#134)
  • Specify the behavior when registered in multiple Pollers. (#136)
  • Breaking: Use c_int from the standard library in polling::os::kqueue instead of defining our own. (#143)
  • Breaking: Remove the useless std feature. (#147)