Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce alphabetically ordered cargo deps #6678

Merged
merged 6 commits into from
Dec 19, 2024
Merged

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
@michaelsproul michaelsproul added the v6.1.0 New release c. Q1 2025 label Dec 13, 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

Copy link

mergify bot commented Dec 19, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at b2b1faa

mergify bot added a commit that referenced this pull request Dec 19, 2024
@mergify mergify bot merged commit b2b1faa into sigp:unstable Dec 19, 2024
30 checks passed
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. v6.1.0 New release c. Q1 2025
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants