From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KLZ3MRlWm2WBBgEAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 02:55:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MADHKxlWm2WOFwEAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 02:55:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=cHawKN+m; 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)" header.from=wmeyer.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704678937; 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=Ti+4Qho8bIJ3Enp07DzYu500FbKrrys+Z5I4yncE26Y=; b=tSpa2nh9MRsU5X1hJ/YEBGCQzT7zwO3Pc8JzqKBjuULAc0WpCVuJYnZ2TbosPwVLNsvvB3 kCqcLIgwV+rFgnSaRuIBWQHDF/1CpIjprLQGGt9k6RTY5zogaeZLXzTFWgMD+U8VT0zj8R qNjn7BnL2kYdz9NyiUwKNE3MY372+OD2oNhWJGgPWEa5zfJOOGU0UbHWPk4n34BNMcGuxI 1qdsivkUpx4SOuXVPqETaMqJ8pmiYfxfqhOz8DznhRVicvTk63hqDw0dCY6Jk1LN13++xE I+QFtyiSAbHG1P3cgvbRAFnuYS5V+/vJOXtOe4+X5lcOsNQF5lfn12bWA8GbVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=cHawKN+m; 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)" header.from=wmeyer.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704678937; a=rsa-sha256; cv=none; b=MfazWFr1exnTmOShYr5Uq8no27ejDutWJlxS5C+HmGPr8DC/sHFramk6GTjb6B6hGSg76n 6S7mtxuiiy5YdHwW3bj7bc2H8F1N2DMVmHQUbLnXVlhqNhBYTPfeOxYG4jkuZ+Fn6ivVIM Fim4xzwJEoWimU92Q89OGNQglzOAgSanRcGkf35ifxSMxVfZKPexWr5PZ9PuGIHLcjZnSZ 1UQ3QbB0R0v4yuR9rMcEeGGI9IJirJnFiX1biRR1Vfjend5h10nqmFlgTtraQ4l8nDtJfP QructwQmcrwEP1p7breMbzIU5X/HFCoYuZvCvSyhQhZtXjjcInDI49KrFFnRYA== 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 8A0C054E47 for ; Mon, 8 Jan 2024 02:55:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMerC-0005v2-RL; Sun, 07 Jan 2024 20:55:14 -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 1rMer3-0005tC-9y for guix-patches@gnu.org; Sun, 07 Jan 2024 20:55:05 -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 1rMer3-00043F-0W for guix-patches@gnu.org; Sun, 07 Jan 2024 20:55:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMer8-0008LR-Nn for guix-patches@gnu.org; Sun, 07 Jan 2024 20:55:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 004/156] gnu: Add rust-rocket-http-0.5. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 01:55:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.170467888831637 (code B ref 68312); Mon, 08 Jan 2024 01:55:10 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 01:54:48 +0000 Received: from localhost ([127.0.0.1]:34133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMeqm-0008E8-BD for submit@debbugs.gnu.org; Sun, 07 Jan 2024 20:54:48 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:54948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMeqj-0008Cu-7P for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 20:54:46 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678873; bh=Ti+4Qho8bIJ3Enp07DzYu500FbKrrys+Z5I4yncE26Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cHawKN+m5avq3xiKxGNxJMfvUkMTvKBm7p45PlwptZpjJe7vPrLiijiHj1JCEXImK nvoGWwQfvLn5Hqwo1mIIUyRXOYrOiZR5G0m0ctDLgAgo7d+APfj76JRQsn+D6vYjfQ UzVSavSyIw2Uhbd6rk4mDGWmkG7SbfRLgQhn0ong= Date: Mon, 8 Jan 2024 02:51:41 +0100 Message-ID: <0548fb5372a40febcbc36d5c9bfb09941484deb3.1704675820.git.w@wmeyer.eu> 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.69 X-Spam-Score: -3.69 X-Migadu-Queue-Id: 8A0C054E47 X-TUID: af1Xa9gdFuTC * gnu/packages/crates-web.scm (rust-rocket-http-0.5): New variable. Change-Id: Ia12f2f50f80a455e954c17a7227bbb7ac3cb5463 --- gnu/packages/crates-web.scm | 54 ++++++++++++++++++++++++++++++------- 1 file changed, 44 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 059ce96248c..ebae229dd11 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2451,14 +2451,55 @@ (define-public rust-rocket-codegen-0.4 ("rust-rocket-http" ,rust-rocket-http-0.4) ("rust-version-check" ,rust-version-check-0.9) ("rust-yansi" ,rust-yansi-0.5)))))) + +(define-public rust-rocket-http-0.5 + (package + (name "rust-rocket-http") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17iq208zf9rfxdnx8hfjxnn51074cc9li99yjigzwnfhjhv6d89p")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cookie" ,rust-cookie-0.18) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-pear" ,rust-pear-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-stable-pattern" ,rust-stable-pattern-0.1) + ("rust-state" ,rust-state-0.6) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-uncased" ,rust-uncased-0.9) + ("rust-uuid" ,rust-uuid-1) + ("rust-x509-parser" ,rust-x509-parser-0.13)))) (home-page "https://rocket.rs") - (synopsis "Procedural macros for the Rocket web framework") + (synopsis "HTTP requests, responses and headers tooling for Rocket") (description - "This package provides procedural macros for the Rocket web framework.") + "This package provides types, traits, and parsers for HTTP requests, +responses, and headers for the Rocket web framework.") (license (list license:expat license:asl2.0)))) (define-public rust-rocket-http-0.4 (package + (inherit rust-rocket-http-0.5) (name "rust-rocket-http") (version "0.4.7") (source @@ -2468,7 +2509,6 @@ (define-public rust-rocket-http-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ga98nbcga8amg4xhrfkn1wljnqx9h0vv7mnay9g66vsxl042dnf")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -2482,13 +2522,7 @@ (define-public rust-rocket-http-0.4 ("rust-smallvec" ,rust-smallvec-1) ("rust-state" ,rust-state-0.4) ("rust-time" ,rust-time-0.1) - ("rust-unicode-xid" ,rust-unicode-xid-0.1)))) - (home-page "https://rocket.rs") - (synopsis "HTTP requests, responses and headers tooling for Rocket") - (description - "This package provides types, traits, and parsers for HTTP requests, -responses, and headers for the Rocket web framework.") - (license (list license:expat license:asl2.0)))) + ("rust-unicode-xid" ,rust-unicode-xid-0.1)))))) (define-public rust-trust-dns-client-0.22 (package -- 2.41.0