Subject: [PATCH 22/91] gnu: Add rust-to-method-1.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:00 +0100

* gnu/packages/crates-io.scm (rust-to-method-1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c49f014da..1c818d15d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74663,6 +74663,24 @@ (define-public rust-titlecase-1
 Fireball''.")
     (license license:expat)))
 
+(define-public rust-to-method-1
+  (package
+    (name "rust-to-method")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "to_method" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1s72l06fnb5kv6vm5ds0lilg1dyciyyis09ypi5kij0mrbpcxi67"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/whentze/to_method")
+    (synopsis "A utility micro-crate for using Into more ergonomically.")
+    (description "This package provides a utility micro-crate for using Into
+more ergonomically.")
+    (license license:cc0)))
+
 (define-public rust-to-shmem-0.0.0
   (package
     (name "rust-to-shmem")
-- 
2.41.0