https://github.com/tbrand/cargo-tomlfmt
Formatting Cargo.toml
https://github.com/tbrand/cargo-tomlfmt
cargo cargo-subcommand crate rust
Last synced: 7 months ago
JSON representation
Formatting Cargo.toml
- Host: GitHub
- URL: https://github.com/tbrand/cargo-tomlfmt
- Owner: tbrand
- License: mit
- Created: 2018-12-20T12:24:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T11:44:55.000Z (over 1 year ago)
- Last Synced: 2025-04-04T15:56:03.456Z (7 months ago)
- Topics: cargo, cargo-subcommand, crate, rust
- Language: Rust
- Homepage: https://crates.io/crates/cargo-tomlfmt
- Size: 59.6 KB
- Stars: 30
- Watchers: 3
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cargo-tomlfmt
Formatting Cargo.toml.
[](https://travis-ci.com/tbrand/cargo-tomlfmt)
[](https://ci.appveyor.com/project/tbrand/cargo-tomlfmt)
## Installation
```bash
cargo install cargo-tomlfmt
```
## Usage
```bash
cargo tomlfmt
```
## Options
```bash
> 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
```