Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsquire/toml-sorted
A simple tool to check if a manifest is sorted
https://github.com/gsquire/toml-sorted
cargo rust
Last synced: 30 days ago
JSON representation
A simple tool to check if a manifest is sorted
- Host: GitHub
- URL: https://github.com/gsquire/toml-sorted
- Owner: gsquire
- License: mit
- Created: 2019-06-01T22:50:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-15T19:49:02.000Z (over 5 years ago)
- Last Synced: 2024-10-12T23:43:26.636Z (about 1 month ago)
- Topics: cargo, rust
- Language: Rust
- Homepage: https://crates.io/crates/toml-sorted
- Size: 16.6 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/dtolnay/request-for-implementation/issues/29).[![Build Status](https://travis-ci.org/gsquire/toml-sorted.svg?branch=master)](https://travis-ci.org/gsquire/toml-sorted)
## Install
```sh
cargo install toml-sorted
```## Usage
```sh
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