rustfmt
6.7#2 in code formattersFree planFree planLinuxmacOSWindows
Visit| Fact | rustfmt | Uncrustify |
|---|---|---|
| Configuration | Configuration can be set in `rustfmt.toml` or `.rustfmt.toml`, and the default style conforms to the Rust style guide. | Version 0.83.0 has 901 configurable options. |
| 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 links usage guidance for Vim and an Uncrustify plugin for IntelliJ. |
| License | rustfmt is distributed under both the MIT License and Apache License 2.0. | The repository identifies its license as GPL-2.0. |
| Purpose | rustfmt formats Rust code according to style guidelines. | Uncrustify is a source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn and Vala. |
| Support | The README points users to `rustfmt --help` and `cargo fmt --help` for command usage and arguments. | The project directs bug reports to its GitHub issue tracker and welcomes patches through pull requests. |
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.
Uncrustify suits developers who want configurable command-line formatting across its listed languages and platforms. It may also fit users of Vim or IntelliJ who want to consult the project's editor resources.