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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# regit-daycount — Task runner
# Run `just` to see available recipes.
# Quality gate — run all checks
check: fmt-check lint test doc
@echo "All checks passed."
# Format check
fmt-check:
cargo fmt --all --check
# Format (fix)
fmt:
cargo fmt --all
# Lint — zero warnings, all targets, all features
lint:
cargo clippy --all-targets --all-features -- -D warnings
# Run all tests (default features)
test:
cargo test
# Run tests with no default features (calendar tables disabled)
test-min:
cargo test --no-default-features
# Build documentation
doc:
cargo doc --no-deps --all-features
# Run the library quickstart example
example:
cargo run --example quickstart
# Run benchmarks
bench:
cargo bench
# Dependency / licence audit (requires cargo-deny)
deny:
cargo deny check
# WASM build smoke test
wasm:
cargo build --target wasm32-unknown-unknown --release
# Genuine no_std build — a target with no `std` at all; proves the crate is no_std
nostd:
cargo build --target thumbv7em-none-eabi --no-default-features
cargo build --target thumbv7em-none-eabi
# Run property tests with extra cases
proptest:
PROPTEST_CASES=5000 cargo test prop_
# Full CI pipeline
ci: fmt-check lint test test-min doc deny wasm nostd
# Run Miri for undefined-behaviour checks
miri:
cargo +nightly miri test --lib