guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

203/330: gnu: Add rust-opentelemetry-http-0.10.


From: guix-commits
Subject: 203/330: gnu: Add rust-opentelemetry-http-0.10.
Date: Mon, 18 Mar 2024 07:16:12 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit d57cf4072d324b1284f6a59b5a1883b30d819cda
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:03:04 2024 +0100

    gnu: Add rust-opentelemetry-http-0.10.
    
    * gnu/packages/crates-web.scm (rust-opentelemetry-http-0.10): Add variable.
    
    Change-Id: I844777d690983a32fb07b0a97e1f428ac7cc7912
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 0d188a2aab..7172898f4e 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3715,6 +3715,35 @@ applications written in Rust.  Its API is inspired by 
the popular
 @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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]