Subject: [PATCH 10/19] gnu: Add rust-tracing-error-0.2.

From: Steve George <[email-masked]>
Date: Mon, 30 Oct 2023 21:06:16 +0000

* gnu/packages/crates-io.scm (rust-tracing-error-0.2): New variable.
---
 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 0cdd69fbd7..8f267a8dd8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77145,6 +77145,30 @@ (define-public rust-tracing-core-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-tracing-error-0.2
+  (package
+    (name "rust-tracing-error")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tracing-error" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vi0rns7r8iny2milg0kikz1mhgcl9wz5clpy1vi4jrq1wffr1nn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs (("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+    (home-page "https://github.com/tokio-rs/tracing")
+    (synopsis "Enriched error handling for Rust's @code{Tracing} framework")
+    (description
+     "An enriched error type with diagnostic information for
+Rust's @code{Tracing} framework.  Provides additional formatting for errors
+and automatically generates tracing events when errors occur.")
+    (license license:expat)))
+
 (define-public rust-tracing-futures-0.2
   (package
     (name "rust-tracing-futures")
-- 
2.41.0