diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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. |
