//! Boundary alignment policies for truncation cuts.
/// Maximum window (in bytes) to scan backward or forward for a newline boundary.
///
/// Prevents pathological single-line inputs from collapsing the available budget.
pub const MAX_LINE_SCAN_WINDOW: usize = 4096;
/// Boundary snapping strategy for middle-out truncation.