Subject: [PATCH 104/228] gnu: Add rust-opentelemetry-stdout-0.2.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:07:54 +0100

* gnu/packages/crates-io.scm (rust-opentelemetry-stdout-0.2): Add
variable.

Change-Id: I962fce6e734d19a362393f33a6adad58d5c1f409
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36b534e767..667ca26cec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44583,6 +44583,35 @@ (define-public rust-opentelemetry-semantic-conventions-0.13
 @code{OpenTelemetry}.")
     (license license:asl2.0)))
 
+(define-public rust-opentelemetry-stdout-0.2
+  (package
+    (name "rust-opentelemetry-stdout")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opentelemetry-stdout" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gpnf02d7aidj7008w0sggxchh53bdr0ca68k84pdharrps2sfy1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+                       ("rust-opentelemetry-sdk" ,rust-opentelemetry-sdk-0.21)
+                       ("rust-ordered-float" ,rust-ordered-float-4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-thiserror" ,rust-thiserror-1))
+       #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+    (home-page
+     "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-stdout")
+    (synopsis "OpenTelemetry exporter for stdout")
+    (description "An @code{OpenTelemetry} exporter for stdout.")
+    (license license:asl2.0)))
+
 (define-public rust-opml-1
   (package
     (name "rust-opml")
-- 
2.41.0