guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

29/62: gnu: Add rust-readlock-tokio-0.1.


From: guix-commits
Subject: 29/62: gnu: Add rust-readlock-tokio-0.1.
Date: Wed, 13 Mar 2024 16:22:21 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 1284f138c845589d28ae550f3db1e549e4eca860
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:27 2024 +0100

    gnu: Add rust-readlock-tokio-0.1.
    
    * gnu/packages/crates-io.scm (rust-readlock-tokio-0.1): Add variable.
    
    Change-Id: Ic55945c3d2b7c69c6940b6a5607e2e7241f96a88
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 5f36ee6a5f..0404df2f3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53917,6 +53917,29 @@ reference counting.")
      "This package provides a weird alternative to @code{Arc<RwLock<T>>}.")
     (license license:mpl2.0)))
 
+(define-public rust-readlock-tokio-0.1
+  (package
+    (name "rust-readlock-tokio")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "readlock-tokio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zc356rp6x0imb4rq2jyq238lv065h4gnyr7zsh3c6aj0s4kd8zv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-rclite" ,rust-rclite-0.2)
+                       ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/jplatte/readlock";)
+    (synopsis "Weird alternative to Arc<RwLock<T>> using tokio's RwLock")
+    (description
+     "This package provides a weird alternative to Arc<@code{RwLock<T>>},
+using tokio's @code{RwLock}")
+    (license license:mpl2.0)))
+
 (define-public rust-recycler-0.1
   (package
     (name "rust-recycler")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]