You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crate_universe/extensions.bzl
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Crate Universe is a set of Bazel rule for generating Rust targets using Cargo.
4
4
5
5
This doc describes using crate_universe with bzlmod.
6
6
7
-
If you're using a WORKSPACE file, please see [the WORKSPACE equivalent of this doc](crate_universe.html).
7
+
If you're using a WORKSPACE file, please see [the WORKSPACE equivalent of this doc](crate_universe_workspace.html).
8
8
9
9
There are some examples of using crate_universe with bzlmod in the [example folder](https://github.com/bazelbuild/rules_rust/examples/bzlmod).
10
10
@@ -74,7 +74,7 @@ will not be able to pull from your private registry.
74
74
75
75
The generated crates_repository contains helper macros which make collecting dependencies for Bazel targets simpler.
76
76
Notably, the all_crate_deps and aliases macros (
77
-
see [Dependencies API](https://bazelbuild.github.io/rules_rust/crate_universe.html#dependencies-api)) commonly allow the
77
+
see [Dependencies API](https://bazelbuild.github.io/rules_rust/crate_universe_workspace.html#dependencies-api)) commonly allow the
78
78
Cargo.toml files to be the single source of truth for dependencies.
79
79
Since these macros come from the generated repository, the dependencies and alias definitions
80
80
they return will automatically update BUILD targets. In your BUILD files,
This will result in all dependencies being updated for a project. The `CARGO_BAZEL_REPIN`
139
139
environment variable can also be used to customize how dependencies are updated.
140
-
For more details about repin, [please refer to the documentation](https://bazelbuild.github.io/rules_rust/crate_universe.html#crates_vendor).
140
+
For more details about repin, [please refer to the documentation](https://bazelbuild.github.io/rules_rust/crate_universe_workspace.html#crates_vendor).
0 commit comments