diff options
author | Z572 <873216071@qq.com> | 2022-01-12 23:27:37 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-21 00:11:54 +0100 |
commit | 7af3abc2e0bf98821ff13221f6f4f01cc8786d2a (patch) | |
tree | b8cb177fe8565944504624eeb9c832838ebc5f38 /gnu | |
parent | 23af3d5a6f66e4da71cb346937ae4e8fbefbee9a (diff) | |
download | guix-7af3abc2e0bf98821ff13221f6f4f01cc8786d2a.tar guix-7af3abc2e0bf98821ff13221f6f4f01cc8786d2a.tar.gz |
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>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 64 |
1 files changed, 48 insertions, 16 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bac0df9518..1933150844 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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 |