25 lines
249 B
Markdown
25 lines
249 B
Markdown
# Rust
|
|
|
|
#### install
|
|
|
|
```bash
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
rustup update
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## expand
|
|
|
|
```bash
|
|
# just for mac
|
|
rustup toolchain install nightly-x86_64-apple-darwin
|
|
|
|
cargo +nightly install cargo-expand
|
|
|
|
|
|
```
|
|
|