From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4JpjK5FNuWUZiQAAe85BDQ:P1 (envelope-from ) for ; Tue, 30 Jan 2024 20:27:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4JpjK5FNuWUZiQAAe85BDQ (envelope-from ) for ; Tue, 30 Jan 2024 20:27:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gxit7+IR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706642833; 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=ITiqD+Fy7yuTkEKups3TF96hgwd1FqOAWRA4kATkUJo=; b=dqt0afrgddBVZ7a4SegTgIbw9DiQu4yP8KnHatAAGD9PBsAvkZ7TGapAl55qoR8fZ6zlEk H1qH6TyIuKyLi2/8YDVP4MXaj9JVhs5/8IA8IDxS3ARkcvhP9Xvgs0ojHnFDKjUf0NZiZj JYtf29QbVmWtD5ZiESkFDTH1UfH4zrZ7cURb5cIBqHloGaoek2vHDgqRKE62BJwUKumWd5 Vs9kTdgi2X1gUuiKtNl3FJnP+kzAqOOf69MLaBLUGY92nSUy5Q9q4rDvb34sFER1cwg7ve 7zTALeXgj57BrK9mYtbVeNIUwVsCylV2GLv9Q9r01u1b+c57fka2jqNATCPglw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gxit7+IR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706642833; a=rsa-sha256; cv=none; b=W0PSdnXhYq40DNoDLmwZqod3cktQlOu+Wgys5v+BFh+p+yN9lbTThpJSau/FbLXkzmzH87 Aj9iTfisI0WERdnot1gKGyxCcAqoi8IXXSn3hT2BbT6LMYtFEMwilASm7/mFdZtIr+7N1E aFl8Wd6njvwTT+4tmZeI0Jf3HBTAe1k6U4d4WXArh0TOyHoZXEhbNjXAm4ym0fU7rHNYOT VBvdBJ9ku6N06Pk7sirbyj6sOuZLsqHXiNSDBmgLxv8DM9tby7RUX1SJF7h9axFAbSZP31 Ijnk/tI2SOdT0QjAhLseVlFSmlHJ/ryuj25OgP46dFGe5eE8X6APOxfYNR4pPg== 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 804842658A for ; Tue, 30 Jan 2024 20:27:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUtl2-0005xy-OI; Tue, 30 Jan 2024 14:26:56 -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 ) id 1rUtl0-0005uQ-6w for guix-patches@gnu.org; Tue, 30 Jan 2024 14:26:54 -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 ) id 1rUtkz-00059L-V3 for guix-patches@gnu.org; Tue, 30 Jan 2024 14:26:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUtl8-00034i-Vp; Tue, 30 Jan 2024 14:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68481] [PATCH v2 11/13] gnu: Add rust-tungstenite-0.21. Resent-From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 30 Jan 2024 19:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68481 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 68481@debbugs.gnu.org Cc: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68481-submit@debbugs.gnu.org id=B68481.170664277911730 (code B ref 68481); Tue, 30 Jan 2024 19:27:02 +0000 Received: (at 68481) by debbugs.gnu.org; 30 Jan 2024 19:26:19 +0000 Received: from localhost ([127.0.0.1]:36848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUtkQ-000332-QU for submit@debbugs.gnu.org; Tue, 30 Jan 2024 14:26:19 -0500 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:44515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUtjy-0002zW-IT for 68481@debbugs.gnu.org; Tue, 30 Jan 2024 14:25:51 -0500 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a364b5c5c19so91223666b.1 for <68481@debbugs.gnu.org>; Tue, 30 Jan 2024 11:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706642736; x=1707247536; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ITiqD+Fy7yuTkEKups3TF96hgwd1FqOAWRA4kATkUJo=; b=gxit7+IRMxrqy1Xt4ae9ecyZjA5RWneXnfM/KgvsLeByWGj7y4LR5kNk/Ypqy9PJpr OASIdhqOej4Map0jpUTM10ZDOw+U7ZlyUUyPpCZCz1OFpvGepyu7NoP620N7ocXJo9Y/ AWL7+OHZrGeDlbeRs6CORhlin0j0Ti/4z/mns2NFCeO+8qEl2XhLTwTm9x2g3huT3+7A 24btXv9lviXvrb20mxmiv5CjAnmd/0PlkhDpAHTj/p2MpF3zpI8mphUICGuuWMXIsVCF +17xRg9yF02EVnO5HWqSZRIxQgemFQr6Z1mV3kFy5LdZH7/qv8aEJ8z6lMGrztSfIeW4 jwXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706642736; x=1707247536; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ITiqD+Fy7yuTkEKups3TF96hgwd1FqOAWRA4kATkUJo=; b=o38FTOq5nAZVwjwEIt9lyeZ9Bo+GA4dDa014t652Iw6fjszrbgBbPr497/GwWKjZRL lsUW9eOQg5YOxgqt0M9uQEkOMH1kYd4gqWb0Wu8kRg25f2IUJtGeSZfFYDB2bKG2+B40 U5lCnD8b7HMdhbYDGI69Ut5nCndqlAk/G7fxFLfmgLqmwv2wyH1hJLq1uJTj9Lrtdxo4 ZoT9NwbBj02QucxsS7zhaSE096PIuq1/R5GncjWtaUdxCWfhz6BuiDbXfoOFYjN0dRQq buP4B/pkQHrf9fP413bo6imeiaPA6L6smVDQ22DuXCo7nsO6ar3miHowm6Qu7moMfM/5 NSRA== X-Gm-Message-State: AOJu0Ywjwg9Z/BX1jWGINYyERwctxoGCyA1c37NxvdgbUWA0YJAk9XQV zdAO2YWnEol8EOlxvlsJXc28dJNWkICv6MNg8/H4Vyb/onSGQCydVjDD0MYC X-Google-Smtp-Source: AGHT+IHt3tteBZpCNHK2rCwluVGLOos11PpnuPlYBB4WaDoKADs+/Gm+zPk3ieP8AOUMfgI/V0x1WQ== X-Received: by 2002:a17:906:340f:b0:a34:9686:8e03 with SMTP id c15-20020a170906340f00b00a3496868e03mr185089ejb.4.1706642735721; Tue, 30 Jan 2024 11:25:35 -0800 (PST) Received: from localhost (176-241-13-110.pool.digikabel.hu. [176.241.13.110]) by smtp.gmail.com with ESMTPSA id ck5-20020a170906c44500b00a31930ffa7esm5364309ejb.153.2024.01.30.11.25.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:25:35 -0800 (PST) From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Date: Tue, 30 Jan 2024 20:25:14 +0100 Message-ID: <526a3cba5223037fddf2d4db607acd74102da944.1706642716.git.voroskoi@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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-Spam-Score: 3.83 X-Spam-Score: 3.83 X-Migadu-Queue-Id: 804842658A X-Migadu-Scanner: mx12.migadu.com X-TUID: ULEJISJI6IJc * gnu/packages/crates-io.scm (rust-tungstenite-0.21): New variable. Change-Id: Iec966bd9ebe5c9bda43167a489df638d6ef9b08f --- gnu/packages/crates-io.scm | 141 +++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3037c6fdd4..59008c83a7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -72191,6 +72191,147 @@ (define-public rust-tuikit-0.2 #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.6)))))) +(define-public rust-tungstenite-0.21 + (package + (name "rust-tungstenite") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qaphb5kgwgid19p64grhv2b9kxy7f1059yy92l9kwrlx90sdwcy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-http" ,rust-http-1) + ("rust-httparse" ,rust-httparse-1) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2) + ("rust-utf-8" ,rust-utf-8-0.7) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-input-buffer" ,rust-input-buffer-0.5) + ("rust-rand" ,rust-rand-0.8) + ("rust-socket2" ,rust-socket2-0.5)))) + (home-page "https://github.com/snapview/tungstenite-rs") + (synopsis "Lightweight stream-based WebSocket implementation") + (description + "This library provides an implementation of WebSockets, RFC6455. It +allows for both synchronous (like TcpStream) and asynchronous usage and is +easy to integrate into any third-party event loops including MIO. The API +design abstracts away all the internals of the WebSocket protocol but still +makes them accessible for those who wants full control over the network.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tungstenite-0.19 + (package + (name "rust-tungstenite") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rxzxg4y22rsvdvs4la7igy9117yidc2m6lsfm2hf0xvsska3yqm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2) + ("rust-utf-8" ,rust-utf-8-0.7) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.23)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-input-buffer" ,rust-input-buffer-0.5) + ("rust-net2" ,rust-net2-0.2) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/snapview/tungstenite-rs") + (synopsis "Lightweight stream-based WebSocket implementation") + (description + "This library provides an implementation of WebSockets, RFC6455. It +allows for both synchronous (like TcpStream) and asynchronous usage and is +easy to integrate into any third-party event loops including MIO. The API +design abstracts away all the internals of the WebSocket protocol but still +makes them accessible for those who wants full control over the network.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tungstenite-0.11 + (package + (inherit rust-tungstenite-0.19) + (name "rust-tungstenite") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08ra94x3zqkmbsrcmwszknxv2a8g08gk5xlyif3wa037v208sc7h")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.12) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-input-buffer" ,rust-input-buffer-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rand" ,rust-rand-0.7) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-url" ,rust-url-2) + ("rust-utf-8" ,rust-utf-8-0.7)))))) + +(define-public rust-twofish-0.7 + (package + (name "rust-twofish") + (version "0.7.1") + (source (origin + (method url-fetch) + (uri (crate-uri "twofish" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04w0ii2c0c9ws08aw6c7illh9zql22il9lbwjk1mgir30aiq73m7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Twofish block cipher") + (description "Twofish block cipher") + (license (list license:expat license:asl2.0)))) + (define-public rust-twoway-0.2 (package (name "rust-twoway") -- 2.41.0