aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-19 23:53:32 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:29 +0100
commit1f7f45efe573cf8f51d179c943df2edfee5a8199 (patch)
tree9517a220eae685c20e9eb860e684839a80d2ce0c /gnu/packages
parenta9b521f499e1991ff629dceedfa73d4da3f2fb98 (diff)
downloadguix-1f7f45efe573cf8f51d179c943df2edfee5a8199.tar.gz
guix-1f7f45efe573cf8f51d179c943df2edfee5a8199.zip
gnu: Add rust-async-log-1.
* gnu/packages/crates-io.scm (rust-async-log-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40f5d80a59..d9f7ebd6e5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1220,6 +1220,30 @@ standard library.")
and Rust's modern asynchronous IO types.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-log-1
+ (package
+ (name "rust-async-log")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-log" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16ymra7f8169br9ss9m9n4l6rjcav9ns6r9mv4nr4r9i9wq37fpm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-log-attributes" ,rust-async-log-attributes-1)
+ ("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-log" ,rust-log-0.4))))
+ (home-page "https://github.com/async-rs/async-log")
+ (synopsis "Async tracing capabilities for the @code{log} crate")
+ (description
+ "This crate provides extension types and hooks to @code{log} to enable
+asynchronous logging.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-async-log-attributes-1
(package
(name "rust-async-log-attributes")