From patchwork Sat Jan 11 01:57:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Moore X-Patchwork-Id: 36897 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F129827BBE9; Sat, 11 Jan 2025 02:02:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8076627BBE2 for ; Sat, 11 Jan 2025 02:02:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWQpD-0001Yy-Nt; Fri, 10 Jan 2025 21:02:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tWQp9-0001YG-Us for guix-patches@gnu.org; Fri, 10 Jan 2025 21:02:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tWQp9-0007WC-Lm for guix-patches@gnu.org; Fri, 10 Jan 2025 21:02:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=z2FbO7yppCK2EO7rbr9NB0SghXuUf3nejaK2X+kVGVE=; b=HFHItnN8Xb/twwrIh1ccXvzQ3ilj84O90qzUP7ZXY7uk4oh4qYXr8SHAQ2FZY1JtI9mWBtH001/LI9elcSNlhL9zbw/VJJPHOy0EtFYqjdqNrlro/T3YIDPOw5AdaJ5wpKWtfHCmo6tXwyw0vBnn3+sPuf4iXO60yU8Pv2uV/Npgc0DvU5OLv5bGSUa/1wZtkC6DBVX/bL4TtV89J9gcNhPVaAdJbd3LLEJVYRUdv4zTGevVsd7dADCT+R8x60ElB/ilW08/djkRoyhCqlPzr4Fuh4MAtr4YrCDLVVRvPhxvx8dxZjBCb43qt5szAulkjmha/IxknWEuE1/f6K+6Zg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tWQp9-00054x-EM; Fri, 10 Jan 2025 21:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75127] [PATCH v6 22/44] gnu: Add rust-console-subscriber-0.4. Resent-From: Jordan Moore Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 11 Jan 2025 02:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75127 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75127@debbugs.gnu.org Cc: Jordan Moore , Divya Ranjan Pattanaik , Efraim Flashner X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik , Efraim Flashner Received: via spool by 75127-submit@debbugs.gnu.org id=B75127.173656087219317 (code B ref 75127); Sat, 11 Jan 2025 02:02:03 +0000 Received: (at 75127) by debbugs.gnu.org; 11 Jan 2025 02:01:12 +0000 Received: from localhost ([127.0.0.1]:40597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWQoJ-00051T-6U for submit@debbugs.gnu.org; Fri, 10 Jan 2025 21:01:11 -0500 Received: from fout-b6-smtp.messagingengine.com ([202.12.124.149]:54757) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWQn4-0004kh-UH for 75127@debbugs.gnu.org; Fri, 10 Jan 2025 20:59:56 -0500 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id 69F2211401A7; Fri, 10 Jan 2025 20:59:49 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Fri, 10 Jan 2025 20:59:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=struct.foo; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1736560789; x= 1736647189; bh=z2FbO7yppCK2EO7rbr9NB0SghXuUf3nejaK2X+kVGVE=; b=d YHE9VDl1IZZoxDHL4wE3TWHPmTO0IONpcO0EUmwETSbDkAWhLwr5tJpzt9Ql4pfw ktbLv1GTNVDcRH/r4fSDtZkbWpTCv1dlWG4k5/PUtJvb8Bz+g72vjOyrwi6ESqS1 FA4wAvlASnII5uh1vr+2GYSEgFwiOF3cFfNPQWzIUkViT+HtMlhAH9ILGbGB+yIE 9BJMEOBLsRuta3PC4XHguJyrc/2uGdQLFsTd+OtJ8mqbj1b/Lz9o02LeknibELSJ Hwp16hRJzCRQqrLzOTnpnqxOt267E2yAqyveXXlVV/5nPbY7W/wbJr8WEZqmz5F/ Rpm1swP8Iiy1GIw75iAlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1736560789; x=1736647189; bh=z 2FbO7yppCK2EO7rbr9NB0SghXuUf3nejaK2X+kVGVE=; b=gwKDiIyr4hXHQt5vc AF2SjAdwWhQdPoQB7yYQpii/fawtwtDGtvQqDW7IXN3zl+Iv3BwajPcH4S9D4PwD NAYmo/4j+v7ySd6LrrPZBk20oduWk4kGg4JOUu8MH/ksBkgDHceS59R5enkIyrO+ oQCsUlgfN/mmJWPn+q/bMTvU1KZxyApnR9aEMP5YmL+P9nMDKtehIvqvFw6fWs26 yTfuYahG41Q05huKWyW0M/ccXExMT9+YZNbQFRJ29NwNs8m/q2kXcgH03LsODj5e jrxTlv3YRib/hvAuz9xMghySz4OxAm1u4B2HBq3chLcHpto8/LZb76V3T8aFHM6F nEEPA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegledggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeflohhruggrnhcuofhoohhrvgcu oehlohgtkhgsohigsehsthhruhgtthdrfhhooheqnecuggftrfgrthhtvghrnhepvdfffe eileduffffvedukeduveeuieehudeiuedtveejkeffhefghedtledtudehnecuffhomhgr ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehlohgtkhgsohigsehsthhruhgtthdrfhhoohdpnhgspghrtghp thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehuddvjeesuggvsg gsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehlohgtkhgsohigsehsthhruhgtthdr fhhooh X-ME-Proxy: Feedback-ID: i4d1648a8:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Jan 2025 20:59:48 -0500 (EST) From: Jordan Moore Date: Fri, 10 Jan 2025 20:57:34 -0500 Message-ID: <3951fc0d02c40bc6324f3aa6e83ee212cf79921a.1736560483.git.lockbox@struct.foo> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-console-subscriber-0.4): New variable. Change-Id: Ia55d624077cc1e4ef049b44c3e661f1440f47f4d --- gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 43f0baed27..0658cb22ff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15266,6 +15266,58 @@ (define-public rust-console-log-0.2 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-web-sys" ,rust-web-sys-0.3)))))) +(define-public rust-console-subscriber-0.4 + (package + (name "rust-console-subscriber") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "console-subscriber" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00badn9pjwbfd985vc7ngl7ai6mc3q58c3q43i5izlscdafalfb5")))) + (build-system cargo-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + ;; ensure tokio_unstable is added to env + ;; so that tokio-console features get added to build + (add-before 'build 'enable-tokio-unstable + (lambda _ + (setenv "RUSTFLAGS" + (string-append (getenv "RUSTFLAGS") + ;; note the ' ', dont clobber + ;; prior args + " --cfg tokio_unstable"))))) + #:cargo-inputs (("rust-console-api" ,rust-console-api-0.8) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-futures-task" ,rust-futures-task-0.3) + ("rust-hdrhistogram" ,rust-hdrhistogram-7) + ("rust-humantime" ,rust-humantime-2) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prost" ,rust-prost-0.13) + ("rust-prost-types" ,rust-prost-types-0.13) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thread-local" ,rust-thread-local-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tonic" ,rust-tonic-0.12) + ("rust-tonic-web" ,rust-tonic-web-0.12) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-core" ,rust-tracing-core-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page + "https://github.com/tokio-rs/console/blob/main/console-subscriber") + (synopsis + "`tracing-subscriber::Layer` for collecting Tokio console telemetry.") + (description + "This package provides a `tracing-subscriber::Layer` for collecting Tokio console +telemetry.") + (license license:expat))) + (define-public rust-const-cstr-0.3 (package (name "rust-const-cstr")