From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 2Ni8LZebT2WiSgAAauVa8A:P1 (envelope-from ) for ; Sat, 11 Nov 2023 16:19:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2Ni8LZebT2WiSgAAauVa8A (envelope-from ) for ; Sat, 11 Nov 2023 16:19:51 +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 7F79D58840 for ; Sat, 11 Nov 2023 16:19:51 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dZexnhEQ; 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=1699715991; a=rsa-sha256; cv=none; b=ovnZ9YrB721BHgNBMA9V6U0no8sPWQ+EapmmV7+hPo4Ok58HBvB2Ap2JM0md4iqnnzy/5G jGcXg9dcEtgjg4O3Xw8LFC6YVVt84JBrQdspIbrFRpXpGnMJ+KpbzcEEKix9CsnsZf66lW lsumkm3t1zUyUv2rpYTo9aEqzvV1g217JzyMuiJZY2fGGl1g6UTLOJVrC36EGVarF8zSIt gSVq5gXrRDcbfeCWaUvH71a9kfQauTrCcc1vl9ybUedJ4uTay0TxF3/8CKulnWP1hJxXs7 CNiKUNMH+vda4qJBjnTDW+mFEkfkOmVSV1V0PdpswuAmALanG3Jz2DWghdtRAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dZexnhEQ; 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=1699715991; 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=aSfY4wQkF5Z8EcyPyFqi8yGOaB8YgHpnRpxjsu8xLPU=; b=rqh9P7S/TEIT1U7Y9/WdbTseuGGVDtmp6q8zws7Np/ph+aO4n8uii2nWIq79hPgsw25XNw ifKWRYzRRSaKsquMRuwpwL5bjNnmYO1JKDB5m59XaZZlfIclTIbIpaDWAfp9vFj0w/CiQR 2/D0LgZi7f6vEFfCDulzBy8WaD2B4A39SWhx0rRWJ5wnBqqziZqpzDFOHQKk/iCAsOBNzd UmPxvz0pFmO0DTiRkvkywo+pWttxe9wVoYee0SuXH4MPLGjD/QISF/fS4MOw4iNFUsK3Lz L9J7CS2HAAUcghMneADzM585aybFbdYrj0EL0TX0eCFQzBVt4u8ca5el/NA8sQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1pl1-0000BI-2l; Sat, 11 Nov 2023 10:18: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 ) id 1r1pkz-0000AP-01 for guix-patches@gnu.org; Sat, 11 Nov 2023 10:18:45 -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 1r1pky-0005MO-O2 for guix-patches@gnu.org; Sat, 11 Nov 2023 10:18:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1pld-00019a-3I for guix-patches@gnu.org; Sat, 11 Nov 2023 10:19:25 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67101] [PATCH 24/36] gnu: Add rust-tungstenite-0.19. Resent-From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Nov 2023 15:19:24 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67101 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67101@debbugs.gnu.org Cc: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16997159614346 (code B ref -1); Sat, 11 Nov 2023 15:19:24 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2023 15:19:21 +0000 Received: from localhost ([127.0.0.1]:53700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1plY-00017t-Vo for submit@debbugs.gnu.org; Sat, 11 Nov 2023 10:19:21 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1plJ-0000zy-PQ for submit@debbugs.gnu.org; Sat, 11 Nov 2023 10:19:06 -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 1r1pka-0008AQ-2r for guix-patches@gnu.org; Sat, 11 Nov 2023 10:18:20 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r1pkY-00059m-Cu for guix-patches@gnu.org; Sat, 11 Nov 2023 10:18:19 -0500 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-54553e4888bso4556214a12.2 for ; Sat, 11 Nov 2023 07:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699715897; x=1700320697; darn=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=aSfY4wQkF5Z8EcyPyFqi8yGOaB8YgHpnRpxjsu8xLPU=; b=dZexnhEQjHmwmi25uOzArXLjbuiuwVh9Y1Ty1DgXbW8gXKE1Qximnro64YDfrHDkmV CLYdI0PGAgx6qXTY4Ym8kljIUTo7wOsosq9Jf7oCmaDqMduUbLUbYkTyc6ft/1MIpH9e iL1b750wN9Ufj2r6UdRFgdQIoivFMS68RIFk/8HOvU7LrYCdV1O09SNhYReZpMnluje6 /NQbx/+94TNwtyLP5e5B+SZCI6zeB9bcAB0rg2wQzwNYQI+fNveHjy7FTsuxy/5hT/xQ hDc+Ot/LYhFoALo7rzisPb0Zc60UOSVop+szODEw+9RiQsTW+gQMb9RKvy1ZIy4RJU+f k96g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699715897; x=1700320697; 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=aSfY4wQkF5Z8EcyPyFqi8yGOaB8YgHpnRpxjsu8xLPU=; b=HMf2ui6dGJwdxq/Yq8feB2DfagrZE7//MP9txTFZBypBeAH/VXEBIKn5NcXvUV1AcC JveY8GHuFHwzcP6mBob6lCDpaxoFG5JLLP43Zig2wcHiEx2s5IYbJ0ji70eV/+9UFtDD 6mwtMftzamp+H6bPP8F+W30WH1N9y0Bpvuf+0K9mldicLR8wKZSf2eyx/+CElk6GdLBL zhceWAwFc910I9pmV6GKWvjv6IYUX/33bEInDz4omFiQi3uKnQDgCNi3MwgqNNPvuHao Q33FmHdW+wKasYMUffZPqilxnbZtRAhqgPPyKwSINSB9hVLlMJO4n8sXcog1wx+bdYRA S6Jw== X-Gm-Message-State: AOJu0YygeGHR+kouIvEvoJuyg+34rtaa797oPvcVy9Fhvxfya5pw4NWI tp8Iaj9EKMN0gDHCBc7VJ0tEXql9Bus= X-Google-Smtp-Source: AGHT+IERb4hYdiFyVDmfGwpehuEarlSz3HGhZUZ2QFzg+RdGOazIyQ2yGy55qfTTyHqABuNu51kqHA== X-Received: by 2002:a17:906:ccc2:b0:9d2:63ab:6d4f with SMTP id ot2-20020a170906ccc200b009d263ab6d4fmr1443698ejb.55.1699715896811; Sat, 11 Nov 2023 07:18:16 -0800 (PST) Received: from localhost (87-97-126-53.pool.digikabel.hu. [87.97.126.53]) by smtp.gmail.com with ESMTPSA id t9-20020a1709066bc900b009b27d4153c0sm1208776ejs.178.2023.11.11.07.18.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 07:18:16 -0800 (PST) From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Date: Sat, 11 Nov 2023 16:16:12 +0100 Message-ID: <7485f9d98dd457f02164b87b9f65b5dd02d5c6a7.1699715782.git.voroskoi@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=voroskoi@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Queue-Id: 7F79D58840 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.51 X-Spam-Score: -3.51 X-TUID: +hlKtT5Fywmi * gnu/packages/crates-io.scm (rust-tungstenite-0.19): New variable. Change-Id: Ie65bb3ad45991caeda1831bbcdfb07461bcab41e --- gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c479d97757..e94b9d96f5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -79029,6 +79029,52 @@ (define-public rust-tuikit-0.2 #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.6)))))) +(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 (name "rust-tungstenite") -- 2.41.0