summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-09-22 22:35:51 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-09-23 00:21:39 +0200
commit4e38e11a0b554c2ff6b361aa17ac950c6dc8f4c5 (patch)
tree86c4a1cbe622f827d723e3f99f413ba26e05dabd /gnu
parent4ded080b51aba487f66bd94d781463f166605d02 (diff)
gnu: Add rust-executors-0.9.
* gnu/packages/crates-io.scm (rust-executors-0.9): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97b8e4d47c..cef733874c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21310,6 +21310,40 @@ You can use this crate to turn non-blocking data structures into async or
blocking data structures.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-executors-0.9
+ (package
+ (name "rust-executors")
+ (version "0.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "executors" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0z8gn5vcr0x1db1bvahhmby9mpr1jgzd4qfvm25mja5js3agk51a"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; TODO: build needs metrics_printer
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-arr-macro" ,rust-arr-macro-0.1)
+ ("rust-async-task" ,rust-async-task-4)
+ ("rust-core-affinity" ,rust-core-affinity-0.5)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-metrics" ,rust-metrics-0.14)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-synchronoise" ,rust-synchronoise-1)
+ ("rust-threadpool" ,rust-threadpool-1))))
+ (home-page "https://github.com/Bathtor/rust-executors")
+ (synopsis "Collection of high-performance task executors")
+ (description
+ "This package provides a collection of high-performance task executors.")
+ (license license:expat)))
+
(define-public rust-exitcode-1
(package
(name "rust-exitcode")