Add a Cargo build for the Rust codes.