//! Rename-line formatter (FR-032, AD-016).
//!
//! Byte-exact format: `<src>` SPACE `->` SPACE `<tgt>` LF, identical in
//! Default and Strict modes. No ANSI color codes are emitted on stdout in
//! either mode in v0.1.0.
use Write as _;
use Path;
/// Format one source→target rename line per FR-032.
///
/// Returns a UTF-8 string ending with `\n`. Path components are rendered via
/// `Path::display()` (lossy on non-UTF-8) — acceptable because the planner
/// always produces UTF-8 targets through the filter pipeline.