# Cargo Sort Check
[](https://travis-ci.com/DevinR528/cargo-sort-ck)
[](https://crates.io/crates/toml)
[](https://docs.rs/toml)
A tool to check that your Cargo.toml dependencies are sorted alphabetically. Project started as a cloned from [jpoles1](https://github.com/jpoles1) as a solution to @dtolnay's [request for implementation #29](https://github.com/dtolnay/request-for-implementation/issues/29). As of now windows line endings have not been accounted for, coming soon!
[toml]: https://github.com/toml-lang/toml
included in sort check is:
```toml
["dependencies"]
["dev-dependencies"]
["build-dependencies"]
["workspace.members"]
["workspace.exclude"]
```
# Install
```bash
cargo install cargo-sort-ck
```
# Run
Defaults to current dir but any path can be passed in
```bash
cargo-sort-ck [cwd]
```