rust-api-fxs
This repository contains the sample code for Rainer Stropek's talk at Eurorust 2022.
File Explorer
Download Latest Version (.zip)- launch.json
- settings.json
- 20221108190627_create_heroes_table.down.sql
- 20221108190627_create_heroes_table.up.sql
- 20221108190628_add_heroes_check_constraints.down.sql
- 20221108190628_add_heroes_check_constraints.up.sql
- 20221109142615_add_unique_name.down.sql
- 20221109142615_add_unique_name.up.sql
- data.rs
- error.rs
- healthcheck.rs
- heroes.rs
- main.rs
- model.rs
- .env
- Cargo.toml
- justfile
- readme.md
- requests.http
- main.rs
- Cargo.toml
- main.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- main.rs
- Cargo.toml
- extractors.rs
- lib.rs
- responders.rs
- Cargo.toml
- main.rs
- Cargo.toml
- .editorconfig
- .gitignore
- Cargo.toml
- justfile
- README.md
- requests.http
- Rocket.toml
- rustfmt.toml
- spin.toml
# Installation Guide
1. Get the code
git clone https://github.com/rstropek/rust-api-fxs
Downloads the entire project code from GitHub to your computer.
cd rust-api-fxs
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
