Subject: [PATCH v4 18/57] gnu: Add rust-smol-str-0.3.

From: Jordan Moore <[email-masked]>
Date: Sat, 4 Jan 2025 23:19:41 -0500

* gnu/packages/crates-io.scm (rust-smol-str-0.3): New variable.

Change-Id: Ie8cba0267c3d107591a4ce0530ff5a40c7be34c6
---
 gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++++++---
 1 file changed, 27 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d3cf92506..950332ca2f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73201,23 +73201,24 @@ (define-public rust-smol-potat-macro-0.6
     (description "This package provides a proc macro for smol runtime.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-smol-str-0.2
+(define-public rust-smol-str-0.3
   (package
     (name "rust-smol-str")
-    (version "0.2.0")
+    (version "0.3.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "smol_str" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1779hpx5ipbcvkdj5zw8zqk3ynn160qvls1gkcr54hwsprmjw8bl"))))
+        (base32 "039mj6lc1vkljj17ndlzzkak8kvlmw8ppi6yjdxsh433snfbhxln"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-test-flags
        '("--release" "--"
          "--skip=check_code_formatting")
        #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+                       ("rust-borsh" ,rust-borsh-1)
                        ("rust-serde" ,rust-serde-1))
        #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)
                                    ("rust-serde" ,rust-serde-1)
@@ -73229,6 +73230,29 @@ (define-public rust-smol-str-0.2
 clone.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-smol-str-0.2
+  (package
+    (inherit rust-smol-str-0.3)
+    (name "rust-smol-str")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "smol_str" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1779hpx5ipbcvkdj5zw8zqk3ynn160qvls1gkcr54hwsprmjw8bl"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=check_code_formatting")
+       #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)
+                                   ("rust-serde" ,rust-serde-1)
+                                   ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-smol-str-0.1
   (package
     (inherit rust-smol-str-0.2)
-- 
2.46.0