EVERYTHING XIAOMI
Get listed
Side by side

rustfmt vs stylish-haskell

rustfmt

6.7#2 in code formattersFree plan
Free planLinuxmacOSWindows
Visit

What both publish

Factrustfmtstylish-haskell
CIThe 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.
ConfigurationConfiguration 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 integrationsThe 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.
InstallThe README installs rustfmt as a component through rustup.The project documents installation with Stack, Cabal, Debian or Ubuntu packages, and Arch Linux packages.
Licenserustfmt is distributed under both the MIT License and Apache License 2.0.Hackage lists the package under the BSD-3-Clause license.
Purposerustfmt 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.
SupportThe 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.

rustfmt plans

  • rustfmtFree

stylish-haskell plans

No prices published.

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 stylish-haskell if…

You want what its maker publishes above — check its page for the details.

Charts they share