add rust setup

This commit is contained in:
Alexander Navarro 2023-02-21 19:18:22 -03:00
parent 412d5a7f9a
commit 55bd2a808a

7
setup/rust Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
echo -e "\n${BLD}${SUL}${GRN}Setting up ${RED}Rust${GRN}...${RST}\n"
if ! command -v cargo >/dev/null; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
fi