Crates.io | mr-mime |
lib.rs | mr-mime |
version | 0.1.1 |
source | src |
created_at | 2022-09-25 20:51:52.548174 |
updated_at | 2023-03-27 22:40:48.775583 |
description | A no_std MIME type library for Rust |
homepage | https://github.com/notgull/mr-mime#readme |
repository | https://github.com/notgull/mr-mime |
max_upload_size | |
id | 673812 |
size | 4,038,458 |
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
.
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.The Minimum Supported Rust Version (MSRV) for this crate is 1.41.0. This MSRV will not be changed without a minor version bump.
mr-mime
is licensed under one of the following licenses, at your option: