mirror of
https://github.com/uutils/coreutils.git
synced 2026-10-16 02:48:27 -07:00
The renderer and its ariadne dependency sit behind the new feat_diagnostics cargo feature, on by default. Without it a no-op stand-in with the same API takes uucore::diagnostics' place, so the utilities need no cfg of their own: enabled() is always false and every caller falls back to its plain one-line message. Each utility keeps a crate-level `diagnostics` feature for standalone builds, the caret snapshot tests compile out with the renderer, and CI gains a Build/No-diagnostics job that runs the suite without the feature and fails if ariadne sneaks back into the dependency tree.