aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-02-18 22:03:04 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:42:30 +0300
commita37d360731aef7eaee60515c89a3da809bf89479 (patch)
treeef1e758c04d9a629a84ea0cd04a21ab24b4e90bb
parenta3d39426f8495bc8b585a5dc1e606cea20eaab5f (diff)
downloadguix-a37d360731aef7eaee60515c89a3da809bf89479.tar.gz
guix-a37d360731aef7eaee60515c89a3da809bf89479.zip
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>
-rw-r--r--gnu/packages/crates-web.scm29
1 files changed, 29 insertions, 0 deletions
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")