Skip to content

Releases: smol-rs/polling

v3.2.0

02 Oct 14:39
d9a65fd
Compare
Choose a tag to compare
  • 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

25 Sep 16:44
45ebe3b
Compare
Choose a tag to compare
  • Add an Event::new() constructor to simplify creating Events. (#149)

v3.0.0

05 Sep 01:42
2565423
Compare
Choose a tag to compare
  • 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)

v2.8.0

20 Apr 21:50
d3a171b
Compare
Choose a tag to compare
  • Add functionality for posting events to the IOCP. (#101)

v2.7.0

07 Apr 18:22
8f6d039
Compare
Choose a tag to compare
  • Add edge/oneshot combination mode. (#96)
  • Update windows-sys requirement from 0.45 to 0.48. (#103)

v2.6.0

08 Mar 18:45
e10c7e8
Compare
Choose a tag to compare
  • Add level and edge triggered modes to the poller (#59)
  • Support tvOS and watchOS (#60)
  • Prevent large timeouts from causing panics on certain backends (#71)
  • For certain BSDs, use EVFILT_USER to wake up the poller instead of a pipe (#73)
  • For Solaris/illumos, use port_send to wake up the poller instead of a pipe (#74)
  • Update windows_sys from 0.42 to 0.45 (#80)
  • Expose other kqueue filter types (#83)
  • Replace the Windows backend with a hand-written version, rather than bringing in a C dependency (#88)

v2.5.2

13 Dec 03:28
f0afd77
Compare
Choose a tag to compare
  • Update use of libc::timespec to prepare for future libc version (#55)
  • Update use of libc::kevent to prepare for future libc version (#56)
  • Add error message for Wepoll (#54)

v2.5.1

29 Nov 13:23
Compare
Choose a tag to compare
  • Fix the build error with MSRV on Windows

v2.5.0

27 Nov 07:25
Compare
Choose a tag to compare
  • Switch from winapi to windows-sys (#47)

v2.4.0

23 Oct 15:27
Compare
Choose a tag to compare
  • Fix the build error on illumos and Solaris (#43)
  • Bump MSRV to 1.47 (#40)
  • Optimize Poller internal representation (#40)