-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
justfile
48 lines (32 loc) · 845 Bytes
/
justfile
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
38
39
40
41
42
43
44
45
46
47
48
fmt:
cargo fmt --all
sort:
cargo sort --workspace --grouped
lint: fmt sort
check:
cargo check --all --all-targets --all-features
clippy:
cargo clippy --all --all-targets --all-features
clippy-fix:
cargo clippy --fix
typos:
typos -w
doc:
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links" cargo doc --all-features --no-deps
doc-open:
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links" cargo doc --all-features --no-deps --open
hack:
cargo hack check --each-feature --no-dev-deps --workspace
test:
cargo test --all-features --workspace
qa: lint check clippy doc hack test
watch-docs:
cargo watch -x doc
watch-check:
cargo watch -x check -x test
fuzz:
cargo +nightly fuzz run fuzz_employee_db -- -max_len=131072
fuzz-30s:
cargo +nightly fuzz run fuzz_employee_db -- -max_len=131072 -max_total_time=60
bench:
cargo bench