Replies: 1 comment
-
One solution here is something like Python's isort. However, there seems to be no agreed-upon rules for the order in which they are arranged, and it appears that they are creating dependency groups based on their own rules. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ex.)
I am not enthusiastic about this idea.
There are several technical considerations.
cargo add
is executed?Even considering these points, implementation is possible, but how necessary is this feature?
Ascending sorting is already clear enough, and crate positions are easy to predict.
If you prefix the crate of the member as in Tombi(like
tombi-ast
), you can group members.After moving the crate with cargo add, manually move it to the desired deps group. Why is this necessary?
Why is it necessary to manually move the desired deps group after moving the crate with cargo add?
Without this feature, sorting is completely automatic.
Now that I have mentioned a few reasons, I am opening up the discussion for potential users of this feature.
Beta Was this translation helpful? Give feedback.
All reactions