Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 715 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 715 Bytes

toml-sorted

This is a small 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. This crate was created in response to an RFI here.

Build Status

Install

cargo install toml-sorted

Usage

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