Commit Graph

59 Commits

Author SHA1 Message Date
John Nunley 24900fb662
m(windows): Reimplement Wepoll in Rust (#88)
Reimplements the C-based wepoll backend in Rust, using some handwritten code. This PR also implements bindings to the I/O Completion Ports and \Device\Afd APIs. For more information on the latter, see my blog post on the subject: https://notgull.github.io/device-afd/

Note that the IOCP API is wrapped using a `Pin`-oriented "CompletionHandle" system that is relatively brittle. This should be replaced with a better model when one becomes available.
2023-03-05 16:25:25 -08:00
dependabot[bot] 914aa48d67 Update windows-sys requirement from 0.42 to 0.45
Updates the requirements on [windows-sys](https://github.com/microsoft/windows-rs) to permit the latest version.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/compare/0.42.0...0.45.0)

---
updated-dependencies:
- dependency-name: windows-sys
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 23:41:01 +09:00
Taiki Endo f0afd7788e
Release 2.5.2 (#58) 2022-12-13 12:26:59 +09:00
Taiki Endo 1d54c93f9d Release 2.5.1 2022-11-29 22:21:43 +09:00
Taiki Endo e5fe94732c Release 2.5.0 2022-11-27 16:22:51 +09:00
John Nunley 8982599ddf
Port to windows-sys (#47) 2022-11-26 20:50:12 -08:00
Taiki Endo ca52490c9d Release 2.4.0 2022-10-24 00:26:11 +09:00
Taiki Endo e0daa5b327 Bump MSRV to 1.47 2022-08-21 23:40:10 +09:00
Taiki Endo d32e79b5dd Release 2.3.0 2022-08-21 20:14:55 +09:00
Taiki Endo b9cce6645c Apply doc(cfg(...)) on platform-specific APIs 2022-08-21 19:47:00 +09:00
John Nunley 323473ec1a
Expose raw handles for the `Poller` (#39)
* expose raw handles

* add comment explaining no_*
2022-08-18 09:52:28 -07:00
Taiki Endo a12be08c97 Fix MSRV 2022-01-09 01:58:56 +09:00
Taiki Endo dec94cb423 Clean up CI config 2022-01-09 01:50:42 +09:00
Taiki Endo 89ce9bafaa Bump to v2.2.0 2021-11-10 19:31:42 +09:00
Taiki Endo 4ac15ff339
Merge pull request #26 from Kestrer/master
Support VxWorks, Fuchsia and other Unix systems by using poll
2021-09-11 18:09:28 +09:00
Kestrer ee13911717 Remove `extra_traits` libc feature 2021-09-04 17:58:56 +01:00
Zeeshan Ali 952fccb2f5 Release 2.1.0
Bumping minor (rather than micro) version as this is not a bugfix
release exactly but changes deps and license (indirectly).
2021-06-14 13:45:43 +02:00
Philip Degarmo 784f9c108c Bump wepoll-ffi to 0.1.2
This modifies the polling patch to include this diff: 48520c99d9
2021-05-26 21:24:11 -07:00
Kestrer 6d2ccc4210 Depend on libc on Fuchsia and VxWorks 2021-05-26 13:57:38 +01:00
Philip Degarmo 88cce716c9 Include patch to enable passing null lpOverlapped pointer to wake a thread 2021-05-26 01:44:53 -07:00
Philip Degarmo 2295ca07b8 Switch wepoll-sys to wepoll-ffi to reduce licenses used in dependency tree (discussed in #35) 2021-05-25 22:56:05 -07:00
Taiki Endo 38441655db Bump to v2.0.3 2021-03-20 19:04:14 +09:00
Taiki Endo 94adda1433 Remove readme field from Cargo.toml 2021-02-14 19:44:44 +09:00
Koxiaet a04a265f9b Merge branch 'master' 2021-01-03 10:19:51 +00:00
Taiki Endo 99d9e20ba0 Update URLs 2020-12-26 23:47:13 +09:00
Taiki Endo 84a3453537 Update cfg-if to 1 2020-12-25 18:30:50 +09:00
Koxiaet 2fc0831d40 Use poll on VxWorks, Fuchsia and other Unix systems 2020-12-17 18:56:48 +00:00
Stjepan Glavina 9c7e8061c5 Bump to v2.0.2 2020-10-19 00:25:40 +02:00
Stjepan Glavina f4ee76fb32 Bump to v2.0.1 2020-10-09 14:10:22 +02:00
Stjepan Glavina 112da8b4e5 Bump to v2.0.0 2020-10-03 16:35:24 +02:00
Stjepan Glavina e8023dcb58 Put back winapi 2020-10-02 19:25:43 +02:00
Stjepan Glavina 5bd5cd226c Update wepoll-sys to 3.0.0 2020-10-02 19:19:18 +02:00
Stjepan Glavina 0bc0553217 Switch to published wepoll-sys 2020-10-02 18:34:49 +02:00
Stjepan Glavina b25847f0ed Try fixing sigsegv 2020-10-02 18:24:37 +02:00
Stjepan Glavina 89ef82d11d Fix wepoll-sys version 2020-10-02 18:20:55 +02:00
Stjepan Glavina 8b656241d5 Use saturating_add to prevent overflow 2020-10-02 18:17:45 +02:00
Stjepan Glavina d4667889b4 Switch to wepoll-sys 2020-10-02 17:41:55 +02:00
Stjepan Glavina 272bb11eaf Add feature 2020-09-20 17:45:24 +02:00
Stjepan Glavina 8c7ce8fb5b Bump to v1.0.3 2020-09-16 11:46:25 +02:00
Jayce Fayne 2ecb5564e8 remove `libc` dependency on windows 2020-09-16 11:23:03 +02:00
Stjepan Glavina 8e35897e53 Bump to v1.0.2 2020-09-15 20:53:33 +02:00
Stjepan Glavina 7738ca0b25 Remove doc-comment because the readme then needs the ugly #-prefixed line 2020-09-07 19:53:31 +02:00
Stjepan Glavina 1992605564 Bump to v1.0.1 2020-09-07 19:41:24 +02:00
Stjepan Glavina b05877c3ec Bump to v1.0.0 2020-09-07 16:44:39 +02:00
Stjepan Glavina 8c2f5e4169 Bump to v0.1.9 2020-09-06 11:10:54 +02:00
Stjepan Glavina f03bb7acf0 Bump to v0.1.8 2020-09-03 12:56:12 +02:00
Stjepan Glavina 6e4bd15786 Bump to v0.1.7 2020-09-01 07:06:52 +02:00
Stjepan Glavina d106cef8c4 Bump to v0.1.6 2020-08-29 17:34:45 +02:00
Stjepan Glavina 654ddca8a6 Add logging 2020-08-29 16:07:51 +02:00
Stjepan Glavina 54ac671d8e Bump to v0.1.5 2020-08-15 09:15:49 +02:00