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:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id gJT8IBiTgmcxOQAA62LTzQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 15:49:44 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id gJT8IBiTgmcxOQAA62LTzQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 16:49:44 +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=b6YDOm2Q;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="Q dOsu5h";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=xaMeZfHn;
	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=1736610584;
	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=EGT7Zb1TEBwYk1Yr1SwCljTZmTfmpaqRaLuFe8I7jqo=;
	b=uUgKFODHKV3Or8/FXj+SCG4iCK+h9B6ntcj46WnJfPUD3qJYaUaN9n97RW0DXlQbfCpA9E
	kOZP4ANLsywFs8lb5xUrJUVETn259biYpfMYRtks7U/Zhc5PvnKawD7ZLzYIBncehRna30
	U7Mg/u1/bDqNQGiuHilRf85WUbR9GUyE3dGwk0aHuDfpsXQ/gsK+ePUkvmCrHJ/w46KoTF
	HxUEXjZb/HMZUJsSDQ8yxDQ0MhXwkrNH+C9E2vMG0mXS3EZ1TYhMbtEk9+yN+v7euOvM23
	UJf8cXHD2ZNUTx5taIl5DSm3MKjRqCEQ0eJDe5TdkrB+ZDI65n7I+9t4Yo1mnw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=b6YDOm2Q;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="Q dOsu5h";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=xaMeZfHn;
	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=1736610584; a=rsa-sha256; cv=none;
	b=eOilx5XziXxgtDrZI35N2DOV5dVxFsXHmviyrCks8G9dZcJPukhfMO+TSMsX3d8RybOosR
	87KlkKONIebMDxVuVVsbmtHCt+y04xy51/txp7tmTNtNb4dHVymdrdFhKizv8L2ZEQ7+EQ
	jzYB+pDGzg1sHmosFbA8ftacA1u7godxd0EWrxxEC+H/QwnrQhHGXfoVWQJ9CaicH6J2VE
	GcPMoqwT4ZCFT4frw4jqgXA2nBPr67fMQo1zYE5cRgTY2oHxBCgre/At8YAvPZ0WWToVMQ
	8ydwy6UtGrkV5TtXw/xLjKgTe5BwqRZsBBuJFI3Q6a8ZkNHjaBM27peaD/oPeg==
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 5420C2152A
	for <larch@yhetil.org>; Sat, 11 Jan 2025 16:49: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 1tWdBJ-0004Uy-Nc; Sat, 11 Jan 2025 10:13:45 -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 1tWdAy-0004JW-4r
 for guix-patches@gnu.org; Sat, 11 Jan 2025 10:13:24 -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 1tWdAx-0001oe-Ry
 for guix-patches@gnu.org; Sat, 11 Jan 2025 10:13:23 -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=EGT7Zb1TEBwYk1Yr1SwCljTZmTfmpaqRaLuFe8I7jqo=; 
 b=b6YDOm2Q6smb3eqhSIVEn/QBj3lVzmFL81czn6Bdv0hS1l79L6oli56qlF3zh/HAl/6icRGJWbGPabJ3na5rZGSrM5EsfkypVnzgQzi/Il3S+vcaG0MV2gxyGOedXkaeoTSK2a2pBIHCD3RWh5kT/nGJPbAIRAnM9nlIPQTwv6BhTrmm8V44FHt0l8Wfk9EPAFb9pcNwJIO8/6C4oZT2IQeEWeXELmPYn87tIELGXn+RiPA3qZjjqAxZXIYSmShUNVDacXL9oGibRgufUeskdfpnHd27o9NVgOTjezj1YIBe9cniSPlsFC7/2+zCT7KP1dkJlQOWuPG7xPLkDPT0iw==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tWdAx-0001xB-Ns; Sat, 11 Jan 2025 10:13:23 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#75127] [PATCH v7 37/44] gnu: Add rust-console-api-0.8.
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:23 +0000
Resent-Message-ID: <handler.75127.B75127.17366083917223@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.17366083917223
 (code B ref 75127); Sat, 11 Jan 2025 15:13:23 +0000
Received: (at 75127) by debbugs.gnu.org; 11 Jan 2025 15:13:11 +0000
Received: from localhost ([127.0.0.1]:44338 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tWdAk-0001sD-Kh
 for submit@debbugs.gnu.org; Sat, 11 Jan 2025 10:13:11 -0500
Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]:60625)
 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 1tWdA8-0001ka-6U
 for 75127@debbugs.gnu.org; Sat, 11 Jan 2025 10:12:32 -0500
Received: from phl-compute-03.internal (phl-compute-03.phl.internal
 [10.202.2.43])
 by mailfout.stl.internal (Postfix) with ESMTP id C099411400E2;
 Sat, 11 Jan 2025 10:12:26 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-03.internal (MEProxy); Sat, 11 Jan 2025 10:12:26 -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=1736608346; x=
 1736694746; bh=EGT7Zb1TEBwYk1Yr1SwCljTZmTfmpaqRaLuFe8I7jqo=; b=Q
 dOsu5hIR5Bpa9mWYL4gaCp0gbhsfqrHaZTcNA2DXywVLaK5SPRUwFp8Du4tc23Hf
 409F4nU2ppJqqRSB4f7buzHx5KIVtW0Qyp0ad6TDEp6Tdd3ktF76r2v8sIWDDvA2
 T5xVfos1JxZKHgN/72WVOMtdWbykq1odrKaqvrcDinSLP+kUExmhEWvg0WhpsZlG
 E77CU+5Bupx7mTpwE2QhdwXH5DOYaTCpk8vbS4y9DQYRUsItAfDs8hBH2OQBqEyn
 yPCY/35NHTk2AEjSH0qWdW7Rj4LAYTKuT/BekCXAE9ktYklvYolJ95ypPxzJxPrs
 NqiaATTLBSt6W1eKK2iLw==
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=1736608346; x=1736694746; bh=E
 GT7Zb1TEBwYk1Yr1SwCljTZmTfmpaqRaLuFe8I7jqo=; b=xaMeZfHnCJ6T9XqNV
 UxQGP/eUAGsrW4PgEDeK9yMyygHnZnZ+onNF0visAxKz2+5S+l+ua3pYgW8a5FJY
 DA0PDATn6NknWFlvKoCfg6ICt1pcAU4H0ee3kQcUKTYh0pHAm9LiCV9hEKk4AODk
 g9k48SlnV3rfrFqekAT6w3gOybnQHhdg1hEr4pWr7wUVXB3oDF8lKSFeLU6KVthH
 PItuomfQn7KdJBh2j/CXgV5Q/FPYHJUIcD6I9qbctK1i8WRvvUaCuPvNPoLzoO02
 pMQNrzRKqnPKmAMd+d4RHzIrP4+EeuOkuEOQ7QLHC1wXqHg2YackNUATOfE8CVwj
 IyqrQ==
X-ME-Sender: <xms:WoqCZ4CayHHYD8Y3RYc6t9AUcikWZ-nXuCQyJYEZnMwEZAy5xdBTEg>
 <xme:WoqCZ6jkLmNre99QgFcrHXZ4ZG8iI9RlRz78qhYk4D6W9xMppGpAuD7TFGzzWIzKT
 uP5oxlul6jmnaQa3c8>
X-ME-Received: <xmr:WoqCZ7mjps7wn99eit1Irsci8d5m0UyGeGppzaEKjJNrGuSEg1-n5DPVMmttW7qmaq8>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehtddgjeduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf
 ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeflohhruggrnhcuofhoohhrvgcu
 oehlohgtkhgsohigsehsthhruhgtthdrfhhooheqnecuggftrfgrthhtvghrnhepvdfffe
 eileduffffvedukeduveeuieehudeiuedtveejkeffhefghedtledtudehnecuffhomhgr
 ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmh
 epmhgrihhlfhhrohhmpehlohgtkhgsohigsehsthhruhgtthdrfhhoohdpnhgspghrtghp
 thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehuddvjeesuggvsg
 gsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehlohgtkhgsohigsehsthhruhgtthdr
 fhhooh
X-ME-Proxy: <xmx:WoqCZ-xXe1W6TnguklsvAUl3LwzmWssTelMngIS7t1Z_Qpr5W5iQuQ>
 <xmx:WoqCZ9Q7VigJavIPiXjKFqYhj96pPo9wIe5p4CgF8AwE4xHVWate9Q>
 <xmx:WoqCZ5aNziZXDtjVTS0YlC0XtqV55YZMEl2_H1uQY68dQLdzyGSfxQ>
 <xmx:WoqCZ2SeDCYLo189RWMrPX43vJ2h8app_L9gARAOTmKSTSFszYP0nw>
 <xmx:WoqCZ4dvtdBlH86EVHAKSvNmRZahhgSN9Ula2Q66DDrrfRXmpNE1cJvZ>
Feedback-ID: i4d1648a8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 11 Jan 2025 10:12:26 -0500 (EST)
From: Jordan Moore <lockbox@struct.foo>
Date: Sat, 11 Jan 2025 10:11:27 -0500
Message-ID: <9baf2cce87dd02cbebf144c29a1e71a26a4b36f1.1736607644.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: mx12.migadu.com
X-Migadu-Spam-Score: 2.32
X-Spam-Score: 2.32
X-Migadu-Queue-Id: 5420C2152A
X-TUID: 1D9GvgiISBsU

* gnu/packages/crates-io.scm (rust-console-api-0.8): New variable.

Change-Id: Ib63704d92bed9fef827b9f976e7e9a9979bbf0b2
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7020d57f2f..351e0a5e82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15199,6 +15199,38 @@ (define-public rust-console-0.7
      "This package provides a terminal and console abstraction for Rust.")
     (license license:expat)))
 
+(define-public rust-console-api-0.8
+  (package
+    (name "rust-console-api")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "console-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mr8xkzcb7mrcm2ca0ah1sj21rhpk207klscnql884hdrdg76c40"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--"
+                            ;; test will fail if source is not commited into a git repo,
+                            ;; using the git clone instead of crate-uri for crate source
+                            ;; requires pulling in all the dependencies for the Cargo.lock
+                            "--skip=bootstrap")
+       #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-prost" ,rust-prost-0.13)
+                       ("rust-prost-build" ,rust-prost-build-0.13)
+                       ("rust-prost-types" ,rust-prost-types-0.13)
+                       ("rust-tonic" ,rust-tonic-0.12)
+                       ("rust-tonic-build" ,rust-tonic-build-0.12)
+                       ("rust-tracing-core" ,rust-tracing-core-0.1))))
+    (native-inputs (list protobuf git))
+    (home-page "https://github.com/tokio-rs/console/blob/main/console-api")
+    (synopsis "Protobuf wire format bindings for the Tokio console.")
+    (description "This package provides Protobuf wire format bindings for
+the Tokio console.")
+    (license license:expat)))
+
 (define-public rust-console-error-panic-hook-0.1
   (package
     (name "rust-console-error-panic-hook")
-- 
2.46.0