How to edit a github cargo workspace?

I cloned a code which is a workspace, but each subprobject points to the crates.io instead of the local path (some subprojects reference each other). Do I have to change all of them manually to point to the local paths, or is there an easier way? I want to make changes on all of them

If it's your project, specify your workspace dependencies using dep = { path = "./dep" }. The path will be automatically replaced with appropriate crates-io reference when publishing the crates.

If it's not your project, then use [patch.crates-io] section to replace crates-io crates with path deps.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.