summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-31 21:05:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:22:38 +0200
commit58f92c7dd01af7e04650eb22874ab754843b0f5a (patch)
tree49af2d53b41e77a09cd14be63d9af30aba55d111 /gnu/packages/crates-web.scm
parenta47e52bd2104d175e11abe2f94d9e95355ea5dc9 (diff)
gnu: rust-deadpool: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-deadpool-0.10, rust-deadpool-0.9, rust-deadpool-0.7, rust-deadpool-runtime-0.1, rust-deadpool-sync-0.1): Move from here ... * gnu/packages/crates-web.scm: ... to here. Change-Id: Ieea734be89b898103e5f9896e1a43a4512383552
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm119
1 files changed, 119 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 0949ea2720..73ca29df76 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2887,6 +2887,125 @@ similar to the nom parser combinators library.")
("rust-time" ,rust-time-0.3)
("rust-url" ,rust-url-2))))))
+(define-public rust-deadpool-0.10
+ (package
+ (name "rust-deadpool")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "145lq79dlc4jn7jvlcf4lb105bs3z3jy6g7d15zv7iy1g04i117v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-config" ,rust-config-0.13)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/bikeshedder/deadpool")
+ (synopsis "Dead simple async pool")
+ (description
+ "Deadpool is a dead simple async pool for connections and objects
+of any type.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-deadpool-0.9
+ (package
+ (inherit rust-deadpool-0.10)
+ (name "rust-deadpool")
+ (version "0.9.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vl5qg5pfx0c9c41g299clfdgz9la6z8361aycb21cia1zwy07s2"))))
+ (arguments
+ `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-retain-mut" ,rust-retain-mut-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tokio" ,rust-tokio-1))
+ #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-config" ,rust-config-0.13)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-tokio" ,rust-tokio-1))))))
+
+(define-public rust-deadpool-0.7
+ (package
+ (inherit rust-deadpool-0.9)
+ (name "rust-deadpool")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-config" ,rust-config-0.10)
+ ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tokio" ,rust-tokio-1))))))
+
+(define-public rust-deadpool-runtime-0.1
+ (package
+ (name "rust-deadpool-runtime")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool-runtime" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0arbchl5j887hcfvjy4gq38d32055s5cf7pkpmwn0lfw3ss6ca89"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/bikeshedder/deadpool")
+ (synopsis "Dead simple async pool utilities for sync managers")
+ (description "This package provides dead simple async pool utilities
+for sync managers.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-deadpool-sync-0.1
+ (package
+ (name "rust-deadpool-sync")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deadpool-sync" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1s50gz56m8rhb7p8vw8jpgikwjx0v7x407hw3sjfvqyv52n17hic"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/bikeshedder/deadpool")
+ (synopsis "Dead simple async pool utilities for sync managers")
+ (description "This package provides dead simple async pool utilities
+for sync managers.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-h2-0.4
(package
(name "rust-h2")