#formatter #easy #command-line #rust

app rusty-formatter

This is the offical Rusty: Rust Formatter, Cargo Package

5 releases

new 0.1.7 Jan 14, 2025
0.1.6 Jan 14, 2025
0.1.5 Jan 14, 2025
0.1.4 Jan 14, 2025
0.1.3 Jan 14, 2025

#578 in Command line utilities

Download history 217/week @ 2025-01-10

217 downloads per month

MIT license

5KB
58 lines

Rusty

Rusty Code Formatter is a tool that formats your Rust code using rustfmt. Enhance your Rust development workflow with easy formatting commands and customizable settings.

Features

  • Format Rust Files: Automatically format your Rust code to adhere to standard styling.
  • Command Line Access: Trigger formatting via simple commands or using customizable scripts.
  • Customizable Settings: Configure the path to rustfmt and pass additional arguments as needed.

Installation

From Cargo

  1. Ensure you have Rust and Cargo installed. If not, install them via rustup.

  2. Open your terminal.

  3. Run the following command to install Rusty Code Formatter:

    cargo install rusty-formatter
    
  4. Once installed, you can use rusty to format your Rust files directly from the command line.

Dependencies

~0.1–6.5MB
~34K SLoC