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
63
64
# dci-tool task runner.
#
# Install just: https://github.com/casey/just
# brew install just
#
# Run `just` with no args to see the recipe list.
# Show all recipes.
default:
@just --list
# --- Standard recipes ---------------------------------------------------------
# Build all targets with default features.
build:
cargo build --all-targets
# Format check + clippy + tests + msrv + doc + publish.
check: fmt clippy test msrv doc publish-dry-run
# Verify code is formatted (does not mutate).
fmt:
cargo fmt --all -- --check
# Clippy across CI feature combos.
clippy:
cargo clippy --all-targets -- -D warnings
cargo clippy --all-features --all-targets -- -D warnings
cargo clippy --no-default-features --features "cli" --all-targets -- -D warnings
cargo clippy --no-default-features --features "mcp" --all-targets -- -D warnings
cargo clippy --no-default-features --features "eval" --all-targets -- -D warnings
cargo clippy --no-default-features --features "telemetry" --all-targets -- -D warnings
# Tests across CI feature combos.
test:
cargo test --all-targets
cargo test --all-features --all-targets
cargo test --no-default-features --features "cli" --all-targets
cargo test --no-default-features --features "mcp" --all-targets
cargo test --no-default-features --features "eval" --all-targets
# MSRV gate (Rust 1.85).
msrv:
cargo +1.85 build --all-targets
# Rustdoc with strict warnings.
doc:
RUSTDOCFLAGS="-D warnings -D rustdoc::broken_intra_doc_links" cargo doc --all-features --no-deps
# Validate the package as it would be uploaded to crates.io.
publish-dry-run:
cargo publish --dry-run
# Publish to crates.io. Requires `cargo login` or CARGO_REGISTRY_TOKEN.
publish:
cargo publish
# Preview what release-plz would bump/changelog without changing anything.
release-preview:
release-plz update --dry-run
# Run all checks needed for a PR / commit to main locally.
pr-ready: check