Expand description
Output formatters: txt, srt, json — and secure file commit transactions.
Formatters stream into any io::Write with a byte budget (JOE-1604).
Re-exports§
pub use transaction::commit_text;pub use transaction::CommitMode;pub use transaction::OutputTransaction;pub use transaction::SymlinkPolicy;
Modules§
- transaction
- Shared secure output transaction for STT, cleanup, and TTS (JOE-1644).
Enums§
- Output
Format - Supported output formats.
Constants§
- DEFAULT_
MAX_ OUTPUT_ BYTES - Default maximum serialized output size (32 MiB).
Functions§
- format_
result - Format a transcription result into the requested representation.
- format_
result_ with_ limit - Like
format_resultwith an explicit byte budget. - write_
result - Write formatted output to a writer (streaming; no intermediate full String for SRT cues).
- write_
result_ to_ path - Format and commit a transcription result through the shared output transaction.
- write_
result_ to_ path_ with_ limit - Like
write_result_to_pathwith an explicit byte budget. - write_
result_ with_ limit - Stream format into
writerwith a maximum output size.