Subject: [PATCH 10/14] gnu: Add rust-const-format-0.2.

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

* gnu/packages/crates-io.scm (rust-const-format-0.2): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bd8383084e..141d6146f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12766,6 +12766,29 @@ (define-public rust-const-fn-0.4
 const functions with conditional compilations.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-const-format-0.2
+  (package
+    (name "rust-const-format")
+    (version "0.2.24")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "const_format" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "179p8ifww66rqivrzsbmwpryb183b4hh7f0wwhgflgx2lrpk38g6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-const-format-proc-macros" ,rust-const-format-proc-macros-0.2))
+       #:cargo-development-inputs
+       (("rust-arrayvec" ,rust-arrayvec-0.5) ("rust-fastrand" ,rust-fastrand-1))))
+    (home-page "https://github.com/rodrimati1992/const_format_crates/")
+    (synopsis "Compile-time string formatting")
+    (description
+     "This package provides types and macros for formatting strings at
+compile-time.")
+    (license license:zlib)))
+
 (define-public rust-const-format-proc-macros-0.2
   (package
     (name "rust-const-format-proc-macros")
-- 
2.36.1