curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
At least it does not require sudo (unless that's buried in the script.)