| Crates.io | whitaker-installer |
| lib.rs | whitaker-installer |
| version | 0.1.0 |
| created_at | 2026-01-11 18:49:46.614417+00 |
| updated_at | 2026-01-11 18:49:46.614417+00 |
| description | Installer CLI for Whitaker Dylint lint libraries |
| homepage | https://df12.studio/docs.html |
| repository | https://github.com/leynos/whitaker |
| max_upload_size | |
| id | 2036214 |
| size | 274,607 |
Installer CLI for Whitaker Dylint lint libraries.
Whitaker is a collection of opinionated Dylint lints for Rust. This installer
builds, links, and stages the lint libraries for local use, avoiding the need
to rebuild from source on each cargo dylint invocation.
cargo install whitaker-installer
whitaker-installer
This builds and stages the aggregated suite containing all standard lints.
whitaker-installer --experimental
whitaker-installer -l module_max_lines -l no_expect_outside_tests
whitaker-installer --individual-lints
whitaker-installer list
Output as JSON for scripting:
whitaker-installer list --json
whitaker-installer --dry-run
Whitaker lints are divided into two categories:
--experimental flag to install.These lints are included when running whitaker-installer without flags:
| Lint | Description |
|---|---|
conditional_max_n_branches |
Limit boolean branches in conditionals |
function_attrs_follow_docs |
Doc comments must precede other attributes |
module_max_lines |
Warn when modules exceed line threshold |
module_must_have_inner_docs |
Require inner doc comments on modules |
no_expect_outside_tests |
Forbid .expect() outside test contexts |
no_std_fs_operations |
Enforce capability-based filesystem access |
no_unwrap_or_else_panic |
Deny panicking unwrap_or_else fallbacks |
These lints require whitaker-installer --experimental to install:
| Lint | Description |
|---|---|
bumpy_road_function |
Detect high nesting depth in functions |
Experimental lints may be promoted to standard in future releases once they have been sufficiently tested in real-world codebases.
After installation, set DYLINT_LIBRARY_PATH to the staged directory and run
cargo dylint:
cargo dylint --all
The installer generates wrapper scripts and provides shell configuration snippets to simplify this setup.
The wrappers are:
whitaker — runs cargo dylint with the staged library path.whitaker-ls — lists installed Whitaker suite libraries for the staged
path.ISC