cargo-tomlfmt icon indicating copy to clipboard operation
cargo-tomlfmt copied to clipboard

Formatting Cargo.toml

cargo-tomlfmt

Formatting Cargo.toml.

Build Status Build status

Installation

cargo install cargo-tomlfmt

Usage

cargo tomlfmt

Options

> cargo tomlfmt

FLAGS:
-c, --create     Create a formatted manifest as Cargo.toml.new when dryrun.
-d, --dryrun     Do NOT overwrite the file.
-h, --help       Prints help information
-k, --keep       Keep the original manifest as Cargo.toml.bak.
-p, --path       Path of the manifest. (default is Cargo.toml)
-V, --version    Prints version information