//
Search across all documentation pages
unsafe. Require design review + Miri plan.unsafe in repo quarterly.bytes, zerocopy) before custom unsafe. Battle-tested.unsafe fn and block. # Safety section.cargo miri test on nightly for unsafe changes. CI scheduled job.MaybeUninit). No assume_init early.repr(C) only with documented layout for FFI. cbindgen/bindgen.catch_unwind). No unwind into C.unsafe in application code if policy allows - crate boundary only.static mut - use OnceLock, atomics, mutex. Rust 2024 guidance.transmute, from_raw_parts, unchecked usage. High risk APIs.Stack versions: This page was written for Rust 1.97.0 (edition 2024), Tokio 1.x, Axum 0.8, serde 1.0, sqlx 0.8, clap 4, and Polars 0.46+.
Reviewed by Chris St. John·Last updated Jul 16, 2026