Nice. Now rewrite it in Rust.