crumble 0.9.0

A robust, minimal library for parsing MIME documents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# crumble

A robust, minimal library for parsing mime documents. Supports UTF-8, multipart and nested structures. Will try (usually successfully) to parse noncompliant documents.

# Usage

Just add `crumble = "0.9.0"` to your dependencies. Then, given a String rep of a MIME document, parse with `Message::new(&mime)`.

# Notes
- Only returns a simple "AST". You should wrap this in something e.g. [crinkle]https://git.sr.ht/~happy_shredder/crinkle for it to be useful.
- Example MIME documents which fail parsing welcome!
- Mirrored on GitHub, upstream is on [sr.ht]https://git.sr.ht/~happy_shredder/crumble.

# TODO
- Add function to construct MIME documents.

# Licence
GPLv3+