Rules
defs
: standard rust rules for building and testing libraries and binaries.
rustdoc
: rules for generating and testing rust documentation.
clippy
: rules for running
clippy
.
rustfmt
: rules for running
rustfmt
.
cargo
: Rules dedicated to Cargo compatibility. ie:
build.rs
scripts
.
crate_universe
: Rules for generating Bazel targets for external crate dependencies.
Experimental rules
rust_analyzer
: rules for generating
rust-project.json
files for
rust-analyzer
3rd party rules
rust_bindgen
: rules for generating C++ bindings.
rust_proto
: rules for generating
protobuf
and
gRPC
stubs.
rust_wasm_bindgen
: rules for generating
WebAssembly
bindings.
Full API
You can also browse the
full API in one page
.