[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/470: gnu: rust-criterion: Add 0.4.0.
From: |
guix-commits |
Subject: |
38/470: gnu: rust-criterion: Add 0.4.0. |
Date: |
Thu, 16 Mar 2023 02:59:51 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 16cd5c5e551d8f65830fd7985a4b8cd8da1a5601
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Dec 4 16:33:33 2022 +0100
gnu: rust-criterion: Add 0.4.0.
* gnu/packages/crates-io.scm (rust-criterion-0.4): New variable.
(rust-criterion-0.3): Inherit from it.
---
gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++++------
1 file changed, 52 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2fdc641fc3..0bc0c649e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13378,8 +13378,59 @@ final xor value. It has many built-in CRC functions.")
Rust.")
(license license:bsd-3)))
+(define-public rust-criterion-0.4
+ (package
+ (name "rust-criterion")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "criterion" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jsl4r0yc3fpkyjbi8aa1jrm69apqq9rxwnjnd9brqmaq44nxiz7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-anes" ,rust-anes-0.1)
+ ("rust-async-std" ,rust-async-std-1)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-cast" ,rust-cast-0.3)
+ ("rust-ciborium" ,rust-ciborium-0.2)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-criterion-plot" ,rust-criterion-plot-0.5)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-oorandom" ,rust-oorandom-11.1)
+ ("rust-plotters" ,rust-plotters-0.3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smol" ,rust-smol-1)
+ ("rust-tinytemplate" ,rust-tinytemplate-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-walkdir" ,rust-walkdir-2))
+ #:cargo-development-inputs
+ (("rust-approx" ,rust-approx-0.5)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://bheisler.github.io/criterion.rs/book/index.html")
+ (synopsis "Statistics-driven micro-benchmarking library")
+ (description
+ "This package provides a statistics-driven micro-benchmarking library.")
+ ;; The user can choose either license.
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-criterion-0.3
(package
+ (inherit rust-criterion-0.4)
(name "rust-criterion")
(version "0.3.5")
(source
@@ -13390,7 +13441,6 @@ Rust.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "044d2x7cxfvw2g558lzyllcv7jcdkw9xmacmb0nzx8pv4pyxl10n"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-async-std" ,rust-async-std-1)
@@ -13420,12 +13470,7 @@ Rust.")
("rust-futures" ,rust-futures-0.3)
("rust-quickcheck" ,rust-quickcheck-1)
("rust-rand" ,rust-rand-0.8)
- ("rust-tempfile" ,rust-tempfile-3))))
- (home-page "https://bheisler.github.io/criterion.rs/book/index.html")
- (synopsis "Statistics-driven micro-benchmarking library")
- (description
- "This package provides a statistics-driven micro-benchmarking library.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-criterion-0.2
(package
- 87/470: gnu: rust-matrixmultiply-0.2: Update to 0.2.4., (continued)
- 87/470: gnu: rust-matrixmultiply-0.2: Update to 0.2.4., guix-commits, 2023/03/16
- 88/470: gnu: rust-packed-simd-2-0.3: Update to 0.3.8., guix-commits, 2023/03/16
- 89/470: gnu: rust-pest-2: Update to 2.5.3., guix-commits, 2023/03/16
- 85/470: gnu: rust-erased-serde-0.3: Update to 0.3.24., guix-commits, 2023/03/16
- 96/470: gnu: rust-semver-1: Update to 1.0.16., guix-commits, 2023/03/16
- 97/470: gnu: rust-smallvec-1: Update to 1.10.0., guix-commits, 2023/03/16
- 104/470: gnu: rust-libm-0.2: Update to 0.2.6., guix-commits, 2023/03/16
- 103/470: gnu: rust-futf-0.1: Update to 0.1.5., guix-commits, 2023/03/16
- 108/470: gnu: rust-utf-8-0.7: Update to 0.7.6., guix-commits, 2023/03/16
- 33/470: gnu: Add rust-ciborium-ll., guix-commits, 2023/03/16
- 38/470: gnu: rust-criterion: Add 0.4.0.,
guix-commits <=
- 50/470: gnu: rust-critical-section-1: Update to 1.1.1., guix-commits, 2023/03/16
- 55/470: gnu: rust-nom-7: Update to 7.1.2., guix-commits, 2023/03/16
- 58/470: gnu: rust-cxx-1: Update to 1.0.86., guix-commits, 2023/03/16
- 67/470: gnu: rust-serde-urlencoded-0.7: Update to 0.7.1., guix-commits, 2023/03/16
- 69/470: gnu: rust-serde-ignored-0.1: Update to 0.1.7., guix-commits, 2023/03/16
- 71/470: gnu: rust-crossbeam-0.8: Update to 0.8.2., guix-commits, 2023/03/16
- 72/470: gnu: rust-crossbeam-epoch-0.9: Update to 0.9.13., guix-commits, 2023/03/16
- 86/470: gnu: rust-matches-0.1: Update to 0.1.9., guix-commits, 2023/03/16
- 91/470: gnu: rust-rand-0.8: Update to 0.8.5., guix-commits, 2023/03/16
- 115/470: gnu: rust-curl-0.4: Update to 0.4.43., guix-commits, 2023/03/16