1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
set windows-shell := ["powershell"]
set shell := ["bash", "-cu"]
_default:
just --list -u
setup:
@rusty-hook init
@echo "Setup complete ✅"
precommit:
cargo check
just check-typos
just fmt
just test
just lint
check-typos:
typos .
fmt:
cargo fmt --all -- --emit=files
taplo fmt
cargo shear --fix
taplo format
test:
cargo nextest run
lint:
cargo fmt --all -- --check
cargo clippy -- --deny warnings
cargo shear
taplo format --check
play:
cd playground && cargo run