Modules§
- args
- config
- context
- Any context outside of
Cargo.toml
that 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::Write
that helps write at the correct level of indentation. - Bazel
Build File - An entire
BUILD.bazel
file. - 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
String
that 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.bazel
representation.