tree: cf309bfbc352fe946abd7e7e5c44031c709dcfc3 [path history] [tgz]
  1. private/
  2. src/
  3. tests/
  4. bootstrap.bzl
  5. BUILD.bazel
  6. Cargo.lock
  7. Cargo.toml
  8. CONTRIBUTING.md
  9. Cross.toml
  10. defs.bzl
  11. 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.