Subject: [PATCH 2/4] gnu: Add rust-cargo-toml-0.16.

From: Herman Rimm <[email-masked]>
Date: Sat, 27 Jan 2024 09:50:36 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c05f3457ba..5acd32748f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9264,6 +9264,27 @@ (define-public rust-cargo-platform-0.1
 supported by Cargo.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cargo-toml-0.16
+  (package
+    (name "rust-cargo-toml")
+    (version "0.16.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cargo_toml" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lxgiwha2kqbk60iq5cvczbnd5xrqa4cj7bqk6k8wf64qsdn5yg3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+                       ("rust-toml" ,rust-toml-0.8))))
+    (home-page "https://lib.rs/cargo_toml")
+    (synopsis "`Cargo.toml` struct definitions for parsing with Serde")
+    (description "This package provides `Cargo.toml` struct definitions for
+parsing with Serde.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-cargo-util-0.2
   (package
     (name "rust-cargo-util")
-- 
2.41.0