OpenAI Codex Rust Best Practices Distilled from — a 119-crate, 2,008-file Rust workspace that ships the Codex CLI coding agent. Contains 63 rules across 11 categories, each citing the exact file in codex-rs where the pattern lives, so you can write Rust the way its top contributors (Michael Bolin, jif-oai, Ahmed Ibrahim, Eric Traut, Pavel Krymets) actually ship it. Citations were refreshed against at commit (2026-05-25). When to Apply Reference these guidelines when: - Writing or reviewing async Rust code that spawns tokio tasks, owns cancellation tokens, or manages long-lived background work…