http-types icon indicating copy to clipboard operation
http-types copied to clipboard

Use file-format crate to sniff the mime type

Open mmalecot opened this issue 2 years ago • 0 comments

Pros of file-format against infer:

  • Support for many more formats (including CFB-based and ZIP-based)
  • Enum-based API
  • No error on detection from bytes (Arbitrary Binary Data returned by default)

mmalecot avatar Dec 04 '22 12:12 mmalecot