Skip to content
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

Use registry of the dependency when patching #146

Open
teamplayer3 opened this issue Sep 15, 2024 · 0 comments
Open

Use registry of the dependency when patching #146

teamplayer3 opened this issue Sep 15, 2024 · 0 comments

Comments

@teamplayer3
Copy link

teamplayer3 commented Sep 15, 2024

Doc

How to reproduce

  • Have a dependency from git in Cargo.toml (<dep> = { git = "<git-repo-url>" })
  • Adding a patch from local path
  • Now it takes the crates-io registry for the patch

Expected behavior

I think it should use the git URL provided with the dependency for this patch.

[patch."<git-repo-url>"]
<dep> = { path = "..." }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant