Skip to main content

Crate tec

Crate tec 

Source
Expand description

Run workspace lint suite concurrently (check or fix modes).

ยงErrors

  • Workspace root discovery or lint execution fails.

Structsยง

LintFnResult ๐Ÿ”’
Newtype wrapper around Result<LintFnSuccess, LintFnError>.

Enumsยง

LintFnError ๐Ÿ”’
Error type for Lint function execution failures.
LintFnSuccess ๐Ÿ”’
Success result from Lint function execution.

Constantsยง

LINTS_CHECK ๐Ÿ”’
Workspace lint check set.
LINTS_FIX ๐Ÿ”’
Workspace lint fix set.
LINT_NO_OP ๐Ÿ”’
No-operation lint that reports โ€œskippedโ€ status.
RUST_EXTENSIONS ๐Ÿ”’
File suffixes considered Rust-related for conditional lint gating.

Functionsยง

build_conditional_lint ๐Ÿ”’
Conditionally returns the supplied lint or LINT_NO_OP based on file changes.
format_timing ๐Ÿ”’
Format lint duration into time=<duration> snippet.
main ๐Ÿ”’
Run workspace lint suite concurrently (check or fix modes).
report ๐Ÿ”’
Format and print the result of a completed lint execution.
run_and_report ๐Ÿ”’
Run a single lint, measure its duration, and report immediately.

Type Aliasesยง

Lint ๐Ÿ”’
Function pointer type for a single lint invocation.
LintBuilder ๐Ÿ”’
Function pointer type for building lints based on file changes.