//! Ruby ecosystem formatters: rspec, rubocop, rake/minitest, bundle.
//!
//! Execution-wrapping compressors can inject `--format json` at spawn time;
//! sqz is post-hoc and only sees whatever output already happened. So each
//! formatter tries JSON first (in case the user passed `--format json`
//! themselves) and falls back to a text parser.
//!
//! One module per runner. Shared helpers live here; child modules reach them
//! via `super::`.
pub use format_bundle;
pub use format_rake;
pub use format_rspec;
pub use format_rubocop;
/// Truncate to `max` chars, appending an ellipsis when cut. Shared by the
/// rspec and rake formatters for one-line message clamping.