EVERYTHING XIAOMI
Get listed
Side by side

rustfmt vs Uncrustify

rustfmt

6.7#2 in code formattersFree plan
Free planLinuxmacOSWindows
Visit

Uncrustify

6.4#5 in code formattersFree plan
Free planLinuxmacOSSelf-hostedWindows
Visit

What both publish

FactrustfmtUncrustify
ConfigurationConfiguration 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 integrationsThe 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.
Licenserustfmt is distributed under both the MIT License and Apache License 2.0.The repository identifies its license as GPL-2.0.
Purposerustfmt formats Rust code according to style guidelines.Uncrustify is a source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn and Vala.
SupportThe 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 plans

  • rustfmtFree

Uncrustify plans

  • UncrustifyFree

Pick rustfmt if…

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.

Pick Uncrustify if…

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.

Charts they share