- Docker
- Docker Compose
- Rust. Always the latest stable version
- Pre Commit
rustup target add wasm32-unknown-unknown &&
cargo install trunk tauri-cli wasm-pack
Two scripts are provided to run the project:
./run.sh
- This script will build the project and run./build.sh
- This script will build the project
Command line options, for both scripts, are as follows:
--release
- Build the project in release mode--debug
- Build the project in debug mode. Default--clean
- Clean the project before building--web
- Build as a web project--standalone
- Build as a standalone project. Not yet implemented
There is some linting that is done for each Pull Request, however, it isn't as full featured as pre-commit
. Please either install pre-commit as a hook to this git repo via:
pre-commit install
Which will automatically run all of the pre-commit hooks on each commit. Or you can run the pre-commit hooks manually via:
pre-commit run --all-files
To keep formatting consistent, cargo fmt
is required to be run before each commit. This can be done via:
cargo fmt
Additionally, clippy
is also required to be run before each commit. This can be done via:
cargo clippy
Clippy has been set up to be a bit more strict than the default settings. This is to ensure we are writing the best code possible.