toml-sorted

Crates.iotoml-sorted
lib.rstoml-sorted
version0.1.0
sourcesrc
created_at2019-06-01 22:53:30.901343
updated_at2019-06-01 22:53:30.901343
descriptionA cargo sub-command to check if various parts of the manifest are sorted
homepage
repositoryhttps://github.com/gsquire/toml-sorted
max_upload_size
id138395
size5,367
Garrett Squire (gsquire)

documentation

README

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

Commit count: 14

cargo fmt