Stop doing manual string formatting of output (#655)

Use tera for all rendering.

There are things we will want to change, both about the output, and how
it's computed, but this is an incremental step in more legible, testable
code.

Also, add some hermetic unit tests for rendering.
10 files changed
tree: 267ea733c2046096d912a414c56ad5346f2d3147
  1. .bazelci/
  2. bindgen/
  3. cargo/
  4. crate_universe/
  5. docs/
  6. examples/
  7. proto/
  8. rust/
  9. test/
  10. tools/
  11. util/
  12. wasm_bindgen/
  13. .bazelignore
  14. .gitignore
  15. ARCHITECTURE.md
  16. AUTHORS
  17. BUILD.bazel
  18. CODEOWNERS
  19. CONTRIBUTING.md
  20. CONTRIBUTORS
  21. LICENSE.txt
  22. README.md
  23. WORKSPACE.bazel
  24. workspace.bzl
README.md

Rust Rules

  • Postsubmit Build status
  • Postsubmit + Current Bazel Incompatible Flags Build status

Overview

This repository provides rules for building Rust projects with Bazel.

Community

Please refer to the full documentation.