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

cargo sort does not sort the workspace dependencies #88

Open
dknopik opened this issue Jan 10, 2025 · 2 comments
Open

cargo sort does not sort the workspace dependencies #88

dknopik opened this issue Jan 10, 2025 · 2 comments

Comments

@dknopik
Copy link
Member

dknopik commented Jan 10, 2025

Description

cargo sort does not sort the workspace dependencies. This causes merges to accidentally shuffle around dependencies, which then causes trouble on futher merges.

Expected Behaviour

cargo sort should also sort workspace dependencies.

Steps to resolve

I don't know. Probably an upstream issue, this is just to track this.

@Zacholme7
Copy link
Member

Zacholme7 commented Jan 10, 2025

taplo looks like it works. Just running taplo fmt in the root will sort all of the deps. https://crates.io/crates/taplo-cli. could try this out

@dknopik
Copy link
Member Author

dknopik commented Jan 14, 2025

taplo looks like it works. Just running taplo fmt in the root will sort all of the deps. https://crates.io/crates/taplo-cli. could try this out

Doesn't seem like it's sorting out-of-the-box for me 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants