Subject: [PATCH 02/10] gnu: Add rust-markup5ever-0.12.

From: Nguyễn Gia Phong <[email-masked]>
Date: Wed, 3 Jul 2024 16:57:53 +0900

* gnu/packages/crates-io.scm (rust-markup5ever-0.12): New variable.
(rust-markup5ever-0.11): Inherit from rust-markup5ever-0.12.

Change-Id: Ieb3cd806b1155e169314e2bf3b05adbdad95079a
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eec488b63c0e..b78a80fc0a02 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36726,23 +36726,23 @@ (define-public rust-markup-0.13
      "This package provides a fast, type-safe template engine for Rust.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-markup5ever-0.11
+(define-public rust-markup5ever-0.12
   (package
     (name "rust-markup5ever")
-    (version "0.11.0")
+    (version "0.12.1")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "markup5ever" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "05mhzsp6lfxla1fgd0ac283b405s6kyj27wj5r6d7wq42jxjj9ks"))))
+                "0idy4vjihg2dw73j2vkb5kdghvga3bwnw0qx8jwci4m6xfxkmkhn"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-log" ,rust-log-0.4)
-        ("rust-phf" ,rust-phf-0.10)
-        ("rust-phf-codegen" ,rust-phf-codegen-0.10)
+        ("rust-phf" ,rust-phf-0.11)
+        ("rust-phf-codegen" ,rust-phf-codegen-0.11)
         ("rust-string-cache" ,rust-string-cache-0.8)
         ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5)
         ("rust-tendril" ,rust-tendril-0.4))))
@@ -36752,6 +36752,27 @@ (define-public rust-markup5ever-0.11
      "Common code for xml5ever and html5ever.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-markup5ever-0.11
+  (package
+    (inherit rust-markup5ever-0.12)
+    (name "rust-markup5ever")
+    (version "0.11.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "markup5ever" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "05mhzsp6lfxla1fgd0ac283b405s6kyj27wj5r6d7wq42jxjj9ks"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-log" ,rust-log-0.4)
+        ("rust-phf" ,rust-phf-0.10)
+        ("rust-phf-codegen" ,rust-phf-codegen-0.10)
+        ("rust-string-cache" ,rust-string-cache-0.8)
+        ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5)
+        ("rust-tendril" ,rust-tendril-0.4))))))
+
 (define-public rust-markup5ever-0.10
   (package
     (inherit rust-markup5ever-0.11)
-- 
2.45.2