Subject: [PATCH rust-team v2 49/68] gnu: rust-mailparse-0.16: New variable.

From: Aaron Covrig <[email-masked]>
Date: Tue, 18 Mar 2025 21:19:07 -0400

* gnu/crates-io.scm (rust-mailparse-0.16): New variable.

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c1c4305bb1..79e358ec8d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41769,17 +41769,17 @@ (define-public rust-maildir-0.5
         ("rust-tempfile" ,rust-tempfile-3)
         ("rust-walkdir" ,rust-walkdir-2))))))
 
-(define-public rust-mailparse-0.15
+(define-public rust-mailparse-0.16
   (package
     (name "rust-mailparse")
-    (version "0.15.0")
+    (version "0.16.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "mailparse" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0zkwbrzgr7pp1wyywjgvlxayr1p3nnkn2yxgi97746j1h1ckv81x"))))
+        (base32 "0bzdd3yliadzjnirb4g0jwz7j3k2yds02fzb2ib1m0ybvnbrm0b0"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-charset" ,rust-charset-0.1)
@@ -41792,6 +41792,24 @@ (define-public rust-mailparse-0.15
      "This package provides a simple parser for MIME e-mail messages.")
     (license license:bsd-0)))
 
+(define-public rust-mailparse-0.15
+  (package
+    (inherit rust-mailparse-0.16)
+    (name "rust-mailparse")
+    (version "0.15.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mailparse" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zkwbrzgr7pp1wyywjgvlxayr1p3nnkn2yxgi97746j1h1ckv81x"))))
+    (arguments
+     `(#:cargo-inputs (("rust-charset" ,rust-charset-0.1)
+                       ("rust-data-encoding" ,rust-data-encoding-2)
+                       ("rust-quoted-printable" ,rust-quoted-printable-0.5))
+       #:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.17))))))
+
 (define-public rust-mailparse-0.14
   (package
     (inherit rust-mailparse-0.15)
-- 
2.48.1