rustfmt
6.7#2 in code formattersFree planFree planLinuxmacOSWindows
Visit| Fact | rustfmt | stylish-haskell |
|---|---|---|
| CI | The README describes using `cargo fmt --all -- --check` to fail a CI build when code is not formatted. | The README describes downloading the latest binary and running stylish-haskell in continuous integration. |
| Configuration | Configuration can be set in `rustfmt.toml` or `.rustfmt.toml`, and the default style conforms to the Rust style guide. | Formatting is customizable through YAML configuration files, with settings available at directory, project, user, or default level. |
| Editor integrations | The README lists integrations or usage instructions for Vim, Emacs, Sublime Text 3, Atom, Visual Studio Code, and IntelliJ or CLion. | The README documents integration with Haskell Language Server, Vim, Emacs, Atom, and Visual Studio Code. |
| Install | The README installs rustfmt as a component through rustup. | The project documents installation with Stack, Cabal, Debian or Ubuntu packages, and Arch Linux packages. |
| License | rustfmt is distributed under both the MIT License and Apache License 2.0. | Hackage lists the package under the BSD-3-Clause license. |
| Purpose | rustfmt formats Rust code according to style guidelines. | stylish-haskell is a Haskell code prettifier designed to help with formatting tasks such as cleaning up import statements. |
| Support | The README points users to `rustfmt --help` and `cargo fmt --help` for command usage and arguments. | The project welcomes feature requests through its GitHub issue tracker. |
No prices published.
rustfmt suits Rust developers who want consistent formatting through Cargo, an editor, or CI. It is also relevant to developers who need configurable formatting behavior.
You want what its maker publishes above — check its page for the details.