1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Operating-system layer of simoom: epoll, io_uring, kqueue, IOCP, sockets, SIMD scanning and
//! hardware crypto intrinsics. This is the only simoom crate that contains `unsafe` code; every
//! `unsafe` block carries a `// SAFETY:` comment.
//!
//! - [`net`]: owned non-blocking TCP and UDP sockets ([`net::Socket`]).
//! - [`udp`]: batched datagram I/O with GRO/GSO, ECN and packet info.
//! - [`driver`]: the completion-style I/O driver over epoll, io_uring, IOCP and kqueue, with a
//! cross-thread [`driver::Waker`].
//! - [`time`]: cheap monotonic clocks. [`cpu`]: CPU count and thread affinity.
//! - [`alloc`]: a counting global allocator for memory measurements.
/// SIMD byte scanning for the HTTP parsers (owned by the simoom-http1 work).
/// Hardware crypto intrinsics behind safe wrappers: AES-NI, PCLMULQDQ, SHA-NI, ARMv8 AES/PMULL
/// (owned by the simoom-tls work).
/// Codec kernels with CPU features picked at run time: BMI2 (owned by the simoom-compress work).
/// Codec inner loops as unchecked pointer code (owned by the simoom-compress work).
/// The OS store of trusted root certificates (Windows), for TLS clients.
/// Per-thread CPU time (owned by the facade work, for the stall watchdog).
/// SanitizerCoverage callbacks for the coverage-guided fuzzer (test-only, feature `sancov`).