d-tietjen/build-graph architecture
Generate a Rust build graph and refresh an AI-readable ARCHITECTURE.md section.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 23, 2026
- License
- MIT
Pinned Snippet
uses: d-tietjen/build-graph@6bb1fb5c8eeb085addc92b58c4c99970de64bea8 # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| manifest-path | Path to the workspace Cargo.toml. | no | Cargo.toml |
| graph-dir | Directory for graph.json[.gz], graph.html, and GRAPH_REPORT.md. | no | target/build-graph |
| architecture-path | Markdown file whose generated build-graph section should be updated. | no | ARCHITECTURE.md |
| nightly | Nightly toolchain used for rustdoc JSON. | no | nightly-2026-02-27 |
| references | Add Layer 3 calls/uses edges. Implies the rich rustdoc layer. | no | true |
| references-backend | Layer 3 backend when references is true: rust-analyzer or rustc-driver. | no | rust-analyzer |
| driver-bin | Optional prebuilt bg-driver binary path for references-backend: rustc-driver. | no | "" |
| no-derives | Drop derive-generated impls from the rich symbol layer. | no | false |
| no-compress | Write graph.json instead of graph.json.gz. | no | false |
| release | Build the target workspace with --release. | no | false |
| package | Optional Cargo package to graph; may be passed more than once by using separate jobs. | no | "" |
| install-source | Where to install cargo-build-graph from: action, crates.io, or skip. | no | action |
| build-graph-version | Crates.io version used when install-source is crates.io. | no | 0.2.1 |
| architecture-limit | Maximum rows per generated architecture table. | no | 15 |
Outputs
| name | description |
|---|---|
| graph-dir | Directory containing generated graph artifacts. |
| architecture-path | Architecture markdown file updated by the action. |