Expand description
no_std MIME โ extension lookup from embedded JSON, zero OS dependencies.
The database is embedded once at compile time and lazily parsed on first
use. All returned strings are 'static and live for the entire program
duration.
Functionsยง
- ext_
to_ mime - Return the canonical MIME type for a file extension.
- mime_
to_ ext - Return the file extensions (without leading dot) for a MIME type.