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
This commit is contained in:
Efraim Flashner 2024-02-08 10:28:21 +02:00
parent c0d3c0ccae
commit 89946e1dd2
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -71060,34 +71060,28 @@ (define-public rust-tracing-futures-0.2
@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 @@ (define-public rust-tracing-log-0.1
@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")