Currently very much WIP. This (obviously) only work on linux, and currently rely on liburing to be installed. This also only supports reads.
At the time of this writing, there is 2 main API exposed:
- a low level API,
IORing
, to create anio_uring
ring, submit read through it, and check for completions. This is not thread-safe and require some care to be used. - a higher level API,
IOExecutor
, which starts 1 or more event loops that submit reads to their underlyingIORing
. This is thread safe and a bit more user-friendly.