1 unstable release
0.1.0 | Jun 1, 2019 |
---|
#730 in Cargo plugins
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:
- [dependencies]
- [dev-dependencies]
- [build-dependencies]
- workspace.members
- workspace.exclude
License
MIT
Dependencies
~230–470KB
~10K SLoC