clang-format runner used by Cabin's developer-tools
commands.
This crate keeps formatting-specific executable resolution,
command-line construction, and exit-status handling outside
cabin, mirroring the crate boundaries used by
cabin-tidy.
Crate boundaries:
- the crate owns formatter executable resolution and the
clang-formatcommand-line shape; - it accepts typed inputs ([
FormatRequest]) and emits typed outcomes ([FormatReport]); - it never walks the filesystem looking for sources — that
job belongs to
cabin-source-discovery; - it never reads Cabin's configuration files — the
orchestration layer threads any config-derived inputs
through the typed
FormatRequest.