| What it is | A tool for formatting Rust code according to style guidelines | An opinionated code formatter that reprints your code in one consistent style | A formatter for Haskell source code |
| Kind | Open source | Open source | Open source |
| Trust | 0.72 | 0.76 | 0.55 |
| Stars | 7044 | 52415 | 1075 |
| Last commit | 2026-11-23 | 2026-11-14 | 2026-11-24 |
| Licence | MIT OR Apache-2.0 | MIT | BSD-3-Clause |
| Pricing | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes |
| Self-hostable | Yes | Yes | Yes |
| Ways to run it | — | — | — |
| SOC 2 | — | — | — |
| HIPAA | — | — | — |
| SSO | — | — | — |
| API | — | No | — |
| Plugins | — | Yes | — |
| MCP server | — | No | — |
| Company | The Rust Project | — | Tweag |
| Features | - formats Rust code to the style guidelines
- cargo fmt for whole projects and workspaces
- --check mode for CI
- rustfmt.toml or .rustfmt.toml configuration
- stable and nightly toolchain components
- editor integrations for Vim, Emacs, VS Code and others
| - opinionated formatting with few options
- many languages
- editor integrations
- --check for CI
- plugins for more languages
| - uses GHC's own parser
- one style with no configuration
- input layout chooses single-line or multi-line output
- minimal diffs and idempotent output
- magic comments and regions to leave code unformatted
- binaries for Linux, macOS and Windows
- built into haskell-language-server
- Emacs, VS Code and Vim integrations
- All 11 features
|
| Limitations | - Code that doesn't parse, macro declarations and uses, and comments are formatted only partly or not at all
| | - CPP support is experimental: Ormolu leaves CPP sections unchanged, which works only when conditionals surround top-level declarations
|