2 releases
0.1.1 | Mar 27, 2023 |
---|---|
0.1.0 | Sep 25, 2022 |
#45 in #mime
4MB
113K
SLoC
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 onlyno_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
isforbid(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:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)