forked from mgl_crew/Mitgliederladen
25 lines
No EOL
728 B
Markdown
25 lines
No EOL
728 B
Markdown
# installation
|
|
|
|
Rustup gets you the ability to install rust in any version, from stable to cutting edge.
|
|
|
|
## Linux, macos (step 1)
|
|
|
|
use apt, pacman, curl, brew or whatever, to install _rustup_.
|
|
|
|
## windows (alternate step 1)
|
|
|
|
choco install -y rustup
|
|
|
|
## Always (steps 2 and so on)
|
|
|
|
- `rustup-init.sh` (Windows: rustup-init.ex, e.g. %AppData%\Local\Temp\chocolatey\rustup.install\1.25.1\rustup-init.exe)
|
|
- select a good match in the dialog of this CLI installer,
|
|
- i.e. stable and default amount of features should be fine
|
|
- rust comes with `cargo` as a ``crate'' manager for package installation
|
|
|
|
## Get dependencies and run
|
|
|
|
```shell
|
|
cargo build # gets dependencies from Cargo.toml
|
|
cargo run # re-runs on (some?) changes
|
|
``` |