Updating a large codebase to Rust 2024

Once Upon a Lazy Init

Let rand = main as usize (2022)

Rust: Does the published crate match the upstream source?