Commit Message
Herman Rimm
April 28, 2024, 6:54 p.m. UTC
* gnu/packages/crates-web.scm (rust-opentelemetry-sdk-0.21): Add variable. Change-Id: Idfbe37a037dc81793c88a8f74bf1362976be7e0b --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 863fcbf594..ac8ec15e66 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48952,6 +48952,50 @@ (define-public rust-opentelemetry-0.21 framework.") (license license:asl2.0))) +(define-public rust-opentelemetry-sdk-0.21 + (package + (name "rust-opentelemetry-sdk") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "opentelemetry_sdk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r7gw2j2n800rd0vdnga32yhlfmc3c4y0sadcr97licam74aw5ig")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-glob" ,rust-glob-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-opentelemetry" ,rust-opentelemetry-0.21) + ("rust-opentelemetry-http" ,rust-opentelemetry-http-0.10) + ("rust-ordered-float" ,rust-ordered-float-4) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-pprof" ,rust-pprof-0.13)))) + (home-page "https://github.com/open-telemetry/opentelemetry-rust") + (synopsis "SDK for the OpenTelemetry framework") + (description + "This package provides the SDK for the @code{OpenTelemetry} metrics +collection and distributed tracing framework.") + (license license:asl2.0))) + (define-public rust-opml-1 (package (name "rust-opml")