having some sort of semver for git dependencies #6961
Labels
A-git
Area: anything dealing with git
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-needs-rfc
Status: Needs an RFC to make progress.
If 2 crates import a dependency from git and it's even a bit different cargo treats them as 2 unrelated crates.
let's say crate A has this toml:
and contains this struct:
#[derive(Serialize)] struct Arr([u8; 32])
crate B has this toml:
and contains this:
This will complain that
Arr
doesn't implement Serialize.even though technically they point to the exact same thing.
and even if they're not pointing to the same thing I would've hoped there would be a way for me to do something similar to
crate = "=1.0.1"
and lock to an exact revision/tag/branch.Thanks!
The text was updated successfully, but these errors were encountered: