Crate rmime

Source
Expand description

Mime Type crate

This crate contains utils to work with MIME types.

§Example

use rmime::Mime;

let mime = Mime::from_filename("my_video.mp4").unwrap();
assert_eq!(mime.to_string(), "video/mp4");

Structs§

Mime
Mime Type struct