summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:40:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:08 +0300
commit07a7cd18849b2bc3602a0699f06f445ffb371315 (patch)
tree5071841ebe8f94120b9a7480525f3c1490f2319e /gnu
parent9248ad6db26fdfd600894820463d6264c5584f67 (diff)
downloadguix-07a7cd18849b2bc3602a0699f06f445ffb371315.tar.gz
gnu: Add rust-tracing-core.
* gnu/packages/crates-io.scm (rust-tracing-core): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3a906af89a..2f9608750c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1604,6 +1604,29 @@ fixed set of worker threads.")
     (description "Mock a Tokio task")
     (license license:expat)))
 
+(define-public rust-tracing-core
+  (package
+    (name "rust-tracing-core")
+    (version "0.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tracing-core" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static))))
+    (home-page "https://tokio.rs")
+    (synopsis "Core primitives for application-level tracing")
+    (description
+     "Core primitives for application-level tracing.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-typenum
   (package
     (name "rust-typenum")