Git dependency with a path into a sub-folder location #1462
Closed
Description
For dependencies
we can have git = <url>
or path = <path>
but we cannot combine the two, in the cases where a cargo package lives somewhere nested inside of a git repo, i.e. not in the root of the repo. It would be very powerful to be able to provide a relative path into a git repo.
Use case: A repo that is a client library containing bindings in more than one language, and the Rust binding is under the rust
folder inside that repo.
The workaround today is to submodule the repo into your own repo, and use a relative path
config. This levies the requirement of using git of course.
Metadata
Assignees
Labels
No labels