pal_uring/lib.rs
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4#![cfg_attr(not(target_os = "linux"), expect(missing_docs))]
5#![cfg(target_os = "linux")]
6
7//! [`pal_async`] support for the Linux kernel's io_uring.
8//!
9//! Historically, this crate included a per-CPU thread pool implementation. Some
10//! vestigates remain in naming and elsewhere. TODO: clean this up.
11
12// UNSAFETY: This module uses unsafe code to interact with the io_uring kernel
13// interface.
14#![expect(unsafe_code)]
15
16mod ioring;
17mod threadpool;
18mod uring;
19
20pub use threadpool::*;
21pub use uring::*;