-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gix-url does not compile with the version of url it specifies #1119
Comments
Thanks for reporting! I think there is quite a bit to unpack here. First of all, I think I know how it's possible to get to this point, but I don't know how this kind of breakage can be detected, nor do I know how it can be prevented. What I'd want to test is if the versions specified in the cargo manifest work, without altering them in any way. Right now there seems to be now way to do that unless one somehow wants to maintain a Cargo.lock file that specifies all of the manifest versions. Even though it's easy to change the minimal required version to what seems to be needed, and to possibly even backport to a couple of major versions of The other problem, of course, is frequent major releases in the light of a forming ecosystem of interconnected crates which then are likely to use different versions of The latter would actually be my preference, but for that, the big problem of error handling needs to be solved, as To move forward, I'd need more information about the actual error you are seeing, along with the versions of |
It seems to get dependency resolution with minimal dependencies, this feature would be needed: rust-lang/cargo#5657. However, it's unlikely this will be relevant for the issue here as it won't be available anytime soon. |
Note that this is also the minimal required version that is resolved with `cargo +nightly update -Z minimal-versions`, but it's nothing I could validate or reproduce myself just yet.
Note that this is also the minimal required version that is resolved with `cargo +nightly update -Z minimal-versions`, but it's nothing I could validate or reproduce myself just yet.
Note that this is also the minimal required version that is resolved with `cargo +nightly update -Z minimal-versions`, but it's nothing I could validate or reproduce myself just yet.
Note that this is also the minimal required version that is resolved with `cargo +nightly update -Z minimal-versions`, but it's nothing I could validate or reproduce myself just yet.
Note that this is also the minimal required version that is resolved with `cargo +nightly update -Z minimal-versions`, but it's nothing I could validate or reproduce myself just yet.
Current behavior 😯
gix-url
specifiesurl = "2.1.1"
requirement, but uses features from version 2.2.Expected behavior 🤔
It should build with the versions it specifies in
Cargo.toml
, i.e.cargo update -Z minimal-versions
.Normally I wouldn't care about minimal-versions that much, but
gix
is releasing semver-major versions frequently, which other crates are not keeping up with, and I have multiple duplicate copies ofgix
in my dependency tree that I'm desperately trying to dedupe.Git behavior
N/A
Steps to reproduce 🕹
No response
The text was updated successfully, but these errors were encountered: