From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WNFLJh6YBWKNSgEAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 23:56:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EF/1Ih6YBWJeMwEAauVa8A (envelope-from ) for ; Thu, 10 Feb 2022 23:56:30 +0100 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 31D6C33D94 for ; Thu, 10 Feb 2022 23:56:30 +0100 (CET) Received: from localhost ([::1]:38634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIIMX-000870-AT for larch@yhetil.org; Thu, 10 Feb 2022 17:56:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIIM7-0007jn-Ul for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIIM6-0006JC-IS for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIIM6-0000wc-I0 for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [WIP PATCH v3 02/26] gnu: Add rust-html-escape. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 22:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49946@debbugs.gnu.org Cc: Pierre Langlois Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.16445337423450 (code B ref 49946); Thu, 10 Feb 2022 22:56:02 +0000 Received: (at 49946) by debbugs.gnu.org; 10 Feb 2022 22:55:42 +0000 Received: from localhost ([127.0.0.1]:57501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILk-0000t3-69 for submit@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:41 -0500 Received: from mout.gmx.net ([212.227.17.21]:52599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILh-0000rt-Dl for 49946@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644533731; bh=fqdrr9yKNhkydJG3v4XflbAw09qnVXxvR/qaoJosDTo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=DZe4fhdo/xi9hEfUP/CzDhRK18dMssKe5hAXB6CRMfuLqQB2PbyWCo/FAuvz9B87S YDNV+k8EOtDhR0w+0+uyeXWlWr1XYUnSrIiB3eE/XjiVn1mmRmn/gzbZVsg0t51eY9 IgLRaz0A82xC2HsDky8Kd1o/jSBuqG0QSlfYqDJs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N4hvb-1oH1V6233n-011mvA; Thu, 10 Feb 2022 23:55:31 +0100 From: Pierre Langlois Date: Thu, 10 Feb 2022 22:55:03 +0000 Message-Id: <20220210225527.25189-2-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220210225527.25189-1-pierre.langlois@gmx.com> References: <87leyinxly.fsf@gmx.com> <20220210225527.25189-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Tve1QeaaY1nLKWj7uZhIuTWA8osnJh1+2eaTI5Bm1XaKCu/kZmx sf514ADj8DxeesrvSjyNFTJXbHw3YyVDeXzZ1xtWWXF8a8Exwksz0c1Wg3VoaTNGp6raADn /SpmC/hdl8vk/i4M9RvRQ6t6heiXqaLJLPru+ewcNCIywOOM2b/ck49itlxiUsdWfcBV6nJ uzaauOJFPpspz7f23ckQw== X-UI-Out-Filterresults: notjunk:1;V03:K0:FMnG4WYwY4o=:5G8d5qNC8fYASNbCWyAG1l UxG/BKpCHCF1ct43M36cNYjpvY7h/ROdKeuilZ2qFZ1HHidNLWXg5AhkdpEGDYciEK5HIV/AJ HXfOaj85ZLtlgcz12HzzGr7AcopzKKIp7g9uhn5JDbkKTjOSol0Nlv48QS7ehxQ3fzNKSE5eO 0JmW0YASDm1eYfvhQFtK9oE4u6XZgzLSWMixStmlfywmecINBIsYItgTSRbed0U6PntjIu0e/ pUXvI2nhYkWMghYeBd4w9Kt5TB5rVfwL7H04PUt52Ig8MewFM/TrqeQt7IAV6vofBVDVcUUsN qFbQLA+elbwiKbdT/IEfZZwijEX//jWhdIzdr6y1KhLDREG7UO84y7gZbyskt1OKJq4Y9H2cm GoOAaPyReOiprTWDepFyflFybbAG4rUGrpUztuj6/GKgaWSqxguWqKVaglP4mVWL9AbrWCzmk I0Yp0E/t5iqH0/5OYiP417PJDQ5cH2AZNOG8aKB2OeUI1YOKGhXlK/AapFhr3ycZx+0KTirwE +onrnAsK9r4uSphxEVADj7LdOMEqG/ksQUIGJpNY6yuY6K9TVQxdjcLU9gdkj+8fGNkhp0W/4 UBAi1lCbcTpuKZhc6NxgFlTZ/yFjAq13aQoOBfK0oQ3A+rbHe8ZgLuR/rIuBhUAnopJdDLXIZ pOx/wWgy6xiL3+wVPlkZ9bYipgYhCWceB+ZENCaokU9DWFuZ0bp/une3WkwtkO5VnVmgRksNo 91cX36/WIqpfGB+FWlf9BfWPj6UVPM4gEbPXNuT3swwpOcNlCVEaTHv6YHcOETFMu4jdnoJL9 XMAYc42hMCeNu4MFWIKnorewltvvyAb+ShhCFrXp7h0OY2AwKKl6lgNeMcF+ksJCV9g0SXx23 mq7Yt1MayNAXZB2OccTYM5IZ8VMzBVzQjLa1kOzesgFJ99GHblzsTXyHYyN2R5uctnP0Umk88 JRvySz6SLqUwVwXsur4sihlFWHcBVkNgFAEBtgI4kd3RDZwFjS1VwJ7PBiejyem95HijYFVLP nevjyt8cpayLWN5meAzLOz89qJP+WfQqN7DOyoiuW9tCkaXnuhR2vbCQvchSgJoFEhHX5crJp jTlqicP98/m8kA= 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644533790; 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=A7RqNyucrFOQi63yY/arvrj70dAujUA+ilPMdR3EMBY=; b=SgIQ6evmXR0FD4TRGCU6S6c89CIZwoFPx8iJZWSAtZmL7X0g0kNM+eRLh43ew4YS4HF+zw PEqP5im0uT9t7R1ckpD4QGMlGKJxCGNG7EVM1AgMKpToa3bEcP2bJpuawGFkUJyB2ygyvt fZ3ohHhUQxp99fs5/SA5uj0+QdVmIbkeVFb/nxhlJxWUPo1uLnStV8AY5R+N1X0HnC8zze kHNMV/kr4IeJOBZF/wXMbqvKJQwrbawTh8X/HkgSXPjVB7t4kFQc8idj65xWSdL8hbcKSj UCSHrbarqX1/jd1faBzPi8Xsr9TfyRvRIzypDewGBj2wZfijCVH4KwLxxdaQTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644533790; a=rsa-sha256; cv=none; b=NjnlpE7Enoe54imfli0CbP0Gx+5EpHJERb+vchBsAUO2iGWZHkGYaQYTuNuwelCGWQ5pdy 0AUy65zMzZn8NDifRTSC7OJ5cALRm1Kb3P7IfQInZq1AmpMf7tVicDnWQ9fJJhSzKIxTRv coQEq9X1CopU5SyFCfDT+5YJdVty/Wca8DwF6DNK/d0CoK7dEV5xXQJTCrZ4zU15ypEm3G XtGbuBH8VRjL7OEiw3FF30KEseYTyA6bRax6vei8gbf7kWXRsQAArvU+kF2Dm+23UOgnTZ Vgi35dMcQ2/0DnLsEYlPr3tjOk2LU8YklW6T5KuiaYDcV7EKtbFkLjj6ZDLY8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=DZe4fhdo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); 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" X-Migadu-Spam-Score: -0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=DZe4fhdo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); 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" X-Migadu-Queue-Id: 31D6C33D94 X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: Pi9gPKf/Bkc5 * gnu/packages/crates-io.scm (rust-html-escape-0.2): New variable. =2D-- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d001e723ec..cff703c427 100644 =2D-- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26933,6 +26933,30 @@ (define-public rust-htmlescape-0.3 "This package provides a library for HTML entity encoding and decodi= ng.") (license (list license:asl2.0 license:expat license:mpl2.0)))) +(define-public rust-html-escape-0.2 + (package + (name "rust-html-escape") + (version "0.2.9") + (source (origin + (method url-fetch) + (uri (crate-uri "html-escape" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dxw9lpckrqzzqgbkw64ckbajr4b7xxnjdn8adgzqf2mm40shvl1")))= ) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-utf8-width" ,rust-utf8-width-0.1)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://magiclen.org/html-escape") + (synopsis "Library for encoding and escaping special characters in HT= ML") + (description + "This package provides a library for encoding and escaping special +characters in HTML, decoding and unescaping HTML entities as well.") + (license license:expat))) + (define-public rust-http-0.2 (package (name "rust-http") =2D- 2.34.0