We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dependencies sourced from git are not considered as valid candidates for "normal" dependencies.
env_logger = "0.10.0"
log = "=0.4.15"
cargo update
cargo tree
log
log = {git = "https://github.com/rust-lang/log", tag = "0.4.15" }
No response
Might be related to #6921
cargo 1.73.0 release: 1.73.0 host: x86_64-unknown-linux-gnu libgit2: 1.6.4 (sys:0.17.2 vendored) libcurl: 8.4.0 (sys:0.4.65+curl-8.2.1 system ssl:rustls-ffi/0.10.0/rustls/0.21.0) os: Gentoo Linux 2.14 [64-bit]
The text was updated successfully, but these errors were encountered:
Thanks for the report! This is intended behavior, since cargo treats crates from different sources as distinct.
The correct way to indicate that you want to replace a registry dependency with one from a git dependency is to use a [patch] table.
[patch]
Sorry, something went wrong.
This makes sense, thanks.
No branches or pull requests
Problem
Dependencies sourced from git are not considered as valid candidates for "normal" dependencies.
Steps
env_logger = "0.10.0"
andlog = "=0.4.15"
cargo update
andcargo tree
log
cratelog = {git = "https://github.com/rust-lang/log", tag = "0.4.15" }
cargo update
andcargo tree
Possible Solution(s)
No response
Notes
Might be related to #6921
Version
The text was updated successfully, but these errors were encountered: