6 releases
0.1.5 | Jun 12, 2024 |
---|---|
0.1.4 | Jun 11, 2024 |
0.1.3 | May 29, 2024 |
#35 in #mime
341 downloads per month
Used in http-srv
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");