RepoPilot

trunk-rs/trunk · Architecture

A static read of how trunk-rs/trunk is wired together — module coupling, layering, and circular dependencies — derived from its import graph.

C
Architecture grade
score 63/100
8
Import cycles
lower is better
116
Modules parsed
124 edges
81%
Layeredness
clean-layer ratio

Most-depended-on modules

These are the highest-fan-in files — change them and the blast radius is largest. Read them first.

  • src/config/mod.rs14 importers · radius 28
  • src/config/models/mod.rs9 importers · radius 28
  • src/config/rt/mod.rs6 importers · radius 28
  • src/pipelines/mod.rs5 importers · radius 28
  • src/common/mod.rs5 importers · radius 32
  • src/config/types/mod.rs3 importers · radius 31
  • src/version/mod.rs3 importers · radius 32
  • src/serve/mod.rs3 importers · radius 4

Modules (15)

Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.

Circular dependencies (8)

  • src/config/mod.rs to src/config/models/mod.rs to src/config/models/source/mod.rs to src/config/mod.rs
  • src/config/mod.rs to src/config/models/mod.rs to src/config/models/source/mod.rs to src/config/models/source/cargo.rs to src/config/mod.rs
  • src/config/mod.rs to src/config/models/mod.rs to src/config/models/build.rs to src/config/mod.rs
  • src/config/models/mod.rs to src/config/models/clean.rs to src/config/models/mod.rs
  • src/config/models/mod.rs to src/config/models/core.rs to src/config/models/mod.rs
  • src/config/models/mod.rs to src/config/models/hook.rs to src/config/models/mod.rs

Ask AI about trunk-rs/trunk

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Informational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.