//! SRT serializer — emits the canonical `index / timing / text / blank-line`
//! form for each entry.
use format_time_range;
use crateResult;
use crateSubtitle;
/// Serialize a [`Subtitle`] to canonical SRT bytes.
///
/// Entry indices are renumbered starting at 1 to match the canonical form
/// regardless of the input `entry.index` values.
pub