libmagic bindings for the Rust programming language. libmagic recognizes the type of data contained in a file (or buffer) and can give you a textual description, a MIME type and the usual file ...