crumble

Crates.iocrumble
lib.rscrumble
version0.10.2
sourcesrc
created_at2019-09-13 10:39:13.161644
updated_at2020-10-11 04:09:07.579969
descriptionA robust, minimal library for parsing MIME documents.
homepagehttps://git.sr.ht/~happy_shredder/crumble
repositoryhttps://git.sr.ht/~happy_shredder/crumble
max_upload_size
id164543
size1,815,955
(MonkeysAreEvil)

documentation

https://docs.rs/crumble/

README

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.10.1" to your dependencies. Then, given a String rep of a MIME document, parse with Message::new(&mime).

Documentation: https://docs.rs/crumble/ Crate: https://crates.io/crates/crumble

Notes

  • Only returns a simple "AST". You should wrap this in something e.g. crinkle for it to be useful.
  • Example MIME documents which fail parsing welcome!
  • Mirrored on GitHub, upstream is on sr.ht.

Licence

GPLv3+

Commit count: 0

cargo fmt