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
@@ -144,7 +144,7 @@ For more details about repin, [please refer to the documentation](https://bazelb
144
144
In cases where Rust targets have heavy interactions with other Bazel targets ([Cc](https://docs.bazel.build/versions/main/be/c-cpp.html), [Proto](https://rules-proto-grpc.com/en/4.5.0/lang/rust.html),
145
145
etc.), maintaining Cargo.toml files may have diminishing returns as things like rust-analyzer
146
146
begin to be confused about missing targets or environment variables defined only in Bazel.
147
-
In situations like this, it may be desirable to have a "Cargo free" setup. You find an example in the in the [example folder](https://github.com/bazelbuild/rules_rust/examples/bzlmod/hello_world_no_cargo).
147
+
In situations like this, it may be desirable to have a "Cargo free" setup. You find an example in the in the [example folder](https://github.com/bazelbuild/rules_rust/tree/main/examples/hello_world_no_cargo).
148
148
149
149
crates_repository supports this through the packages attribute,
150
150
as shown below.
@@ -227,7 +227,7 @@ Only a cargo workspace needs updating whenever the underlying Cargo.toml file ch
227
227
In some cases, it is require that all external dependencies are vendored, meaning downloaded
228
228
and stored in the workspace. This helps, for example, to conduct licence scans, apply custom patches,
229
229
or to ensure full build reproducibility since no download error could possibly occur.
230
-
You find a complete example in the in the [example folder](https://github.com/bazelbuild/rules_rust/examples/bzlmod/all_deps_vendor).
230
+
You find a complete example in the in the [example folder](https://github.com/bazelbuild/rules_rust/tree/main/examples/all_deps_vendor).
231
231
232
232
For the setup, you need to add the skylib in addition to the rust rules to your `MODULE.bazel`.
233
233
@@ -367,7 +367,7 @@ sys_deps()
367
367
368
368
Now, you can build the project as usual.
369
369
370
-
There are some more examples of using crate_universe with bzlmod in the [example folder](https://github.com/bazelbuild/rules_rust/blob/main/examples/bzlmod/).
370
+
There are some more examples of using crate_universe with bzlmod in the [example folder](https://github.com/bazelbuild/rules_rust/blob/main/examples/).
0 commit comments