tree: 23497de8b62d0de1d9dbe9c222bd64e63fc5167b [path history] [tgz]
  1. private/
  2. src/
  3. tests/
  4. third_party/
  5. bootstrap.bzl
  6. BUILD.bazel
  7. Cargo.lock
  8. Cargo.toml
  9. CONTRIBUTING.md
  10. Cross.toml
  11. defs.bzl
  12. README.md
crate_universe/README.md

Crate Universe

Crate Universe is akin to a modified version of cargo-raze that can be run as part of a Bazel build. Instead of generating BUILD files in advance with cargo-raze, the BUILD files can be created automatically at build time. It can expose crates gathered from Cargo.toml files like cargo-raze does, and also supports declaring crates directly in BUILD files, for cases where compatibility with Cargo is not required.

Note: crate_universe is experimental, and may have breaking API changes at any time. These instructions may also change without notice.

More information can be found in the rules_rust documentation.