This package provides the following services:
linter-rust-cargo
Rust Cargo linter that's fast.
Lints your Rust files in Atom, using linter
and cargo
.
Install
apm install linter-rust-cargo
Or, go to Settings > Install > Search and type linter-rust-cargo
.
Purpose
What makes linter-rust-cargo
different from linter-rust
? Both
work with cargo
and have similar functionality and configurability.
linter-rust-cargo
differentiates itself because:
-
It only works with
cargo
. Focusing only oncargo
keeps the code slim and concise. -
It is very configurable. It is possible to pass any arguments to the
cargo
command, the execution timeout is changeable,cargo
manifest searching is configurable via a glob, and more settings. -
It is pretty fast.
linter-rust-cargo
does not try to be backwards compatible, only works withcargo
, and is completely asynchronous. -
It displays helpful messages. Using
linter
v2, the errors, warnings, and notes fromcargo
as well asclippy
are utilized to their fullest potential. Each message will populate with a title using the code and reason for error, a description that includes any notes or suggestions, a link to the error index page, and populates any possible solutions (usingintentions
orlinter-ui-default
'sLinter Ui Default: Apply All Solutions
palette command).