Skip to content
[env]
RESET_DB = "true"
PORT = "9080"
CACHE_CONTROL = "no-cache"
INVITE_SECRET = "pear"

[tools]
rust = { version = "1.97" }
"cargo-binstall" = "latest"
"cargo:cargo-nextest" = "latest"
"cargo:cargo-watch" = "latest"
watchexec = "2.7.0"

[tasks.run]
run = 'cargo run'

[tasks.verify]
run = ['cargo fmt --check', 'cargo clippy --all-targets', 'cargo nextest run']

[tasks.test]
run = 'cargo nextest run'

[tasks.fmt]
run = ['cargo fmt', 'cargo clippy --fix --all-targets --allow-dirty']

[tasks.watch]
run = 'watchexec --exts rs,css,js -r cargo run'