How to refer a package from a workspace as a git repository dependency in another package?

I have a workspace with two packages "foo" & "bar" ; I have one more package which is not part of the this workspace. suppose if i have to refer "foo" as a git repository dependency in this new package how do I do it?( note : I'm able to refer "foo" as a path dependency but not as a git repository dependency)

You refer to the git repository which contains your workspace. Cargo is able to figure out the right package to pick from there.

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.