bazelbuild / bazelbuild/rules_rust

Missing API docs for `all_crate_deps`

Open
#3,436 0 comments 4 reactions 0 assignees View on GitHub
needs-triage
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

It appears that `all_crate_deps` is not documented in the official mdbook.

All I found was some examples of usage on https://bazelbuild.github.io/rules_rust/crate_universe_bzlmod.html

There is no proper API reference for `all_crate_deps`. In particular I had to go look in the source code of rules_cc to figure out that for my build script I needed to pass `build = True` instead of `normal = True`.

Additionally the links in https://bazelbuild.github.io/rules_rust/crate_universe_workspace.html#dependencies-api which supposedly should go to these docs are all broken.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.