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

Added support for custom registry urls #226

Merged
merged 1 commit into from
Sep 21, 2020
Merged

Added support for custom registry urls #226

merged 1 commit into from
Sep 21, 2020

Conversation

UebelAndre
Copy link
Collaborator

This change allows for users to change the registry url used in the output Bazel files. The new setting:

[raze]
registry = "https://crates-io.s3-us-west-1.amazonaws.com/crates/{crate}/{crate}-{version}.crate"

Is a templated string that will replace {crate} with the name of the crate and {version} with the version of the crate. This change should not impact any existing files generated from v5.0.0 of cargo-raze

@UebelAndre
Copy link
Collaborator Author

@damienmg Hey, these changes are something that I pulled out of another thing I'm working on to support Binary dependencies. Even if those changes never get merged, I think this is a good quality of life improvement.

@damienmg damienmg merged commit 67b7fb5 into google:master Sep 21, 2020
@UebelAndre UebelAndre deleted the custom-registry branch September 21, 2020 14:29
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

Successfully merging this pull request may close these issues.

2 participants