Modules§
- args
- config
- context
- Any context outside of
Cargo.tomlthat is necessary for generating BUILD targets. - header
- Helpers to generate the header of a Bazel file.
- platforms
- rules
- targets
- Definitions for the “rules_rust” Bazel targets.
Structs§
- Alias
- A Bazel
alias - Auto
Indenting 🔒Writer - Wrapper around a
std::fmt::Writethat helps write at the correct level of indentation. - Bazel
Build File - An entire
BUILD.bazelfile. - Dict
- Helper for formatting a dictionary.
- Field
- A field within a Build rule, e.g.
name = "foo". - File
Group - A Bazel
filegroup. - Glob
- A Bazel
glob - List
- Helper for formatting a list of items.
- Quoted
String - A
Stringthat when formatted for Bazel is quoted. - Select
- Helper for formatting a
select({ ... })function.
Traits§
- ToBazel
Definition - Formatting trait for converting a type to its
BUILD.bazelrepresentation.