dots/setup/rust
2023-02-21 19:18:22 -03:00

7 lines
200 B
Bash

#!/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