Use rust-installer for installation

This is just a refactoring to put Cargo and Rust on the same installer script.