Subject: [PATCH 65/87] gnu: Add rust-toml-edit-0.22.6.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:40:03 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 94a4f134c7..fc15f0b181 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73865,6 +73865,37 @@ (define-public rust-toml-datetime-0.5
     (arguments
      `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))))
 
+(define-public rust-toml-edit-0.22
+  (package
+    (name "rust-toml-edit")
+    (version "0.22.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "toml_edit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1xh66q9avqa0z7snipylxi5jiiy7kjdfvm3lrghd7j4c2ba5y6rc"))))
+    (build-system cargo-build-system)
+    (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.6))
+       #:cargo-development-inputs
+       (("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)
+        ("rust-toml-test-harness" ,rust-toml-test-harness-0.4))))
+    (home-page "https://github.com/toml-rs/toml")
+    (synopsis "Yet another format-preserving TOML parser")
+    (description "This package provides yet another format-preserving TOML
+parser.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-toml-edit-0.21
   (package
     (name "rust-toml-edit")
-- 
2.41.0