Let's say I have checked out a git repository locally and I would like to add a specific branch/tag as a dependency to a Cargo.toml
of a rust codebase. Is there a way to do it?
I've already tried the following without success:
dep = { path = "../path/to/git/repo", branch = "hello-world" }
dep = { path = "../path/to/git/repo", rev = "12345" }