Expand description
Definitions for the “rules_rust” Bazel targets.
Structs§
- Additive
Content - An opaque blob of text that we treat as a target.
- Aliases_ 🔒
- AllCrate
Deps_ 🔒 - Cargo
Build Script cargo_build_script- Crates
Universe 🔒Macro crates_universeexposes a few macros that make it easier to define depedencies and aliases.- Extract
Cargo Lints - Reads lint config from a Cargo.toml file.
- Rust
Binary rust_binary- Rust
DocTest rust_doc_test.- Rust
Library rust_library- Rust
Test rust_test- Workspace
Dependencies 🔒
Enums§
- Macro
Option 🔒 - Rust
Test Kind - Rust
Test Size - Size of the Bazel Test.
Constants§
- PROTO_
FILEGROUP_ 🔒NAME - Name given to the Bazel
filegroupthat exports all protobuf files.
Traits§
- Named 🔒
- A hack for const generic strings.
- Rust
Target
Functions§
- crate_
features - Returns a set of Cargo features that are common to all platforms, and then any additional features that need to be enabled for a specific platform.
- platform_
feature_ sets - Returns a
FeatureSetof reverse dependencies (in other words, all crates that depend on) for the provided package, for every platform that we support.
Type Aliases§
- Aliases 🔒
- AllCrate
Deps 🔒