Subject: [PATCH 18/81] gnu: Add rust-tracing-flame-0.2.

From: Herman Rimm <[email-masked]>
Date: Mon, 20 May 2024 10:58:23 +0200

* gnu/packages/crates-io.scm (rust-tracing-flame-0.2): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb67d59ca1..7d1d375d61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86155,6 +86155,30 @@ (define-public rust-tracing-error-0.2
     (description "Utilities for enriching errors with `tracing`.")
     (license license:expat)))
 
+(define-public rust-tracing-flame-0.2
+  (package
+    (name "rust-tracing-flame")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tracing-flame" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ad34bhy9gsj0ijn56jsvizydash6zcybbls29g1i2a7w5z13bhb"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-lazy-static-1 rust-tracing-0.1
+                           rust-tracing-subscriber-0.3)
+      #:cargo-development-inputs (list rust-tempfile-3)))
+    (home-page "https://tokio.rs")
+    (synopsis "Tracing layer to create flamegraphs from span timings")
+    (description
+     "This package provides a @code{tracing} layer for creating
+flamegraphs from span timings.")
+    (license license:expat)))
+
 (define-public rust-tracing-futures-0.2
   (package
     (name "rust-tracing-futures")
-- 
2.41.0