Crate cargo_gazelle

Source

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
AutoIndentingWriter 🔒
Wrapper around a std::fmt::Write that helps write at the correct level of indentation.
BazelBuildFile
An entire BUILD.bazel file.
Dict
Helper for formatting a dictionary.
Field
A field within a Build rule, e.g. name = "foo".
FileGroup
A Bazel filegroup.
Glob
A Bazel glob
List
Helper for formatting a list of items.
QuotedString
A String that when formatted for Bazel is quoted.
Select
Helper for formatting a select({ ... }) function.

Traits§

ToBazelDefinition
Formatting trait for converting a type to its BUILD.bazel representation.