Mitgliederladen/backend
2023-08-12 23:22:40 +02:00
..
src test instance to connect to db 2023-08-12 23:22:40 +02:00
.gitignore unify backend folder from server/src to backend 2023-07-16 19:40:23 +02:00
Cargo.toml test instance to connect to db 2023-08-12 23:22:40 +02:00
openapi.json use dummy json file. not working 2023-07-19 11:02:28 +02:00
readme.md add cargo doc 2023-07-21 10:30:16 +02:00

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

cargo build # gets dependencies from Cargo.toml
cargo run   #  re-runs on (some?) changes