Subject: [bug#68312] [PATCH 103/156] gnu: Add rust-quanta-0.11.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:20 +0100

* gnu/packages/crates-io.scm (rust-quanta-0.11): New variable.

Change-Id: I2827f7180b93aa31e9d6a352417eebb140da40fb
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 01ac92c000a..87018b35fc8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55890,6 +55890,34 @@ (define-public rust-qstring-0.7
     (description "This package provides query string parser.")
     (license license:expat)))
 
+(define-public rust-quanta-0.11
+  (package
+    (name "rust-quanta")
+    (version "0.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "quanta" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1axrw0nqc90bq671w05jd9460pmwg86c4r132mjsi4c2g8m6czm1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-mach2" ,rust-mach2-0.4)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-prost-types" ,rust-prost-types-0.11)
+                       ("rust-raw-cpuid" ,rust-raw-cpuid-10)
+                       ("rust-wasi" ,rust-wasi-0.11)
+                       ("rust-web-sys" ,rust-web-sys-0.3)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/metrics-rs/quanta")
+    (synopsis "high-speed timing library")
+    (description "A high-speed timing library.")
+    (license license:expat)))
+
 (define-public rust-quantiles-0.7
   (package
     (name "rust-quantiles")
-- 
2.41.0