xref: /aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/docs_bzlmod.bzl (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1"""# Crate Universe
2
3Crate Universe is a set of Bazel rule for generating Rust targets using Cargo.
4
5This doc describes using crate_universe with bzlmod.
6
7If you're using a WORKSPACE file, please see [the WORKSPACE equivalent of this doc](crate_universe.html).
8
9There are some examples of using crate_universe with bzlmod:
10
11* https://github.com/bazelbuild/rules_rust/blob/main/examples/bzlmod/hello_world/MODULE.bazel
12* https://github.com/bazelbuild/rules_rust/blob/main/examples/bzlmod/override_target/MODULE.bazel
13* https://github.com/bazelbuild/rules_rust/blob/main/examples/bzlmod/all_crate_deps/MODULE.bazel
14"""
15
16load(
17    "//crate_universe:extension.bzl",
18    _crate = "crate",
19)
20
21crate = _crate
22