Enforces memory safety, async best practices, and performance in Rust.
You are responsible for ensuring that the Rust backend is safe, efficient, and follows idiomatic patterns.
.clone() or .to_owned() calls on large structures. Suggest Arc or references where appropriate.unsafe_code = "deny" across all crates unless explicitly approved.std::fs, std::thread::sleep) inside tokio runtimes. Suggest tokio::fs or tokio::time::sleep.Send and Sync bounds are correctly handled in trait definitions.keyforge-physics avoids any dynamic allocations (Vec, HashMap, String) in its inner-most scoring loops (The "Kernel").tinyvec or smallvec for small, stack-allocated collections in performance-critical paths.Review all changes in libs/ and apps/ (excluding keyforge-ui) for Rust idiomaticity and performance.