guix-commits
[Top][All Lists]
Advanced

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

363/424: gnu: Add rust-lockfree-object-pool-0.1.


From: guix-commits
Subject: 363/424: gnu: Add rust-lockfree-object-pool-0.1.
Date: Sun, 10 Nov 2024 05:42:44 -0500 (EST)

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

commit 541ec20d422031cecf7f83856da97e2a35d6657a
Author: Steve George <steve@futurile.net>
AuthorDate: Fri Oct 4 21:47:48 2024 +0100

    gnu: Add rust-lockfree-object-pool-0.1.
    
    * gnu/packages/crates-io.scm (rust-lockfree-object-pool-0.1): New variable.
    
    Change-Id: I3062fb75535d4790499a1c676e7a53126c940079
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 27f96fec2f..aa388bac3e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40846,6 +40846,31 @@ network interfaces/adapters.")
        (("rust-scopeguard" ,rust-scopeguard-0.3)
         ("rust-owning-ref" ,rust-owning-ref-0.4))))))
 
+(define-public rust-lockfree-object-pool-0.1
+  (package
+    (name "rust-lockfree-object-pool")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lockfree-object-pool" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bjm2g1g1avab86r02jb65iyd7hdi35khn1y81z4nba0511fyx4k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.5)
+        ("rust-criterion-plot" ,rust-criterion-plot-0.5)
+        ("rust-object-pool" ,rust-object-pool-0.5)
+        ("rust-sharded-slab" ,rust-sharded-slab-0.1))))
+    (home-page "https://github.com/EVaillant/lockfree-object-pool";)
+    (synopsis "Thread-safe object pool collection")
+    (description
+     "This package provides a thread-safe object pool collection with 
automatic return
+and attach/detach semantics.")
+    (license license:boost1.0)))
+
 (define-public rust-log-0.4
   (package
     (name "rust-log")



reply via email to

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