Add Rust workspace boundary check
Deploy / deploy (push) Successful in 30s
CI / Rust Checks (push) Successful in 5m13s
CI / UI Checks (push) Successful in 5s
CI / Deployment Manifests (push) Successful in 3s
CI / Frontend E2E (push) Successful in 4m34s

This commit is contained in:
github-ops
2026-06-20 20:55:55 +00:00
parent 81efa2f0fb
commit 5970db5449
5 changed files with 283 additions and 0 deletions
+14
View File
@@ -96,6 +96,20 @@ shell env file.
./scripts/check-rust-code-health.sh
```
## `check-rust-boundaries.sh`
Проверяет направление зависимостей между Rust workspace crates:
- приложения из `apps/*` могут зависеть от crates, но не от других приложений;
- crates не должны зависеть от приложений;
- `crank-core` не зависит от runtime, registry и adapters;
- `crank-registry` не зависит от runtime и adapters;
- `crank-runtime` не зависит от registry.
```bash
./scripts/check-rust-boundaries.sh
```
## `check-community-scope.sh`
Проверяет, что в community-репозиторий не попали функции и тексты за пределами