Crate fif[][src]

Expand description

This library consists of all of the things fif needs to run. It only exists as a library to separate code, and to make testing a bit easier. I don’t recommend using this as a library for your crate, as it may have breaking changes without incrementing the major version, as it’s really only meant to be a place for fif’s internals to live.

Modules

File handling - scanning, detecting MIME types, and so on.

The Findings and ScanError structs, used for conveying whether a given file was able to be scanned and whether its MIME type could be inferred.

The various formats that fif can output to.

Backend-neutral Mime database implementation.

Clap struct used to parse command line arguments.

Various minor utilities.

Macros

A macro for creating an array of Writables without needing to pepper your code with into()s.

Does the same thing as writables, but adds a Newline to the end.

Statics

A Lazy holding an instance of mime_db::MimeDb.

Type Definitions

A convenience alias for a LazyCompact layout SmartString.