| Crates.io | cargo-fl |
| lib.rs | cargo-fl |
| version | 0.3.0 |
| created_at | 2025-08-06 01:40:28.397447+00 |
| updated_at | 2025-08-06 14:58:47.824972+00 |
| description | Lightning-fast Rust linter for pre-compilation checks |
| homepage | |
| repository | https://github.com/hastur-dev/cargo-fl |
| max_upload_size | |
| id | 1783300 |
| size | 379,132 |
Lightning-fast Rust linter that runs without compilation. Similar to ruff for Python, but for Rust.
fl= fast lint. Because developer time is precious.
synrayon.fl.tomlcargo install cargo-fl
# Lint current directory
cargo fl check
# Lint specific path
cargo fl check src/
# Auto-fix issues
cargo fl check --fix
# Different output formats
cargo fl check --format json
cargo fl check --format github # For CI
# Strict mode (exit 1 on issues)
cargo fl check --strict
Generate a default config:
cargo fl config --init
This creates .fl.toml:
[rules]
enable_all = true
disable = ["specific_rule"]
[severity]
unused_imports = "warning"
missing_docs = "info"
Use the LSP server directly:
cargo-fl-lsp
The LSP server supports:
.fl.toml.unwrap(), .unwrap_unchecked(), and .expect() callstodo!(), unimplemented!(), unreachable!(), and panic!() macros#[must_use] return typesTypical performance on a 100k line Rust codebase:
MIT OR Apache-2.0