AGENTS.md pins `cargo fmt --check` and `cargo clippy --all-targets` as clean, and 83d31cd is what happens when only memory enforces that: fmt drifted to about 160 places across every file with the tool installed and configured by default the whole time. The decision the ticket wanted, taken: mechanise it, as one command. Not CI, which a single-author tool with no pipeline anywhere does not want, and not a hook, which is a per-clone opt-in the way `blame.ignoreRevsFile` is and so cannot be relied on either. What was missing was never a mechanism, it was one name to type: "remember to run fmt, clippy and the tests" becomes `make check`. Cheapest first, so a formatting slip is reported in a second rather than after the suite. `-D warnings` is what turns clippy's opinion into an exit code, since a warning printed into a wall of cargo output is unread rather than clean. Verified each gate fails on its own: a misformatted function and a `&Vec<u8>` parameter each exit 2 before the tests run. Completions are inside `cargo test` rather than a target of their own. d93eca6 put the check that loads the generated script into a real fish there, so "check tests, check completions" is already one command, and a second target would be a second thing to remember, which is the problem this is solving. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
23 lines
641 B
TOML
23 lines
641 B
TOML
[package]
|
|
name = "worklane"
|
|
version = "0.32.20"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
anyhow = "1"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
libc = "0.2"
|
|
# unstable-rendered-line-info for Paragraph::line_count, which is how the detail view
|
|
# knows where its text ends. Counting the wrapping by hand would only agree with the
|
|
# widget until one of us changed.
|
|
ratatui = { version = "0.29", features = ["unstable-rendered-line-info"] }
|
|
crossterm = "0.28"
|
|
clap_complete = "4.6.9"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2"
|
|
assert_fs = "1"
|
|
tempfile = "3"
|