Subject: [PATCH 11/22] gnu: Add rust-serdeconv-0.3.

From: aecepoglu <[email-masked]>
Date: Wed, 3 Feb 2021 14:48:09 +0300

* gnu/packages/crates-io.scm (rust-serdeconv-0.3): New variable.
---
 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 3ba0b7c76b..6c5b712695 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31494,6 +31494,37 @@ for the serde framework.")
      "Unstable AST representation used by Serde codegen.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-serdeconv-0.4
+  (package
+    (name "rust-serdeconv")
+    (version "0.4.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "serdeconv" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0cal6qkzps92g7csycqij4ik1df3ccxn5sxnjvfvm473phnwbvbi"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-rmp-serde" ,rust-rmp-serde-0.14)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-toml" ,rust-toml-0.5)
+         ("rust-trackable" ,rust-trackable-1))
+        #:cargo-development-inputs
+        (("rust-serde-derive" ,rust-serde-derive-1))))
+    (home-page "https://github.com/sile/serdeconv")
+    (synopsis
+      "Utilities to convert between TOML/JSON/MessagePack values")
+    (description
+      "This crate provides convenient traits and functions for converting
+ between TOML/JSON/MessagePack strings and serializable values")
+    (license license:expat)))
+
 (define-public rust-serde-derive-1
   (package
     (name "rust-serde-derive")
-- 
2.30.0