guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

268/311: gnu: Add rust-tracing-error-0.2.


From: guix-commits
Subject: 268/311: gnu: Add rust-tracing-error-0.2.
Date: Sat, 28 Oct 2023 16:39:35 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 67e8195220ccf022ff1d788d52ff1d02bd8a4656
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Oct 28 09:57:41 2023 +0300

    gnu: Add rust-tracing-error-0.2.
    
    * gnu/packages/crates-io.scm (rust-tracing-error-0.2): New variable.
    
    Change-Id: I08295c6b48a58ef2d7c55d8f62646b1039d38581
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9356445d8c..8c7fc299eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80154,6 +80154,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]