clang-format vs rustfmt

clang-format

7.0 #9 in Code Formatting Tools

About clang-format

rustfmt

7.1 #8 in Code Formatting Tools

About rustfmt
clang-formatrustfmt
Free planNoYes
Free trialNoNo
Paid from—Free
Open sourceNoNo
Platformsextension, Linux, macOS, WindowsLinux, macOS, Windows
Free planYes—
Supported languagesC, C++, Java, JavaScript, JSON, Objective-C, Protocol Buffers, C#, TableGen, TextProto, VerilogRust
Supported platformsWindows, macOS, LinuxWindows, macOS, Linux, API
Editor integrationYesYes
Ignore filesYesYes
Changed-lines formattingYesNo
Library APIYesYes
License modelopen_sourcemixed

Both are listed in Best Code Formatting Tools. On The Geeks Club, rustfmt scores higher on our published basis.