summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2025-02-09 13:27:16 -0600
committermsglm <msglm@techchud.xyz>2025-02-09 13:27:16 -0600
commit52d9fa8ab0e4221e4002cd1354eb1469c1a1dd80 (patch)
tree4c66685dbb711e7e1aa90914b3a8be99185bf893
parent4ec6e2fb7d3680beab69cf316c583c5535e10a49 (diff)
downloadguix-msglm-52d9fa8ab0e4221e4002cd1354eb1469c1a1dd80.tar.gz
guix-msglm-52d9fa8ab0e4221e4002cd1354eb1469c1a1dd80.tar.bz2
guix-msglm-52d9fa8ab0e4221e4002cd1354eb1469c1a1dd80.zip
add rust-criterion@0.3
-rw-r--r--unlustig.scm46
1 files changed, 46 insertions, 0 deletions
diff --git a/unlustig.scm b/unlustig.scm
index f5082f4..fd258a2 100644
--- a/unlustig.scm
+++ b/unlustig.scm
@@ -1218,3 +1218,49 @@ binding to JVM APIs from Rust.")
"This package provides Bindings to Core Foundation for @code{macOS}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-criterion-0.3
+ (package
+ (name "rust-criterion")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "criterion" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13yd64ah93gkbdv7qq4cr6rhgl9979jjcjk3gkhnav1b7glns7dh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-cast" ,rust-cast-0.3)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-criterion-plot" ,rust-criterion-plot-0.4)
+ ("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)
+ ("rust-plotters" ,rust-plotters-0.3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-cbor" ,rust-serde-cbor-0.11)
+ ("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 Statistics-driven micro-benchmarking library.")
+ (license (list license:asl2.0 license:expat))))
+