Rust Formatter

Open-source Rust projects categorized as Formatter

Top 16 Rust Formatter Projects

  1. biome

    A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.

    Project mention: Should you stop using prettier? Maybe | dev.to | 2025-05-22

    biome is a replacement for both ESlint and prettier. It's a pretty cool project but I've already spent considerable time setting up my ESlint so this is not a realistic option.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. rustfmt

    Format Rust code

    Project mention: Rust 1.85.0 and Rust 2024 | news.ycombinator.com | 2025-02-21

    > I assumed those would be in,

    A new edition doesn't mean features are automatically stabilized.

    I agree with these two specifically, it would be great to have them in stable. They're not yet though: https://github.com/rust-lang/rustfmt/issues/5083

  4. dprint

    Pluggable and configurable code formatting platform written in Rust.

    Project mention: dprint: A pluggable and configurable code formatting platform written in Rust | news.ycombinator.com | 2025-05-07
  5. qlty

    💎 Code quality CLI for universal linting, auto-formatting, security scanning, and maintainability

    Project mention: Show HN: Free local security checks for AI coding in VSCode, Cursor and Windsurf | news.ycombinator.com | 2025-06-18

    @jaimefjorge — Congrats on the launch!

    How would you compare this to the Qlty CLI (https://github.com/qltysh/qlty)?

    Do you plan to support CLI-based workflows for tools like Claude Code and linting?

  6. StyLua

    A Lua code formatter

    Project mention: Polyglot: Lua (Part 0) | dev.to | 2025-01-12

    Lua supports most of this primarily through community packages. luarocks is the Lua package manager. Lua does not ship with a unit testing framework by default, but the community seems to have selected luaunit as the defacto testing library. LSP and linting support is provided through the lua-language-server and code formatting is handled through stylua. However, I can't find tooling similar to Python's bandit to perform security audits. I believe this to be an open area of Lua library development.

  7. taplo

    A TOML toolkit written in Rust

    Project mention: Nix-Powered Python Development | dev.to | 2025-05-07

    TOML files should be formatted using taplo.

  8. tinymist

    Tinymist [ˈtaɪni mɪst] is an integrated language service for Typst [taɪpst].

    Project mention: Exploring Typst, a new typesetting system similar to LaTeX | news.ycombinator.com | 2024-10-12

    Writing Typst in Emacs is pretty easy with this setup.

    https://codeberg.org/meow_king/typst-ts-mode/wiki/

    https://github.com/Myriad-Dreamin/tinymist/tree/main/editors...

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. tex-fmt

    An extremely fast LaTeX formatter written in Rust

    Project mention: tex-fmt: An extremely fast LaTeX formatter written in Rust | dev.to | 2024-08-29

    I am working on tex-fmt, a new and extremely fast LaTeX formatter written in Rust. It can be installed through Cargo. It offers a command line tool for formatting/pretty-printing LaTeX source code, and runs hundreds of times faster than existing tools.

  11. prettier-plugin-rust

    Prettier Rust is an opinionated code formatter that autocorrects bad syntax.

  12. cbfmt

    A tool to format codeblocks inside markdown and org documents.

  13. genemichaels

    Even formats macros

  14. mdsf

    Format markdown code blocks using your favorite tools

    Project mention: Show HN: Mdsf, a Codeblock Formatter for Markdown | news.ycombinator.com | 2024-11-08
  15. kdlfmt

    A formatter for kdl documents.

    Project mention: A formatter for your kdl files | news.ycombinator.com | 2025-05-08
  16. pretty_yaml

    Semi-tolerant and configurable YAML formatter with dprint integration.

    Project mention: Yet another configurable YAML formatter written in Rust | news.ycombinator.com | 2024-08-15
  17. display_tree

    Simple, automatic, and customizable tree pretty-printing in Rust.

  18. tyupy

    Get URL(s) title in any format 🐿️

  19. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Formatter discussion

Log in or Post with

Rust Formatter related posts

Index

What are some of the best open-source Formatter projects in Rust? This list will help you:

# Project Stars
1 biome 19,384
2 rustfmt 6,325
3 dprint 3,469
4 qlty 2,659
5 StyLua 1,856
6 taplo 1,823
7 tinymist 1,665
8 tex-fmt 555
9 prettier-plugin-rust 192
10 cbfmt 175
11 genemichaels 89
12 mdsf 55
13 kdlfmt 55
14 pretty_yaml 34
15 display_tree 30
16 tyupy 8

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?