guix-commits
[Top][All Lists]
Advanced

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

35/63: gnu: Add rust-tracing-log-0.2.


From: guix-commits
Subject: 35/63: gnu: Add rust-tracing-log-0.2.
Date: Thu, 8 Feb 2024 14:09:39 -0500 (EST)

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

commit 7885681657082b14610ddbaeb6071edb494dc046
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 8 10:28:21 2024 +0200

    gnu: Add rust-tracing-log-0.2.
    
    * gnu/packages/crates-io.scm (rust-tracing-log-0.2): New variable.
    (rust-tracing-log-0.1): Inherit from rust-tracing-log-0.2.
    
    Change-Id: I374b4cfc54ed42809b9a11ed4581d1b4a0b32821
---
 gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++----------------
 1 file changed, 34 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 099bb8b780..a663209156 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71060,34 +71060,28 @@ Chrome-style traces.")
 @code{futures} with @code{tracing}.")
     (license license:expat)))
 
-(define-public rust-tracing-log-0.1
+(define-public rust-tracing-log-0.2
   (package
     (name "rust-tracing-log")
-    (version "0.1.3")
+    (version "0.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "tracing-log" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "08prnkxq8yas6jvvjnvyx5v3hwblas5527wxxgbiw2yis8rsvpbq"))))
+        (base32 "1hs77z026k730ij1a9dhahzrl0s073gfa2hm5p0fbl0b80gmz1gf"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-ahash" ,rust-ahash-0.7)
-        ("rust-env-logger" ,rust-env-logger-0.7)
-        ("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-log" ,rust-log-0.4)
-        ("rust-lru" ,rust-lru-0.7)
-        ("rust-tracing-core" ,rust-tracing-core-0.1))
-       #:cargo-development-inputs
-       (("rust-criterion" ,rust-criterion-0.3)
-        ("rust-tracing" ,rust-tracing-0.1))))
+     `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-lru" ,rust-lru-0.7)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-tracing-core" ,rust-tracing-core-0.1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+                                   ("rust-tracing" ,rust-tracing-0.1))))
     (home-page "https://tokio.rs";)
-    (synopsis
-     "Provides compatibility between tracing the log crates")
+    (synopsis "Provides compatibility between the tracing and the log crate")
     (description
      "Tracing is a framework for instrumenting Rust programs with
 context-aware, structured, event-based diagnostic information.  This crate
@@ -71106,6 +71100,28 @@ with tracing (optional, enabled by the env-logger 
feature).
 @end itemize")
     (license license:expat)))
 
+(define-public rust-tracing-log-0.1
+  (package
+    (inherit rust-tracing-log-0.2)
+    (name "rust-tracing-log")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tracing-log" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08prnkxq8yas6jvvjnvyx5v3hwblas5527wxxgbiw2yis8rsvpbq"))))
+    (arguments
+     `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7)
+                       ("rust-env-logger" ,rust-env-logger-0.7)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-lru" ,rust-lru-0.7)
+                       ("rust-tracing-core" ,rust-tracing-core-0.1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+                                   ("rust-tracing" ,rust-tracing-0.1))))))
+
 (define-public rust-tracing-serde-0.1
   (package
     (name "rust-tracing-serde")



reply via email to

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