Subject: [PATCH rust-team 02/37] gnu: Add rust-serde-plain-1.

From: Herman Rimm <[email-masked]>
Date: Thu, 14 Mar 2024 22:16:03 +0100

* gnu/packages/crates-io.scm (rust-serde-plain-1): Add variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7797660988..9cc0d61f1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60874,6 +60874,28 @@ (define-public rust-serde-path-to-error-0.1
      "This package provides a path to the element that failed to deserialize.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-serde-plain-1
+  (package
+    (name "rust-serde-plain")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde_plain" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0l4d4nbw00pz6n43icrc605bhgynfmlyq39sn8i10qasnrnzrqcw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-serde-derive" ,rust-serde-derive-1))))
+    (home-page "https://docs.rs/serde_plain")
+    (synopsis "Restricted plain text serializer for serde")
+    (description
+     "This package provides a restricted plain text serializer for serde")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-serde-qs-0.7
   (package
     (name "rust-serde-qs")
-- 
2.41.0