Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,19 @@ depend on `mgmt`.
│ │
└───────────────────────────┘
```


>[!NOTE]
> This graph is incomplete. It simply illustrates the tier concept.

<figure>

![depgraph](./workspace-deps.svg)

<figcaption>
Full workspace dependency graph. Note that tier-1 packages (like net) never depend on tier-2 packages (like nat).
</figcaption>

</figure>



Expand Down
8 changes: 8 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -505,3 +505,11 @@ coverage *args: \
(cargo "llvm-cov" "report" "--html" "--output-dir=./target/nextest/coverage" "--profile=fuzz") \
(cargo "llvm-cov" "report" "--json" "--output-path=./target/nextest/coverage/report.json" "--profile=fuzz") \
(cargo "llvm-cov" "report" "--codecov" "--output-path=./target/nextest/coverage/codecov.json" "--profile=fuzz")


# regenerate the dependency graph for the project
[script]
depgraph:
just cargo depgraph --exclude dataplane-test-utils,dataplane-dpdk-sysroot-helper --workspace-only \
| sed 's/dataplane-//g' \
| dot -Grankdir=TD -Gsplines=polyline -Granksep=1.5 -Tsvg > workspace-deps.svg
Loading