Archived
1
0
Fork 0

gnu: Add rust-tracing-subscriber-0.3.

* gnu/packages/crates-io.scm (rust-tracing-subscriber-0.3): New variable.
(rust-tracing-subscriber-0.2): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Z572 2022-01-12 23:27:37 +08:00 committed by Nicolas Goaziou
parent 23af3d5a6f
commit 7af3abc2e0
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -60490,8 +60490,55 @@ with tracing (optional, enabled by the env-logger feature).
with @code{serde}.")
(license license:expat)))
(define-public rust-tracing-subscriber-0.3
(package
(name "rust-tracing-subscriber")
(version "0.3.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "tracing-subscriber" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "157mz6q0ljpragrj4hsv5rchyabsbfc7r0sb0g5rik142jlbz0ax"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-ansi-term" ,rust-ansi-term-0.12)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-matchers" ,rust-matchers-0.1)
("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-regex" ,rust-regex-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-sharded-slab" ,rust-sharded-slab-0.1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thread-local" ,rust-thread-local-1)
("rust-time" ,rust-time-0.3)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-core" ,rust-tracing-core-0.1)
("rust-tracing-log" ,rust-tracing-log-0.1)
("rust-tracing-serde" ,rust-tracing-serde-0.1))))
(home-page "https://tokio.rs")
(synopsis "Implement and compose tracing subscribers")
(description
"This package provides utilities for implementing and composing tracing
subscribers.
Tracing is a framework for instrumenting Rust programs to collect scoped,
structured, and async-aware diagnostics. The Subscriber trait represents the
functionality necessary to collect this trace data. This crate contains tools
for composing subscribers out of smaller units of behaviour, and
batteries-included implementations of common subscriber functionality.
Tracing-subscriber is intended for use by both Subscriber authors and
application authors using tracing to instrument their applications.")
(license license:expat)))
(define-public rust-tracing-subscriber-0.2
(package
(inherit rust-tracing-subscriber-0.3)
(name "rust-tracing-subscriber")
(version "0.2.15")
(source
@ -60527,22 +60574,7 @@ with @code{serde}.")
("rust-tokio" ,rust-tokio-0.2)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-futures" ,rust-tracing-futures-0.2)
("rust-tracing-log" ,rust-tracing-log-0.1))))
(home-page "https://tokio.rs")
(synopsis "Implement and compose tracing subscribers")
(description
"This package provides utilities for implementing and composing tracing
subscribers.
Tracing is a framework for instrumenting Rust programs to collect scoped,
structured, and async-aware diagnostics. The Subscriber trait represents the
functionality necessary to collect this trace data. This crate contains tools
for composing subscribers out of smaller units of behaviour, and
batteries-included implementations of common subscriber functionality.
Tracing-subscriber is intended for use by both Subscriber authors and
application authors using tracing to instrument their applications.")
(license license:expat)))
("rust-tracing-log" ,rust-tracing-log-0.1))))))
(define-public rust-tracing-subscriber-0.1
(package