Subject: [PATCH 066/228] gnu: Add rust-opentelemetry-http-0.10.

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

* gnu/packages/crates-web.scm (rust-opentelemetry-http-0.10): Add variable.

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

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 9c0e729457..ef78621eb8 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3372,6 +3372,35 @@ (define-public rust-nickel-0.11
 @code{express} framework for JavaScript.")
     (license license:expat)))
 
+(define-public rust-opentelemetry-http-0.10
+  (package
+    (name "rust-opentelemetry-http")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opentelemetry-http" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17irqlgsqr1f0in5rhvgl224x2gdcycy8w3ybydlyrdyx2f1hlbz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-hyper" ,rust-hyper-0.14)
+                       ("rust-isahc" ,rust-isahc-1)
+                       ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+                       ("rust-reqwest" ,rust-reqwest-0.11)
+                       ("rust-surf" ,rust-surf-2)
+                       ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/open-telemetry/opentelemetry-rust")
+    (synopsis "Helpers for exchange of traces and metrics over HTTP")
+    (description
+     "This package provides helper implementations for exchange of traces
+and metrics over HTTP.")
+    (license license:asl2.0)))
+
 (define-public rust-reqwest-0.11
   (package
     (name "rust-reqwest")
-- 
2.41.0