summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 14:30:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:25 +0300
commitcb298154b30aebf711f6d43156df683c38de4ad9 (patch)
treeff3db64d8f3bbef0ab0cda272e12ec4dfb2d9529 /gnu
parent4247954bbc28d83ece158c4732030d65fdf6b8a5 (diff)
gnu: Add rust-futures-cpupool.
* gnu/packages/crates-io.scm (rust-futures-cpupool): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 219bbe280a9..ac925e3c10f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -593,6 +593,31 @@ featuring zero allocations, composability, and iterator-like interfaces.")
593 (license (list license:asl2.0 593 (license (list license:asl2.0
594 license:expat)))) 594 license:expat))))
595 595
596(define-public rust-futures-cpupool
597 (package
598 (name "rust-futures-cpupool")
599 (version "0.1.8")
600 (source
601 (origin
602 (method url-fetch)
603 (uri (crate-uri "futures-cpupool" version))
604 (file-name (string-append name "-" version ".tar.gz"))
605 (sha256
606 (base32
607 "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b"))))
608 (build-system cargo-build-system)
609 (arguments
610 `(#:cargo-inputs
611 (("rust-futures" ,rust-futures)
612 ("rust-num-cpus" ,rust-num-cpus))))
613 (home-page "https://github.com/alexcrichton/futures-rs")
614 (synopsis "Implementation of thread pools which hand out futures")
615 (description
616 "An implementation of thread pools which hand out futures to the results of
617the computation on the threads themselves.")
618 (license (list license:asl2.0
619 license:expat))))
620
596(define-public rust-futures-io-preview 621(define-public rust-futures-io-preview
597 (package 622 (package
598 (name "rust-futures-io-preview") 623 (name "rust-futures-io-preview")