Subject: [PATCH 016/147] gnu: Add rust-toml-edit-0.22.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:03:28 +0200

* gnu/packages/crates-io.scm (rust-toml-edit-0.22): New variable.
(rust-toml-edit-0.21): Inherit from rust-toml-edit-0.22.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f636ad3af3..3f722734ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73058,17 +73058,17 @@ (define-public rust-toml-datetime-0.5
     (arguments
      `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))))
 
-(define-public rust-toml-edit-0.21
+(define-public rust-toml-edit-0.22
   (package
     (name "rust-toml-edit")
-    (version "0.21.0")
+    (version "0.22.8")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "toml_edit" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "00xa3qfk34qazvnkfxyyyqqc6nyl2ksks1c5bd53n5has0y3hkfk"))))
+        (base32 "1kcnmshwvh0afl87358d1ccrqb7fcanyam3jhrvs06qc3s0ij8n1"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
@@ -73076,9 +73076,9 @@ (define-public rust-toml-edit-0.21
                        ("rust-serde" ,rust-serde-1)
                        ("rust-serde-spanned" ,rust-serde-spanned-0.6)
                        ("rust-toml-datetime" ,rust-toml-datetime-0.6)
-                       ("rust-winnow" ,rust-winnow-0.5))
+                       ("rust-winnow" ,rust-winnow-0.6))
        #:cargo-development-inputs
-       (("rust-libtest-mimic" ,rust-libtest-mimic-0.6)
+       (("rust-libtest-mimic" ,rust-libtest-mimic-0.7)
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-snapbox" ,rust-snapbox-0.4)
         ("rust-toml-test-data" ,rust-toml-test-data-1)
@@ -73089,6 +73089,32 @@ (define-public rust-toml-edit-0.21
 parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-toml-edit-0.21
+  (package
+    (inherit rust-toml-edit-0.22)
+    (name "rust-toml-edit")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "toml_edit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00xa3qfk34qazvnkfxyyyqqc6nyl2ksks1c5bd53n5has0y3hkfk"))))
+    (arguments
+     `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-kstring" ,rust-kstring-2)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-spanned" ,rust-serde-spanned-0.6)
+                       ("rust-toml-datetime" ,rust-toml-datetime-0.6)
+                       ("rust-winnow" ,rust-winnow-0.5))
+       #:cargo-development-inputs
+       (("rust-libtest-mimic" ,rust-libtest-mimic-0.6)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-snapbox" ,rust-snapbox-0.4)
+        ("rust-toml-test-data" ,rust-toml-test-data-1)
+        ("rust-toml-test-harness" ,rust-toml-test-harness-0.4))))))
+
 (define-public rust-toml-edit-0.20
   (package
     (inherit rust-toml-edit-0.21)
-- 
2.41.0