git404hub

what is rustfmt fr?

thedodd/rustfmt — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2020-04-16

Audience · developerComplexity · 1/5DormantSetup · easy

tl;dr

A tool that automatically reformats Rust code to a consistent style, similar to Prettier for JavaScript or Black for Python, removing style debates from code review.

vibe map

mindmap
  root((rustfmt))
    What it does
      Reformats Rust code
      Follows official style guide
      Check mode for CI
    Tech stack
      Rust
      CLI
    Use cases
      Format on save in editor
      Enforce style in CI
      Keep teams consistent
    Audience
      Rust developers
      Open-source maintainers
    Limitations
      Macros not reliable
      Comments not formatted
      No code fragments

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Automatically reformat Rust source files to a consistent style

VIBE 2

Add a rustfmt --check step to CI so unformatted pull requests fail

VIBE 3

Format Rust code on save inside an editor or IDE

VIBE 4

Customize formatting rules for a project with a configuration file

what's the stack?

Rust

how it stacks up fr

thedodd/rustfmt0verflowme/alarm-clock0verflowme/seclists
LanguageCSS
Last pushed2020-04-162022-10-032020-05-03
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity1/52/51/5
Audiencedevelopervibe coderops devops

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Doesn't reliably handle macros or comments, and won't format incomplete code fragments.

prompts (copy fr)

prompt 1
Show me how to install rustfmt and run it on my Rust project's source files.
prompt 2
Help me set up a rustfmt --check step in my CI pipeline so unformatted PRs fail.
prompt 3
Explain how to configure a rustfmt.toml file to customize formatting rules.
prompt 4
Why doesn't rustfmt format my macro definitions, and how do I work around that?

Frequently asked questions

what is rustfmt fr?

A tool that automatically reformats Rust code to a consistent style, similar to Prettier for JavaScript or Black for Python, removing style debates from code review.

Is rustfmt actively maintained?

Dormant — no commits in 2+ years (last push 2020-04-16).

How hard is rustfmt to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is rustfmt for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.