Expand description
Metadata lookup and formatting for registered document and stream formats.
Structs§
- Format
Info - Detailed metadata record for a format from format category CSV files.
Traits§
- Format
Info Option Ext - Extension trait allowing
.get_primary_extension()onOption<&'static FormatInfo>.
Functions§
- describe_
format - Formats detailed metadata for a short Format ID.
- format_
categorized_ help_ table - Generates a categorized, alphabetically sorted help table of supported formats
showing both CLI nicknames and Rust
FormatIdnames alongside their descriptions. Versioned format types are grouped indented under their base format with the default indicated. - format_
help_ table - Generates a help table of supported formats and their shorthand aliases for
CLI
after_helptext. - get_
format_ info - Look up a
FormatInforecord by short Format ID. - get_
format_ info_ by_ id - Look up a
FormatInforecord byFormatId. - infer_
decompressed_ path - Infers the output file path when decompressing without an explicit output
path. Checks registered extension rules for compression formats (longest
extensions first) and strips the matched extension, or appends
.decompressedif none is recognized. - strip_
format_ extension - Strips an extension belonging to the given
FormatIdfrom the input path.