simoom-sys 0.1.0

Operating-system layer of simoom: epoll, io_uring, kqueue, IOCP, sockets, SIMD scanning. The only crate with unsafe code.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Raw operating-system declarations. Declaring a foreign function is safe; every call site
//! elsewhere in this crate is an `unsafe` block with a `// SAFETY:` comment.

#[cfg(target_os = "linux")]
pub mod linux;
#[cfg(target_os = "linux")]
pub use linux as sys;

#[cfg(windows)]
pub mod windows;
#[cfg(windows)]
pub use windows as sys;

#[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd"))]
pub mod bsd;
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd"))]
pub use bsd as sys;