Skip to main content

render_module_bazel

Function render_module_bazel 

Source
pub fn render_module_bazel(manifest: &Manifest) -> String
Expand description

Render a MODULE.bazel that declares the cargo dependencies via the cargo extension. Each external crate becomes one crate.from_cargo entry; operators use bazel mod tidy after to pin transitives.