diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-20 11:32:33 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:42:00 +0530 |
commit | cb1763263ee46d3425331597abd68862a5df8a6c (patch) | |
tree | b43df77ea291a2b3436a94eb71e81e2ab2bc5f77 | |
parent | 1c10a2966ee5ac23669440c9d86491dba44ee106 (diff) | |
download | guix-cb1763263ee46d3425331597abd68862a5df8a6c.tar guix-cb1763263ee46d3425331597abd68862a5df8a6c.tar.gz |
gnu: Add rust-tracing-0.1.
* gnu/packages/crates-io.scm (rust-tracing-0.1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index de6b8f00c7..d7bfb9768e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28197,6 +28197,35 @@ server @code{Service} tests.") @code{Service}.") (license license:expat))) +(define-public rust-tracing-0.1 + (package + (name "rust-tracing") + (version "0.1.20") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hwgbyflibmsz7x6v7ndchnx1qvv43pg18419ji2y7pflzkmngbi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-tracing-attributes" ,rust-tracing-attributes-0.1) + ("rust-tracing-core" ,rust-tracing-core-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4)))) + (home-page "https://tokio.rs") + (synopsis "Application-level tracing for Rust") + (description "@code{rust-tracing} is a framework for instrumenting Rust +programs to collect structured, event-based diagnostic information.") + (license license:expat))) + (define-public rust-tracing-core-0.1 (package |