cargo-fmt

Run rustfmt on all source files in a Rust project. More information: <https://github.com/rust-lang/rustfmt>.

Arch Arch Linux
RUN pacman -S --noconfirm rustup
Fedora
RUN dnf install -y rustfmt-preview
click the source code to copy install cargo-fmt on any operating system with command-not-found.com