summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-28 09:57:41 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:59 +0200
commitf7948bf6e3c4c39c6bc80ef440162f27a90ef597 (patch)
tree33830da74816991315ed763f8e4cc34ffbf53e70
parentcfceb8726ccf70294f03b7db4571cb9254b72a8d (diff)
downloadguix-f7948bf6e3c4c39c6bc80ef440162f27a90ef597.tar.gz
gnu: Add rust-tracing-error-0.2.
* gnu/packages/crates-io.scm (rust-tracing-error-0.2): New variable.

Change-Id: I08295c6b48a58ef2d7c55d8f62646b1039d38581
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f1f2dbd71..b0a2747c88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80169,6 +80169,28 @@ automatically instrumenting functions.")
     (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
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=backtrace::SpanTrace::capture")
+       #:cargo-inputs (("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+    (home-page "https://tokio.rs")
+    (synopsis "Utilities for enriching errors with `tracing`")
+    (description "Utilities for enriching errors with `tracing`.")
+    (license license:expat)))
+
 (define-public rust-tracing-futures-0.2
   (package
     (name "rust-tracing-futures")