aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-21 23:44:14 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-05 21:14:15 +0100
commit439d39f851940a7b02b41626b9baec1ed41039fd (patch)
tree6bf07a7f3cf50a6bfa85a98641f820e97c88db43 /gnu
parentdaad21142ec076fc86f6e7db7745d3dd15915a27 (diff)
downloadguix-439d39f851940a7b02b41626b9baec1ed41039fd.tar
guix-439d39f851940a7b02b41626b9baec1ed41039fd.tar.gz
gnu: Add rust-tracing-subscriber-0.2.
* gnu/packages/crates-io.scm (rust-tracing-subscriber-0.2): New variable. (rust-tracing-subscriber-0.1): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm73
1 files changed, 56 insertions, 17 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d5c502fb85..f77c6b0f96 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36086,8 +36086,63 @@ with tracing (optional, enabled by the env-logger feature).
with @code{serde}.")
(license license:expat)))
+(define-public rust-tracing-subscriber-0.2
+ (package
+ (name "rust-tracing-subscriber")
+ (version "0.2.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tracing-subscriber" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "009lxq14kmakv16sh6r7fy0264xbvs81kg6yr57lwnaciw68zym1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #false ;missing test files
+ #:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-matchers" ,rust-matchers-0.0)
+ ("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-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))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("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)))
+
(define-public rust-tracing-subscriber-0.1
(package
+ (inherit rust-tracing-subscriber-0.2)
(name "rust-tracing-subscriber")
(version "0.1.6")
(source
@@ -36099,7 +36154,6 @@ with @code{serde}.")
(sha256
(base32
"0i9fhlyz8mn2znpgmi5bv9y24pwpkkgfxs0rwcf6dl6djmjs2b0r"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Some test files missing.
#:cargo-inputs
@@ -36117,22 +36171,7 @@ with @code{serde}.")
(("rust-criterion" ,rust-criterion-0.3)
("rust-log" ,rust-log-0.4)
("rust-tracing" ,rust-tracing-0.1)
- ("rust-tracing-log" ,rust-tracing-log-0.1))))
- (home-page "https://tokio.rs")
- (synopsis "Implement and compose tracing subscribers")
- (description
- "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-traitobject-0.1
(package