From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.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 oByPDgmUgmc0SwAA62LTzQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 15:53:45 +0000
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id oByPDgmUgmc0SwAA62LTzQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 16:53:45 +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=mzkDK4Lp;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="m Hazp0W";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=gLbTdSu6;
	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=1736610825;
	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=ygFiKiLE/ELAZWi05PuNnJM1R546mpR759FDyVtucyI=;
	b=j+UfTKRMwm6LUU9zDM7l11Dwb0PxiroDjhJEVT0XEqYHPecM4oXBzROCRnzYm94spHl3Oz
	n1zteSIqEvLM3MCGuOJGNUxib9OmaYh3LoGcRrpKBa5XDCMdHbKQVDmK+jwcMYBaeypTIp
	um5MXtty9ZSPMy0mfii2iP18q+JEcdjCaEzbNi9Y4+L2GaFjlEy+HTLKZkwWp58+w/1+HP
	pYHEbaicQQT70bjV9NacenQon81s/PE/5y0bKUMicPJnIXzYftFZ9PQc0/5i0e5CH1ccTW
	IGF9NkvwfHShvH8fD6YtMSBAbuO6Ooeq95up7BxehyXsDsu9VZ7vHr0ROzEJnw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=mzkDK4Lp;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="m Hazp0W";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=gLbTdSu6;
	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=1736610825; a=rsa-sha256; cv=none;
	b=d7BPjRT8jKfMi1d8/mzE58WEAecRv80kpiQz8ZT97z0qlIWyuDzyrZlp7el0ETIkQuJoAX
	hIiWLeb8w3bINSLidXr+8OYErEpe7TA0LTYZNqzknF18akSctq/Qa3Xk/jOOtPAgTc7rnW
	CaMwb2jzL3bRGlDFB06CpbZNhFnOtC84qurykTMb3Cidp02t+WZ9PuXRO6dVtMVWdNfYZQ
	5KoXpUCO4rG8G/J2x8fZ3NEsTyFG+pjX9ss3oS3/UJ1hDaq8gMrZj9JubvocgkL7CNLPUh
	40hz9y44nM1eSIocD0mifpfU28l+pnKu7qBpf0DutlUgdTMQQvxdPCjtlKYqng==
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 D690C8AD7E
	for <larch@yhetil.org>; Sat, 11 Jan 2025 16:53:44 +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 1tWdAv-0004Hp-LF; Sat, 11 Jan 2025 10:13:23 -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 1tWdAq-0004F9-TS
 for guix-patches@gnu.org; Sat, 11 Jan 2025 10:13:17 -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 1tWdAq-0001mm-KW
 for guix-patches@gnu.org; Sat, 11 Jan 2025 10:13:16 -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=ygFiKiLE/ELAZWi05PuNnJM1R546mpR759FDyVtucyI=; 
 b=mzkDK4Lp0QO3V1P3/AQrwQ/cBrtHYtbFxU1x/nhiqTWU5o8I8DirBrsuKkM0/KEPt5oktJTmDEI0eB0F8NVVcoQ4ThNpdY/0O+WRvivrPFC7R51ffFokWxncEfCe04g+3rRjM+rY8SVsKXJMe4humYyIXsIWylayKZWyVx9Bthum/Tr429s1S8SH100oLunG7/x4zhNnGSjE1ZdPhaZsJYe/pYCnyRzPV22EylKI5bPH3uJehQBj4E5vntuexGFmQu7I7JGVNuabbfpUfkA0udw40lK1owyyc2djDitehzPOUUHN2mrQA9HIV3HhXkRzu4oV1aj6c5i9RMUXN6nisw==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tWdAq-0001uc-GP; Sat, 11 Jan 2025 10:13:16 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#75127] [PATCH v7 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 15:13:16 +0000
Resent-Message-ID: <handler.75127.B75127.17366083826988@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.17366083826988
 (code B ref 75127); Sat, 11 Jan 2025 15:13:16 +0000
Received: (at 75127) by debbugs.gnu.org; 11 Jan 2025 15:13:02 +0000
Received: from localhost ([127.0.0.1]:44272 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tWdAc-0001oT-6V
 for submit@debbugs.gnu.org; Sat, 11 Jan 2025 10:13:02 -0500
Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]:56277)
 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 1tWd9w-0001iD-MJ
 for 75127@debbugs.gnu.org; Sat, 11 Jan 2025 10:12:21 -0500
Received: from phl-compute-06.internal (phl-compute-06.phl.internal
 [10.202.2.46])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 484602540137;
 Sat, 11 Jan 2025 10:12:15 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-06.internal (MEProxy); Sat, 11 Jan 2025 10:12:15 -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=1736608335; x=
 1736694735; bh=ygFiKiLE/ELAZWi05PuNnJM1R546mpR759FDyVtucyI=; b=m
 Hazp0W6B3dRcYYkESD+CkoaB5jDrtAZO0FNAvZoKb81wosjuKGpDVk6uFFbo+Pfi
 zfY8KQO32kJ/VDupTbRM4R54atLClbV67qCi1sbRSb7ii/SRl/lf7lpbjteno6wR
 BbD5QV9ukKLE2Tm3fqDMM01YKlxF14QARD+wadrT3HuRMqtUV9fubU4Dr85qmNBV
 hsFUqubJpTm/Y+oYn6HGM925TfYMWGZU/exQqF6w0CC63Ro0jH763EfsxIkFkDFq
 lS/AA+8Nk+6z55701TiTA50gzcdxCESI2LfZG8/bZuwZ+NoxcsisyJhsbryjQd7q
 b6dMMiGYHTA3cyNUg5oUQ==
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=1736608335; x=1736694735; bh=y
 gFiKiLE/ELAZWi05PuNnJM1R546mpR759FDyVtucyI=; b=gLbTdSu6TXyhcHzu9
 KhALzw7wlSlmYhg2rHQ+/0tQX4buKdlLcJuXVBuVx/9yAEtSJGMQnK82PbGcIvm3
 gPWw1MY9QpOLIeGuLxlTLikFGY22ufENTGzY9/LUNkxo4e8FsssuHljfEiTQFfZ6
 4PExjUoEkN7vFt1X1fvqsyi/2ySvOhs8wX83HClC7H+ilyXeY+y+BZ5OyZBnPHl9
 dijR5zzI9DZ6gCWb7kOT2AkkFdtVJtw8xunJQLlEQXDNfOayVIT8OJ8pgT155Irr
 Go2mUGFm7wC00d0QE5GO00uSlncXj3N1W2Q79Sel/lVt7LJ3NR1YUbWYnZs+dPHJ
 DCuOQ==
X-ME-Sender: <xms:ToqCZ59Yo3Sfr1YW5kO6b747n2QlI1IwAcH1aXx-P0Iv4FLOoXmFVw>
 <xme:ToqCZ9uxtUe2J2yGyx3IyhmbsZSLuAsOt1Yz67Mma6eqTTXDGNyJ_kK-yxp_0Sj1R
 qXL-oGPAAbJIG3o-yY>
X-ME-Received: <xmr:ToqCZ3DUa53nn7fSxqik3-5bzOU5WW09U7rXJH27_rHieiofKtGuOwA6bzdY5i6VGyI>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehtddgjeduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf
 ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeflohhruggrnhcuofhoohhrvgcu
 oehlohgtkhgsohigsehsthhruhgtthdrfhhooheqnecuggftrfgrthhtvghrnhepvdfffe
 eileduffffvedukeduveeuieehudeiuedtveejkeffhefghedtledtudehnecuffhomhgr
 ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpehlohgtkhgsohigsehsthhruhgtthdrfhhoohdpnhgspghrtghp
 thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehuddvjeesuggvsg
 gsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehlohgtkhgsohigsehsthhruhgtthdr
 fhhooh
X-ME-Proxy: <xmx:T4qCZ9d_6SP3sbQGc1xY85f8RGgQT0PQEEnis3Rdqh2g1jF-XnaqtA>
 <xmx:T4qCZ-NcvpvAzQODG4XThF17oxYzgkDLRtruqFqvsM7tgys8BAbnzA>
 <xmx:T4qCZ_karFOcXCb9u0uma6H7Zi7y_18E2W8KtHpRAcrv068Owi0w7Q>
 <xmx:T4qCZ4vDrH4TU9zIYbJYiyv25Si9mgHnZz29Ns_s8sSYiktUNpgf5A>
 <xmx:T4qCZ3YD1XUOitP4n07sZrfSwebXJ_HjOz_fdsP-N9Wp_EZjnuMVM8_B>
Feedback-ID: i4d1648a8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 11 Jan 2025 10:12:14 -0500 (EST)
From: Jordan Moore <lockbox@struct.foo>
Date: Sat, 11 Jan 2025 10:11:12 -0500
Message-ID: <d4faf52d9ac39945d4d43e5548989d77bcf7b8c8.1736607643.git.lockbox@struct.foo>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1736607641.git.lockbox@struct.foo>
References: <cover.1736607641.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.12
X-Spam-Score: 0.12
X-Migadu-Queue-Id: D690C8AD7E
X-TUID: ZVn2sdBCPoUc

* 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 62c04daa17..12d89253b6 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 (or (getenv "RUSTFLAGS") "")
+                                             ;; note the ' ', dont clobber
+                                             ;; other 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