[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/470: gnu: rust-rustc-rayon: Add 0.4.
From: |
guix-commits |
Subject: |
28/470: gnu: rust-rustc-rayon: Add 0.4. |
Date: |
Thu, 16 Mar 2023 02:59:47 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 11527b719ae7094a38d99b534c5fd520dcf8adfd
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Dec 4 13:28:06 2022 +0100
gnu: rust-rustc-rayon: Add 0.4.
* gnu/packages/crates-io.scm (rust-rustc-rayon-0.4,
rust-rustc-rayon-core-0.4): New variables.
(rust-rustc-rayon-0.3, rust-rustc-rayon-core-0.3): Inherit accordingly.
---
gnu/packages/crates-io.scm | 80 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 61 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59e8670e5b..09a5ea3c62 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48473,8 +48473,41 @@ hex conversion traits.")
(sha256
(base32 "07pff94vqc1mhrqp9i06xzayiad4xfx7588zkqsdw875lpkqrsqc"))))))
+(define-public rust-rustc-rayon-0.4
+ (package
+ (name "rust-rustc-rayon")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-rayon" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ykjr1i56jmi8ykkcr7x555wnxki1vsi703mz6n2x7k0naqg0y8s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;XXX can not find rayon?
+ #:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-1)
+ ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
+ ("rust-either" ,rust-either-1)
+ ("rust-rustc-rayon-core" ,rust-rustc-rayon-core-0.4))
+ #:cargo-development-inputs
+ (("rust-docopt" ,rust-docopt-1))))
+ (home-page "https://github.com/rust-lang/rustc-rayon")
+ (synopsis
+ "Simple work-stealing parallelism for Rust - fork for rustc")
+ (description
+ "Rustc-rayon is a fork of the Rayon crate. It adds a few \"in progress\"
+features that rustc is using, mostly around deadlock detection. These features
+are not stable and should not be used by others -- though they may find their
+way into rayon proper at some point. In general, if you are not rustc, you
+should be using the real rayon crate, not rustc-rayon.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-rustc-rayon-0.3
(package
+ (inherit rust-rustc-rayon-0.4)
(name "rust-rustc-rayon")
(version "0.3.0")
(source
@@ -48486,7 +48519,6 @@ hex conversion traits.")
(sha256
(base32
"0fjvy8bf0hd1zq9d3fdxbdp4z4p1k8jfyx51k5qip3wk1pwnf9zk"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f
#:cargo-inputs
@@ -48500,20 +48532,39 @@ hex conversion traits.")
("rust-rand" ,rust-rand-0.6)
("rust-rand-xorshift" ,rust-rand-xorshift-0.1)
("rust-serde" ,rust-serde-1)
- ("rust-serde-derive" ,rust-serde-derive-1))))
+ ("rust-serde-derive" ,rust-serde-derive-1))))))
+
+(define-public rust-rustc-rayon-core-0.4
+ (package
+ (name "rust-rustc-rayon-core")
+ (version "0.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-rayon-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0c4cf58056ya3282c24bnyq39cwm1rd1m96lymfbb6yvl12929h2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;XXX cannot find rayon_core?
+ #:cargo-inputs
+ (("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-num-cpus" ,rust-num-cpus-1))))
(home-page "https://github.com/rust-lang/rustc-rayon")
- (synopsis
- "Simple work-stealing parallelism for Rust - fork for rustc")
+ (synopsis "Core APIs for Rayon - fork for rustc")
(description
- "Rustc-rayon is a fork of the Rayon crate. It adds a few \"in progress\"
-features that rustc is using, mostly around deadlock detection. These features
-are not stable and should not be used by others -- though they may find their
-way into rayon proper at some point. In general, if you are not rustc, you
-should be using the real rayon crate, not rustc-rayon.")
+ "Note: This package is an unstable fork made for use in rustc
+
+Rayon-core represents the \"core, stable\" APIs of Rayon: join, scope, and so
+forth, as well as the ability to create custom thread-pools with ThreadPool.")
(license (list license:asl2.0 license:expat))))
(define-public rust-rustc-rayon-core-0.3
(package
+ (inherit rust-rustc-rayon-core-0.4)
(name "rust-rustc-rayon-core")
(version "0.3.0")
(source
@@ -48525,7 +48576,6 @@ should be using the real rayon crate, not rustc-rayon.")
(sha256
(base32
"1cwc50mcclzfmhmi87953fjk6cc9ppmchn9mlwzfllq03y1jf97a"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f
#:cargo-inputs
@@ -48538,15 +48588,7 @@ should be using the real rayon crate, not
rustc-rayon.")
(("rust-libc" ,rust-libc-0.2)
("rust-rand" ,rust-rand-0.6)
("rust-rand-xorshift" ,rust-rand-xorshift-0.1)
- ("rust-scoped-tls" ,rust-scoped-tls-1))))
- (home-page "https://github.com/rust-lang/rustc-rayon")
- (synopsis "Core APIs for Rayon - fork for rustc")
- (description
- "Note: This package is an unstable fork made for use in rustc
-
-Rayon-core represents the \"core, stable\" APIs of Rayon: join, scope, and so
-forth, as well as the ability to create custom thread-pools with ThreadPool.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-scoped-tls" ,rust-scoped-tls-1))))))
(define-public rust-rustc-serialize-0.3
(package
- 10/470: gnu: rust-const-oid: Add 0.9.1., (continued)
- 10/470: gnu: rust-const-oid: Add 0.9.1., guix-commits, 2023/03/16
- 11/470: gnu: rust-typenum: Update to 1.15.0., guix-commits, 2023/03/16
- 15/470: gnu: rust-bytecheck: Add 0.6.9., guix-commits, 2023/03/16
- 16/470: gnu: Add rust-rend., guix-commits, 2023/03/16
- 18/470: gnu: Add rust-speedy., guix-commits, 2023/03/16
- 20/470: gnu: rust-proc-macro2: Update to 1.0.47., guix-commits, 2023/03/16
- 24/470: gnu: Add rust-toml-datetime., guix-commits, 2023/03/16
- 25/470: gnu: rust-itertools: Update to 0.10.5., guix-commits, 2023/03/16
- 27/470: gnu: rust-crossbeam-deque: Update to 0.8.2., guix-commits, 2023/03/16
- 30/470: gnu: rust-tokio-util: Add 0.7.4., guix-commits, 2023/03/16
- 28/470: gnu: rust-rustc-rayon: Add 0.4.,
guix-commits <=
- 13/470: gnu: rust-bytemuck: Update to 1.12.3., guix-commits, 2023/03/16
- 19/470: gnu: rust-ordered-float: Add 3.4.0., guix-commits, 2023/03/16
- 29/470: gnu: rust-indexmap: Update to 1.9.2., guix-commits, 2023/03/16
- 31/470: gnu: rust-combine: Update to 4.6.6., guix-commits, 2023/03/16
- 32/470: gnu: Add rust-ciborium-io., guix-commits, 2023/03/16
- 37/470: gnu: rust-criterion-plot: Add 0.5.0., guix-commits, 2023/03/16
- 34/470: gnu: rust-rstest: Add 0.11.0., guix-commits, 2023/03/16
- 39/470: gnu: rust-clap-lex: Add 0.3.0., guix-commits, 2023/03/16
- 43/470: gnu: rust-linux-raw-sys: Add 0.1.3., guix-commits, 2023/03/16
- 44/470: gnu: rust-rustix: Add 0.36.4., guix-commits, 2023/03/16