rust_library_group.bzl
rust_library_group
load("@rules_rust//rust:rust_library_group.bzl", "rust_library_group")
rust_library_group(name, deps)
Functions as an alias for a set of dependencies.
Specifically, the following are equivalent:
rust_library_group(
name = "crate_group",
deps = [
":crate1",
":crate2",
],
)
rust_library(
name = "foobar",
deps = [":crate_group"],
...
)
and
rust_library(
name = "foobar",
deps = [
":crate1",
":crate2",
],
...
)
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| deps | Other dependencies to forward through this crate group. | List of labels | optional | [] |