summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index b020ebe..8e9e20b 100644
--- a/README.md
+++ b/README.md
@@ -206,3 +206,11 @@ These are not suggestions:
with no signature, a symlink in the srcdir: the build stops and says why. A
change that is real but not publishable becomes a `notice` — never a candidate,
never silently dropped.
+* One direction of dependence. Every module in `src/` carries a rank in
+ `tests/architecture.rs`, and a module may name only modules ranked below it,
+ so the tree is written down rather than remembered. The same file holds each
+ module's interface budget in `tests/architecture-budget.json`: how many `pub`
+ items it hands out, and how many of them nothing outside the module ever
+ names. Budgets may only shrink — a number that grows fails the suite, and a
+ number that quietly got smaller has to be written back at the lower value.
+ `tools/arch-census.py` prints the same numbers for a human to read.