Add optimization to the Rust compilation thanks to Clark Gaebel