chore: rust dashcore made a workspace dependency #3062
Conversation
📝 WalkthroughWalkthroughThis pull request centralizes git-based dependency management by introducing a workspace-level dependencies section and updating four packages to reference these workspace dependencies instead of duplicating git URLs and revisions. The Python script that previously switched dependencies between local and git-based modes is deleted. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
great! please target v3.1-dev |
c3bdd09 to
a0b76d3
Compare
a0b76d3 to
b9cf80f
Compare
|
@ZocoLini Not saying that we should keep it (at least not the way it is right now) but i think one good thing about the version switcher script was the |
|
@xdustinface you still can do that with the workspace, dashcore = { path = .... still woprks |
Yeah i know but now if you want to do it you need to put all paths manually, before you could just use the script :) |
|
mmm, all code editors let you find and replace one piece of text/regex in a selected region, you only have to write it once, and anyway, the script wasn't working bcs some dependencies need to be optional and the script was dropping the Conclusion:
|
|
Im definitely in favour of this workspace dependencies changes.
Thats fixed by moving it to workspace dependencies though, isnt it? I think the script would be much simpler now if it gets adjusted to just change the workspace dependencies.
Well the find+replace doesn't really work though if you consider that all crates will need a different path so switching between local and some specific commit/branch or the repo is probably a bit annoying when the script gets dropped. I don't care that much since im at least so far not doing much with this repo but i think adjusting the script would be better than just dropping it. |
|
This one LGTM, we can get another PR for the script; however, I will not use it as it is much easier to edit one file than finding a script, understanding how it works etc. |
|
Failed tests are not related, will be fixed in separate PR |
I dropped the python script since it was failing with dependencies that needed to be optional and replaced all of them with a rust workspace dependency, easier to manage and update them at the same time without having to maintain a python script
Checklist:
For repository code-owners and collaborators only
Summary by CodeRabbit
Release Notes