Subject: [bug#56037] [PATCH 02/14] gnu: Add rust-toml-edit-0.14.

From: Gabriel Arazas <[email-masked]>
Date: Fri, 17 Jun 2022 19:59:03 +0800

* gnu/packages/crates-io.scm (rust-toml-edit-0.14): New variable.
(rust-toml-edit-0.3): Inherit and adjust.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c037071ab0..88339619ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65201,17 +65201,17 @@ (define-public rust-toml-0.2
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-toml-edit-0.3
+(define-public rust-toml-edit-0.14
   (package
     (name "rust-toml-edit")
-    (version "0.3.1")
+    (version "0.14.4")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "toml_edit" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0fbpkhla57k9qbpbxh72wxc7hhj7yscq4r0hnmyyygp92r3q6c0x"))))
+                "07xmklks4ldf8r9ban47zvq2s0csq43ja0dcjs43yi7j8ip2axjk"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -65219,14 +65219,36 @@ (define-public rust-toml-edit-0.3
        (("rust-combine" ,rust-combine-4)
         ("rust-indexmap" ,rust-indexmap-1)
         ("rust-itertools" ,rust-itertools-0.10)
-        ("rust-serde" ,rust-serde-1)
-        ("rust-vec1" ,rust-vec1-1))))
+        ("rust-kstring" ,rust-kstring-2)
+        ("rust-serde" ,rust-serde-1))))
     (home-page "https://github.com/ordian/toml_edit")
     (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.3
+  (package
+    (inherit rust-toml-edit-0.14)
+    (name "rust-toml-edit")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "toml_edit" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0fbpkhla57k9qbpbxh72wxc7hhj7yscq4r0hnmyyygp92r3q6c0x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-combine" ,rust-combine-4)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-vec1" ,rust-vec1-1))))))
+
 (define-public rust-tonic-0.6
   (package
     (name "rust-tonic")
-- 
2.36.1