diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-09 12:05:50 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:49:45 +0100 |
commit | ebee185817dcd729467bc43b25afd2177314849a (patch) | |
tree | 5b997bbf8c5dc62e535969b143ec74b5fa5c8b4e | |
parent | 57fd1ec688a6e3c467a82aced1ba8b546c35f3ea (diff) | |
download | guix-ebee185817dcd729467bc43b25afd2177314849a.tar.gz guix-ebee185817dcd729467bc43b25afd2177314849a.zip |
gnu: Add rust-juliex-0.3.
* gnu/packages/crates-io.scm (rust-juliex-0.3): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 24adf09f36..25e69733a5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17853,6 +17853,36 @@ friction with idiomatic Rust structs to ease interopability.") (license (list license:asl2.0 license:expat)))) +(define-public rust-juliex-0.3 + (package + (name "rust-juliex") + (version "0.3.0-alpha.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "juliex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g4r23i7dkpid8zmkg6aiw73gkp7jagwhrjfi12yklyx4dczvp12")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crossbeam" ,rust-crossbeam-0.7) + ("rust-futures-preview" ,rust-futures-preview-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-cpus" ,rust-num-cpus-1)))) + (home-page "https://github.com/withoutboats/juliex") + (synopsis "Very basic future executor") + (description + "juliex is a concurrent executor for Rust futures. It is implemented as +a threadpool executor using a single, shared queue. Algorithmically, it is +very similar to the Threadpool executor provided by the futures crate. The +main difference is that juliex uses a crossbeam channel and performs a single +allocation per spawned future, whereas the futures Threadpool uses std +concurrency primitives and multiple allocations.") + (license (list license:expat license:asl2.0)))) + (define-public rust-juniper-codegen-0.14 (package (name "rust-juniper-codegen") |