Skip to content

Comments

Enforce alphabetically ordered cargo deps#6678

Merged
mergify[bot] merged 6 commits intosigp:unstablefrom
macladson:cargo-sort
Dec 19, 2024
Merged

Enforce alphabetically ordered cargo deps#6678
mergify[bot] merged 6 commits intosigp:unstablefrom
macladson:cargo-sort

Conversation

@macladson
Copy link
Member

@macladson macladson commented Dec 10, 2024

Proposed Changes

This is merely cosmetic, but something that has annoyed me for a while is that dependencies are arbitrarily ordered in every crate which makes it difficult to see at a glace whether a certain dependency is in a crate.

Add cargo-sort to CI to enforce that dependencies are alphabetically ordered.

Additional Changes

This will require devs to order dependencies from now on (or run cargo sort --workspace).

@macladson macladson added work-in-progress PR is a work-in-progress code-quality labels Dec 10, 2024
@macladson macladson added ready-for-review The code is ready for review and removed work-in-progress PR is a work-in-progress labels Dec 11, 2024
@dapplion
Copy link
Collaborator

I share the annoyance, enforcing sorting sounds good to me

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Dec 19, 2024
@michaelsproul
Copy link
Member

@mergify queue

@mergify
Copy link

mergify bot commented Dec 19, 2024

queue

✅ The pull request has been merged automatically

Details

The pull request has been merged automatically at b2b1faa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality ready-for-merge This PR is ready to merge. v7.0.0-beta.0 New release c. Q1 2025

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants