Subject: [bug#67592] [PATCH 05/20] gnu: rust-quick-xml: Update to 0.31.0.

From: Rémi Teissier <[email-masked]>
Date: Tue, 12 Dec 2023 22:16:43 +0100

Change-Id: I60299821bdcf5ef3960971f9f06c63c728e5c3d8
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6115e258fc7..1c3fffde597 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54898,8 +54898,43 @@ (define-public rust-quick-error-1
          (base32
           "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51"))))))
 
+(define-public rust-quick-xml-0.31
+  (package
+    (name "rust-quick-xml")
+    (version "0.31.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "quick-xml" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0cravqanylzh5cq2v6hzlfqgxcid5nrp2snnb3pf4m0and2a610h"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-tokio" ,rust-tokio-1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+         ("rust-document-features" ,rust-document-features-0.2)
+         ("rust-arbitrary" ,rust-arbitrary-1)
+         ("rust-memchr" ,rust-memchr-2))
+        #:cargo-development-inputs
+        (("rust-tokio-test" ,rust-tokio-test-0.4)
+         ("rust-tokio" ,rust-tokio-1)
+         ("rust-serde-value" ,rust-serde-value-0.7)
+         ("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-regex" ,rust-regex-1)
+         ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+         ("rust-criterion" ,rust-criterion-0.4))))
+    (home-page "https://github.com/tafia/quick-xml")
+    (synopsis "High performance xml reader and writer")
+    (description
+     "This package provides a high performance XML reader and writer.")
+    (license license:expat)))
+
 (define-public rust-quick-xml-0.28
   (package
+    (inherit rust-quick-xml-0.31)
     (name "rust-quick-xml")
     (version "0.28.2")
     (source
@@ -54926,12 +54961,7 @@ (define-public rust-quick-xml-0.28
         ("rust-serde-value" ,rust-serde-value-0.7)
         ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-tokio" ,rust-tokio-1)
-        ("rust-tokio-test" ,rust-tokio-test-0.4))))
-    (home-page "https://github.com/tafia/quick-xml")
-    (synopsis "High performance xml reader and writer")
-    (description
-     "This package provides a high performance XML reader and writer.")
-    (license license:expat)))
+        ("rust-tokio-test" ,rust-tokio-test-0.4))))))
 
 (define-public rust-quick-xml-0.27
   (package
-- 
2.41.0