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
crates_vendor
spec
annotation
This would allow external consumers of workspaces that use crates_vendor to be programmatically consume the same dependencies.
Concretely, the snippet:
crates_vendor( name = "crates_vendor", packages = { "rand": crate.spec( version = "1", ), }, annotations = { "rand": [crate.annotation( default_features = False, features = ["small_rng"], )], }, mode = "remote", vendor_path = "crates", tags = ["manual"], )
To generate some content in the generated crates.bzl file:
crates.bzl
PACKAGES = { "rand": crate.spec( version = "1", ), } ANNOTATIONS = { "rand": [crate.annotation( default_features = False, features = ["small_rng"], )], }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This would allow external consumers of workspaces that use
crates_vendor
to be programmatically consume the same dependencies.Concretely, the snippet:
To generate some content in the generated
crates.bzl
file:The text was updated successfully, but these errors were encountered: