a11872a556962a86624bad00e6e66dae46469bee
Knowledge Group Advanced Software: Rust macros
This repo contains the examples and short workshop (and possible solution) from the talk.
Notes:
Example 05 requires that you are running a postgres database, this can be started by running docker compose up in the example directory.
It also requires that the DATABASE_URL environment variable is set, this can be achieved by sourcing the .env file.
To setup the schema and data in the database you can use sqlx-cli (install: cargo install sqlx-cli), to apply to migrations run:
sqlx migrate run
For the workshop in 06 several hints are giving on things that might cause trouble.
To help debug the macro you can install cargo expand: cargo install cargo-expand.
Description
Languages
Rust
100%