Crate layers
- Conversion, guards, circuit breaker and Bedrock
tw-dialect · tw-guard · tw-breaker · tw-bedrock Also used by ThinkWatch Enterprise - Domain logic
tw-types · tw-engine · tw-pricing · tw-yaml · tw-secret · tw-watch - Control-plane contract
tw-api · tw-link - Assembly
tw-config · tw-store · tw-observe Single-machine implementation - Data plane and control plane
tw-gateway · tw-control Single-machine implementation
ThinkWatch Enterprise depends on the first group and nothing else. Those four crates depend only on each other, which a test enforces, and CI builds ThinkWatch Enterprise against every change to them. No crate depends on a group below its own. The last two groups are the single-machine implementation (SQLite, the local control channel and the optional remote port) and are intentionally not shared: single-machine SQLite and multi-tenant Postgres differ too much for one abstraction to serve both.
Crate layers in detail