From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id wJVfO9bTgWfvDAAAe85BDQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 02:13:43 +0000
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id wJVfO9bTgWfvDAAAe85BDQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 03:13:43 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=HFHItnN8;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="d YHE9VD";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=gwKDiIyr;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org";
	dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=struct.foo (policy=none)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1736561622;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=z2FbO7yppCK2EO7rbr9NB0SghXuUf3nejaK2X+kVGVE=;
	b=DgbYmOsP9vW7FyFvGWDzV/2SncnLtgmqgyjxVpGZi0ANkpEVo5OyPBgLbiUpXxRuoDNRLR
	N8RIE0mB0dY9W61yILeeRGQCADgaG5oEoBwLGKk9BfQiTGQG/u2g3rov92WnRcTAjyOeS/
	AqfOLfnt7yyv74ijQLU+k3hHIw8UQVhaUJTlwyXTg6HN0Ca5my/0TOY4axgd1NUwvHC/Um
	as0tU1ym+f7eiuDM20+5dlmZLIf8eLOQDItC7r6RsgoCkQC8hJTjrBlXExxq+sRfNMe7Jo
	DReo06EfudB7MMENC0giymuDp0ez3o15aN4mrmJSNNLcDpoKjIZjMka0MpgfZQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=HFHItnN8;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="d YHE9VD";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=gwKDiIyr;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org";
	dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=struct.foo (policy=none)
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736561622; a=rsa-sha256; cv=none;
	b=tveuA85JKhgmiKMhNlBLgZk48x5qcvswJa/BmX80vwvBBCYML1HsbNgtEwjdiHXIWbqKB0
	fFYiZ79Be5oyeSRXZlCEEjX5nznIKOI/IMNTiVRD7S3VLF9qliUmcFlxPMyD1FVA1JVRQl
	HO41R3qonfmVc/nFfvAXu/PoSGo6N1iVL5qeoLBbHitr8h0EKygxsEVUTU8WHDhyqlstnS
	TSvCFdhdGzwz5SUHGVOZNUzEObEQDi+RdFYgcLZCujsVCS2v/o1CWt6ePvfX9hmYhT37he
	zn+IFexuGlUBqKOkvHLZrsR+nIxqT0QtzswZnEq9lEehqfKOR9SKzek+du822g==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 809CC7AC14
	for <larch@yhetil.org>; Sat, 11 Jan 2025 03:13:42 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	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 <Debian-debbugs@debbugs.gnu.org>)
 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 <Debian-debbugs@debbugs.gnu.org>)
 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 <Debian-debbugs@debbugs.gnu.org>)
 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 <lockbox@struct.foo>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
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: <handler.75127.B75127.173656087219317@debbugs.gnu.org>
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 <lockbox@struct.foo>,
 Divya Ranjan Pattanaik <divya@subvertising.org>,
 Efraim Flashner <efraim@flashner.co.il>
X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik <divya@subvertising.org>,
 Efraim Flashner <efraim@flashner.co.il>
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 <debbugs-submit-bounces@debbugs.gnu.org>)
 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 <lockbox@struct.foo>)
 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: <xms:lNCBZzSM-YyKO_IpCuGEVOigqHK5saDWmZgMA5gbqiXRkvIAyPZ9Qg>
 <xme:lNCBZ0yGHdp4rbptLmcayQV7MLRKHstUxLChNG451ZLJffbbNRdfeaZe0IJ3c6r9x
 ol4CPkTzxPRldy-qoI>
X-ME-Received: <xmr:lNCBZ43OqhKRiVpxm8MxzLbwAZsMDOBTnBzy6uljUY8sRYx5e9elAw0VEBdtFc1LUdM>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegledggeduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf
 ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeflohhruggrnhcuofhoohhrvgcu
 oehlohgtkhgsohigsehsthhruhgtthdrfhhooheqnecuggftrfgrthhtvghrnhepvdfffe
 eileduffffvedukeduveeuieehudeiuedtveejkeffhefghedtledtudehnecuffhomhgr
 ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpehlohgtkhgsohigsehsthhruhgtthdrfhhoohdpnhgspghrtghp
 thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehuddvjeesuggvsg
 gsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehlohgtkhgsohigsehsthhruhgtthdr
 fhhooh
X-ME-Proxy: <xmx:lNCBZzAMLF1YCiMwLawhGXVMoy_KRaUGZqPp8motq1uoOjy7qTWlNg>
 <xmx:lNCBZ8gUOFff7Nt9T33nAgFuDRo7k0UqHfSDRoooYYQarcitWiV5WQ>
 <xmx:lNCBZ3ol055WZZkJ2Myr-ssYBbD_8w9fD6qK7X9O9oFfIuRIrLDqPQ>
 <xmx:lNCBZ3giqB5ig4TucALgugRp3_kiWL4nl3XmyGq6PPRi6UPXXwYG8A>
 <xmx:ldCBZ_vy1QgLbkLQBImXACryBQwV3UdjFVcwOT_lt_IjII9JycxTkDXj>
Feedback-ID: i4d1648a8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 10 Jan 2025 20:59:48 -0500 (EST)
From: Jordan Moore <lockbox@struct.foo>
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: <cover.1736560482.git.lockbox@struct.foo>
References: <cover.1736560482.git.lockbox@struct.foo>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: guix-patches-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Scanner: mx11.migadu.com
X-Migadu-Spam-Score: 0.91
X-Spam-Score: 0.91
X-Migadu-Queue-Id: 809CC7AC14
X-TUID: FShBObXdyITl

* 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")
-- 
2.46.0