mr-mime

Crates.iomr-mime
lib.rsmr-mime
version0.1.1
sourcesrc
created_at2022-09-25 20:51:52.548174
updated_at2023-03-27 22:40:48.775583
descriptionA no_std MIME type library for Rust
homepagehttps://github.com/notgull/mr-mime#readme
repositoryhttps://github.com/notgull/mr-mime
max_upload_size
id673812
size4,038,458
John Nunley (notgull)

documentation

https://docs.rs/mr-mime

README

mr-mime

mr-mime is a library for parsing and generating MIME messages. It is created due to my dissatisfaction with the current MIME library used in most Rust projects, mime. While mr-mime is not a drop-in replacement, the API is very similar and overall aims to reduce some notable warts found in mime.

Improvements over mime

  • mr-mime is not only no_std, but can operate without an allocator. This means that it can be used in #![no_std] environments, and in environments where the allocator is not available (e.g. embedded systems).
  • mr-mime is forbid(unsafe_code), meaning that is contains no unsafe code. This reduces the potential surface where a memory vulnerability can occur.
  • mr-mime interns and provides constants for a wider variety of MIME types.

MSRV

The Minimum Supported Rust Version (MSRV) for this crate is 1.41.0. This MSRV will not be changed without a minor version bump.

License

mr-mime is licensed under one of the following licenses, at your option:

Commit count: 16

cargo fmt