about summary refs log tree commit homepage
path: root/lib/PublicInbox/MIME.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-05-16 22:53:53 +0000
committerEric Wong <e@yhbt.net>2020-05-17 06:58:26 +0000
commit9787fae1f7235bd790d1db6f0b513ce420c361bd (patch)
tree3c16023e9f1beae64a0848941159a25762f4b6de /lib/PublicInbox/MIME.pm
parente60231148eb604a379033c69e8c4494eb1753783 (diff)
downloadpublic-inbox-9787fae1f7235bd790d1db6f0b513ce420c361bd.tar.gz
To avoid confusing future readers and users, recommend
PublicInbox::Eml in our Import POD and refer to PublicInbox::Eml
comments at the top of PublicInbox::MIME.

mime_load() confined to t/eml.t, since we won't be using
it anywhere else in our tests.
Diffstat (limited to 'lib/PublicInbox/MIME.pm')
-rw-r--r--lib/PublicInbox/MIME.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/PublicInbox/MIME.pm b/lib/PublicInbox/MIME.pm
index 9077386a..831a3d19 100644
--- a/lib/PublicInbox/MIME.pm
+++ b/lib/PublicInbox/MIME.pm
@@ -4,7 +4,9 @@
 # The license for this file differs from the rest of public-inbox.
 #
 # We no longer load this in any of our code outside of maintainer
-# tests for compatibility.
+# tests for compatibility.  PublicInbox::Eml is favored throughout
+# our codebase for performance and safety reasons, though we maintain
+# Email::MIME-compatibility in mail injection and indexing code paths.
 #
 # It monkey patches the "parts_multipart" subroutine with patches
 # from Matthew Horsfall <wolfsage@gmail.com> at: