6 releases

0.1.5 Jun 12, 2024
0.1.4 Jun 11, 2024
0.1.3 May 29, 2024

#35 in #mime

Download history 1/week @ 2024-08-23 8/week @ 2024-09-20 4/week @ 2024-09-27 1/week @ 2024-10-04

341 downloads per month
Used in http-srv

MIT license

8KB
107 lines

RMime

MIME Type utils for Rust


lib.rs:

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");

No runtime deps