#sorting #cargo-subcommand #manifest #check #toml #workspace #parts

app toml-sorted

A cargo sub-command to check if various parts of the manifest are sorted

1 unstable release

0.1.0 Jun 1, 2019

#730 in Cargo plugins

MIT license

5KB
87 lines

toml-sorted

This is a cargo sub-command that takes a manifest as a single argument and checks if various fields are sorted. It returns 0 if all fields are sorted and 1 otherwise.

Install

cargo install toml-sorted

Usage

cargo toml-sorted /path/to/Cargo.toml

Implementation

It currently checks the following fields in a manifest:

License

MIT

Dependencies

~230–470KB
~10K SLoC