Hacker News new | ask | show | jobs
by cgag 4371 days ago
From announcement email:

The next features we're planning on working on are: - Supporting refs other than `master` from git packages

1 comments

As a workaround, I guess you could fork a specific version on your own github account, and use that as the dependency?
You don't even need to fork it on Github, Cargo is just passing the URI straight to the git tooling.

You can keep it on your local filesystem and reference it w/ `file:///path/to/repo.git` -- you can also use SSH and HTTPS URIs from any other repository host, not just github!

So you could just clone the repo to some `vendor` directory and move `master` to whatever version you want!