d-tietjen/build-graph architecture

Generate a Rust build graph and refresh an AI-readable ARCHITECTURE.md section.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 23, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: d-tietjen/build-graph@6bb1fb5c8eeb085addc92b58c4c99970de64bea8 # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
manifest-pathPath to the workspace Cargo.toml.noCargo.toml
graph-dirDirectory for graph.json[.gz], graph.html, and GRAPH_REPORT.md.notarget/build-graph
architecture-pathMarkdown file whose generated build-graph section should be updated.noARCHITECTURE.md
nightlyNightly toolchain used for rustdoc JSON.nonightly-2026-02-27
referencesAdd Layer 3 calls/uses edges. Implies the rich rustdoc layer.notrue
references-backendLayer 3 backend when references is true: rust-analyzer or rustc-driver.norust-analyzer
driver-binOptional prebuilt bg-driver binary path for references-backend: rustc-driver.no""
no-derivesDrop derive-generated impls from the rich symbol layer.nofalse
no-compressWrite graph.json instead of graph.json.gz.nofalse
releaseBuild the target workspace with --release.nofalse
packageOptional Cargo package to graph; may be passed more than once by using separate jobs.no""
install-sourceWhere to install cargo-build-graph from: action, crates.io, or skip.noaction
build-graph-versionCrates.io version used when install-source is crates.io.no0.2.1
architecture-limitMaximum rows per generated architecture table.no15
namedescription
graph-dirDirectory containing generated graph artifacts.
architecture-pathArchitecture markdown file updated by the action.