[bug#75127,v7,16/44] gnu: Add rust-recursion-0.5.

Message ID a5839b55d8deafde7a6177efa8ee54d7a7d579fa.1736607642.git.lockbox@struct.foo
State New
Headers
Series Add cargo-nextest |

Commit Message

Jordan Moore Jan. 11, 2025, 3:11 p.m. UTC
  * gnu/packages/crates-io.scm (rust-recursion-0.5): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3f4e5b152f..fb36ea20ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62637,6 +62637,26 @@  (define-public rust-readlock-tokio-0.1
 using tokio's @code{RwLock}")
     (license license:mpl2.0)))
 
+(define-public rust-recursion-0.5
+  (package
+    (name "rust-recursion")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "recursion" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0wc8x5340scj9fl281nydgwrpzbbdffj764pw6zppkcchlk58w4z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
+                       ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/inanna-malick/recursion")
+    (synopsis "cache-aware stack safe recursion")
+    (description "This package provides cache-aware stack safe recursion.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-recvmsg-1
   (package
     (name "rust-recvmsg")