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 ECw7OEGUgmem7QAA62LTzQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 15:54:42 +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 ECw7OEGUgmem7QAA62LTzQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 11 Jan 2025 16:54:41 +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=ixWi9pXF;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="Mn2qyZ/Y";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="v de5eeW";
	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=1736610880;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 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=Ue+BhS1hFXp2ZFOqe8wLePc1cqNP2VfiPwiRxi4aVW4=;
	b=St2MqWpB2iRTTthI3WhW6/4zDTxf/ncnKmWdQFTZkEu72Ow4ZEKkJ1lV0Y1nP7kW4XuZ5p
	Axn0WLgzhOBaDOdjYGeuqk1GjG6TyHB945Xt9PuHp0B56pRG7ZHjzX+I2fCO6bi3lLi3nT
	Zf1OaRLoNMD2+SdnJVHfNKjq79MOqnjO9z77TyDgmnBH0TSBGoz2AxP96XknP75fn92odA
	+inekdtQyvJmHVXeZp6HG+lFjaRw//axwdhJaH6vM232gBB6QTgwkPjkOY7NfsbJwuFwo7
	6bPsSQeCIIEGcE9/1py1Bu4zszQCFeGEW2hkWpkR1ZnjBTg55HruWa5SXfwmxA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ixWi9pXF;
	dkim=fail ("headers rsa verify failed") header.d=struct.foo header.s=fm1 header.b="Mn2qyZ/Y";
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="v de5eeW";
	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=1736610880; a=rsa-sha256; cv=none;
	b=dDU5Jvq1jZrXocmgQa3I0Wm462TJZg1whgp4KczW9cKSLyKpwukTCNLELg6biodJ5Rdard
	7ppzVQkkG6OAL/bI7VC8HUr5nZTCfp1p9vGKjJDu5YI1vu+eVu5dxSGxv0BG1UYIPzDupD
	4qanaOFuHFgfOGuat4aPCzhFqRjUtuyybiPcfjlKx5fxW02Hz0zxyYD0w9tsWX+kfJ8suT
	qWdNCCxQshBwvIbbY6y0/QGRDFUeFEBf8yTe8D9bhrIXBzvLBHR1VaDP4LX2bsZCD4c9K4
	6NpamIA1jaNxsb6Rvr0fqSJK2gbhK+0gUguwB9d4Eo/AoLJpBeXYaFfW5OMDtg==
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 87E4F217B1
	for <larch@yhetil.org>; Sat, 11 Jan 2025 16:54:40 +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 1tWdBK-0004Yi-Ux; Sat, 11 Jan 2025 10:13:47 -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-0004KV-IN
 for guix-patches@gnu.org; Sat, 11 Jan 2025 10:13:25 -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 1tWdAy-0001oo-9G
 for guix-patches@gnu.org; Sat, 11 Jan 2025 10:13:24 -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=Ue+BhS1hFXp2ZFOqe8wLePc1cqNP2VfiPwiRxi4aVW4=; 
 b=ixWi9pXFQSV/GXF+/tyNNQkJxF6dAbB9i34a9s2yQ76VyDamKpw41OGAUBNmNITVD9CIsfcYTaY2V1hBjNihbScgk8UMD/oJcsFRUQWJ+Ffbujb5BXcCMDgJFgrTVIPEDXOQj/hTfGrovx0Ii0aLhs/h7L0ZVEV7jUSgFzy0dvSV9vGo0UpfIqW0/gDOV+B7/xNAWX5QitBB4a9ElDpkJhQgSSsTJRdOdFg2W9arq+Q9d7ti4jqWS3lfgIIo8WGzJ0laOQneiwSHXybQ/aZv9vBaxHwGJH54UOxJaieZf8M56EWgxlTnbSCDM6mYhL6Xn2QvpZQopaEt+17rZsQHwg==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tWdAy-0001xK-5H; Sat, 11 Jan 2025 10:13:24 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#75127] [PATCH v7 38/44] gnu: Add rust-tonic-web-0.12.
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:24 +0000
Resent-Message-ID: <handler.75127.B75127.17366083927240@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.17366083927240
 (code B ref 75127); Sat, 11 Jan 2025 15:13:24 +0000
Received: (at 75127) by debbugs.gnu.org; 11 Jan 2025 15:13:12 +0000
Received: from localhost ([127.0.0.1]:44342 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tWdAl-0001sR-8h
 for submit@debbugs.gnu.org; Sat, 11 Jan 2025 10:13:11 -0500
Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]:33751)
 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-0001kg-UF
 for 75127@debbugs.gnu.org; Sat, 11 Jan 2025 10:12:33 -0500
Received: from phl-compute-01.internal (phl-compute-01.phl.internal
 [10.202.2.41])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 7D91D25400E5;
 Sat, 11 Jan 2025 10:12:27 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-01.internal (MEProxy); Sat, 11 Jan 2025 10:12:27 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=struct.foo; h=cc
 :cc:content-transfer-encoding:content-type: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=1736608347;
 x=1736694747; bh=Ue+BhS1hFXp2ZFOqe8wLePc1cqNP2VfiPwiRxi4aVW4=; b=
 Mn2qyZ/YV4CY8ua7fOqPokK3PTagtfByFoui03m1m1o+7xbNZGxPiVVVgVxIJg5Z
 YvZDKiTN4q4aEAkl8kqNshr3h1ZMI1ugvJ4zb8fL3J+2C+Z85nXYwGLZD4osWAL1
 sENJbvULFhYA4TEpWbYgMNCmsI6joLgeg5bNiCAgfOedrQZVkVkKjdEpV7L/V9hj
 20o4rB3rmQSZSru6U9es476hAnRt9V/cMzEdlllCe5Ve2Fc0JltLaJggPLoNlNyF
 nIRMxcyhanlTLxoUwSsyBbDDR5zD+OszAEdN4m6o9vVyzMraPJjGlRWb0GtXDqiF
 6PgCV7qOpntc0BabZly1bw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type: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=1736608347; x=
 1736694747; bh=Ue+BhS1hFXp2ZFOqe8wLePc1cqNP2VfiPwiRxi4aVW4=; b=v
 de5eeWNg9fmOGwptsJHJZXbO8+acRqqsPJGzwAsC06zrzkspbmC/3dRlAesFuIqI
 hA2+cQ/YUS/JoyCmaUaEPRdHIzpHDadyyp69IkKKhsJr2kbrtzYP6lFMMuH72r7T
 Bom6HxqFXGsl4mK5+QO01GCj12V2M0BqDgLtStwExJvV+7glwABKEUdLqO8ESqg0
 dfXONFiDIPc8MtKAxp3GeK1xPfqyfZs/LByTBfK2W5ALw8AxPM7q4gD+m7WvZNNj
 ZeMzC/2btQW6JDqNSrz1XbCTLXmP/UkUtD3IFwoRTXz4lL1m+uXMTzEeBtMGMis5
 Q1/iRPIhc0ZqO+kBdWsSw==
X-ME-Sender: <xms:W4qCZyQHrwzpWyESmzGo4BGoQvCIcl6H6DLEJuIQBoa2feGJ1MUDmg>
 <xme:W4qCZ3x-FryO5eKT8D-cXV2OqLcPrtgvfn9e6LkhKT9J2ZIhS13kU2KKprTaIldJf
 bmxJ57miIFbjEmFzbY>
X-ME-Received: <xmr:W4qCZ_2a52TbBc3Q6PSYsFQXhjOC7MGgtkg14QZQLBFs4ntfE71IylorcCuXJjuTp6k>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehtddgjeduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf
 ffkffojghfgggtgfesthekredtredtjeenucfhrhhomheplfhorhgurghnucfoohhorhgv
 uceolhhotghksghogiesshhtrhhutghtrdhfohhoqeenucggtffrrghtthgvrhhnpeefte
 evtedthfejueejteetveelueevfeejkeekueeghffgledvfeetgfeuveejieenucffohhm
 rghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrg
 hmpehmrghilhhfrhhomheplhhotghksghogiesshhtrhhutghtrdhfohhopdhnsggprhgt
 phhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeejheduvdejseguvg
 gssghughhsrdhgnhhurdhorhhgpdhrtghpthhtoheplhhotghksghogiesshhtrhhutght
 rdhfohho
X-ME-Proxy: <xmx:W4qCZ-C3-5dUSQLpyV1dWqtYSYkz4zxry-wMQtIV2ZWl3JX6XQWomQ>
 <xmx:W4qCZ7hOJNy9wDE0v9mZgAPi9_l4Zfrb86hdrvpA1IroRWpv9DfLIw>
 <xmx:W4qCZ6pwtfypPlaUhOJrzKMs_6caFwB5gJ9CtQaMDdXiYxkmy2IPEg>
 <xmx:W4qCZ-hFz1f9TjjSP34UblrD7rG_IRgTwPZlT53VfVn2MSYIyRYBdQ>
 <xmx:W4qCZ-t69VKCX4HvUjzfWpPdvbLtXN3bRYO7qtDW5axLdeUm03U3Vaed>
Feedback-ID: i4d1648a8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 11 Jan 2025 10:12:27 -0500 (EST)
From: Jordan Moore <lockbox@struct.foo>
Date: Sat, 11 Jan 2025 10:11:28 -0500
Message-ID: <4b9aa273022a2cc933f5f1cbcf2d0f17463f742b.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-Type: text/plain; charset=UTF-8
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: 1.82
X-Spam-Score: 1.82
X-Migadu-Queue-Id: 87E4F217B1
X-TUID: elUDuQabRxAd

* gnu/packages/crates-web.scm (rust-tonic-web-0.12): New variable.

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

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 73ca29df76..dda3a5b192 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
 ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org>
+;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6535,6 +6536,37 @@ (define-public rust-tonic-build-0.12
      "This package provides a codegen module of `tonic` @code{gRPC} implementation.")
     (license license:expat)))
 
+(define-public rust-tonic-web-0.12
+  (package
+    (name "rust-tonic-web")
+    (version "0.12.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tonic-web" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0n2bhgs57kvqsk1z2fr1izcrrrbnfgda0pjargf3dmqsh0hdv6aj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-base64" ,rust-base64-0.22)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-http" ,rust-http-1)
+                       ("rust-http-body" ,rust-http-body-1)
+                       ("rust-http-body-util" ,rust-http-body-util-0.1)
+                       ("rust-pin-project" ,rust-pin-project-1)
+                       ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+                       ("rust-tonic" ,rust-tonic-0.12)
+                       ("rust-tower-http" ,rust-tower-http-0.5)
+                       ("rust-tower-layer" ,rust-tower-layer-0.3)
+                       ("rust-tower-service" ,rust-tower-service-0.3)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://github.com/hyperium/tonic")
+    (synopsis "grpc-web protocol translation for tonic services.")
+    (description
+     "This package provides grpc-web protocol translation for tonic services.")
+    (license license:expat)))
+
 (define-public rust-tower-0.5
   (package
     (name "rust-tower")
-- 
2.46.0