~asimpson/mailpreview-cli

test: add unit test for every logic branch

In doing this I realized I've account for mixed content-types so I
removed the todo comment.
90634c0e — Adam Simpson 1 year, 5 months ago
test: add simple email test
cd3871fd — Adam Simpson 1 year, 5 months ago
fix: use children of multipart/related that are in right format

This came up with an email that was an invite. The top level was
multipart/mixed and multipart/related. Diving into related revealed a
text/html block not the codified multipart/alternative block I've been
expecting. multipart/mixed is codified in RFC-1521[1]

[1]https://tools.ietf.org/html/rfc1521#section-7.2.2
06184840 — Adam Simpson 1 year, 11 months ago
chore: mirror LICENSE from main mailparse repo
c9584f8e — Adam Simpson 2 years ago v0.2.0
chore: new version
9d5458a5 — Adam Simpson 2 years ago
refactor: clippy fixes
70000a1e — Adam Simpson 2 years ago
feat: add html extension to html file
7ad075c9 — Adam Simpson 2 years ago
feat: account for related type (RFC 2387[1])

[1]: https://tools.ietf.org/html/rfc2387
33a6db28 — Adam Simpson 2 years ago v0.1.2
fix: account for multipart/alternative
51caa637 — Adam Simpson 2 years ago v0.1.1
chore: bump version
8d716dfe — Adam Simpson 2 years ago
refactor: exit if message body is not processable
63f916ac — Adam Simpson 2 years ago
feat: add format argument to flip between plain and html
6ec6e8d4 — Adam Simpson 2 years ago
chore: add Makefile
d4ae6a28 — Adam Simpson 2 years ago
fix: replace slashes in Message-ID with dashes because file paths
047b4485 — Adam Simpson 2 years ago v0.1.0
chore: github action to build binary
07c3dfcb — Adam Simpson 2 years ago
chore: update email in cargo.toml
356ba76f — Adam Simpson 2 years ago
refactor: make error handling and feedback better
a95228a1 — Adam Simpson 2 years ago
refactor: move body_parse into its own func
a44d951b — Adam Simpson 2 years ago
feat: init commit