tbrand / cargo-tomlfmt

Formatting Cargo.toml
https://crates.io/crates/cargo-tomlfmt
MIT License
30 stars 2 forks source link
cargo cargo-subcommand crate rust

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