4 ms·
> I also don't know what you mean by local git dep. Presumably, the `git` URL for dependencies, in `Cargo.toml`, can point to a local git repository. That shou
by eddyb 7y ago
> I also don't know what you mean by local git dep.
Presumably, the `git` URL for dependencies, in `Cargo.toml`, can point to a local git repository.
That should let you refer to a branch / commit of that repository, other than the one currently checked out (which is what using a `path` dependency would give you).
- Manishearth 7y ago"local git dep" was a mistake, I meant "git dep", which can be used in a way that approximates Go's import system if you use versioned tags. (The "local" comes from it being in-house but that's confusing)
- ben0x539 7y agoAh, that's cool to hear. Which features of cargo versioning am I missing out on then?
- Manishearth 7y agoActual semver based version resolution. And yes, this _can_ be added with some ad hoc scheme that requires you to use a certain kind of git tag, but that's not what people are asking for.