From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MIyrEFi17mOebAAAbAwnHQ (envelope-from ) for ; Thu, 16 Feb 2023 23:59:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4FXYD1i17mP0AAEAG6o9tA (envelope-from ) for ; Thu, 16 Feb 2023 23:59:36 +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 1022A190A0 for ; Thu, 16 Feb 2023 23:59:36 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676588376; a=rsa-sha256; cv=none; b=tcbvDIh4tD0juWj3MxHWhCGSpJjKxwluHOVvu27L9Ivu5qC2o84PsprITc12L+Z9yfIfIM 9Sob31WiILtH9Kj+3+7tw0lklJRwZwhW01k1gtUVBIf8RaEkWObMbrnqDNh/e6mtgiJaK8 585Zy4x6wZ14gdzMJIdxeuqGoBsLXNcwaoDAHeEEF+oDbWIIiSPisC/9GuRMfePZNijBZd DhYrtVOGpTvIu4H1BUGsmHnb+1JjpVYhqA6WPzVndEsGq+5y4Ih4sqgoyeRLOg+E1I1RX2 mJOtVKew6fUu8Cx+Iu4znDvPfG5JFj4oR79Y1VLc8RyvNvoJraPrIhD8RpmrZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676588376; 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; bh=rbEhh8924sSpbykeTvD/z3OxM8KinXDSHo1b32mnRuw=; b=Z0V7t1BzJAG6qkXfxl7bRXHeGNuF/fhyHFrD7c13+/fu6QcIzWLsFhFRYSxErqyI73ZtPj wMosJe8aRg5cf+Xk/3z9g4zzqes4CzXlpkf076d+UWqvJexpe2p9/vt+H6cqp1Z6hSEKux SNPjAh9gGoJCSte3PnVp24qlPvbOvdacLyyq7Avp76diDrpahaYCB3OHBY6U1QmeePIgtd fi8KAS+LbWJXtCITcBFqXZEjIf0nSWV3EHVvDlIgoVP514uIRlxuCl4to0b1+snKiDDEW8 rnllSjhFA70cKOdaylfQQP+A1GSHbJV/cxVbLRCFy9f6Hj2jtfLn5sC3E6tDNg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSnDU-0000hC-Lb; Thu, 16 Feb 2023 17:59:04 -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 1pSnDT-0000ez-4Z for guix-patches@gnu.org; Thu, 16 Feb 2023 17:59:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSnDS-0002k9-TD for guix-patches@gnu.org; Thu, 16 Feb 2023 17:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSnDS-0002vy-MP for guix-patches@gnu.org; Thu, 16 Feb 2023 17:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61563] [PATCH 2/5] gnu: add rust-downcast. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Feb 2023 22:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61563@debbugs.gnu.org Cc: Efraim Flashner , Steve George X-Debbugs-Original-To: Guix patches list Received: via spool by submit@debbugs.gnu.org id=B.167658831411192 (code B ref -1); Thu, 16 Feb 2023 22:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2023 22:58:34 +0000 Received: from localhost ([127.0.0.1]:37919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnD0-0002uS-Co for submit@debbugs.gnu.org; Thu, 16 Feb 2023 17:58:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:58532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnCw-0002uJ-NV for submit@debbugs.gnu.org; Thu, 16 Feb 2023 17:58:31 -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 1pSnCw-0008ER-Fo for guix-patches@gnu.org; Thu, 16 Feb 2023 17:58:30 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSnCu-0002gl-OS for guix-patches@gnu.org; Thu, 16 Feb 2023 17:58:30 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pSnCs-002Dhz-SM for guix-patches@gnu.org; Thu, 16 Feb 2023 23:58:26 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pSnCs-0003js-Iu; Thu, 16 Feb 2023 23:58:26 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pSnCj-000312-LH; Thu, 16 Feb 2023 23:58:17 +0100 From: Steve George Date: Thu, 16 Feb 2023 22:57:39 +0000 Message-Id: <20230216225742.106916-2-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216225742.106916-1-steve@futurile.net> References: <20230216225742.106916-1-steve@futurile.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: permerror client-ip=2a0c:5a00:149::25; envelope-from=steve@futurile.net; helo=mailtransmit04.runbox.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=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: X-Migadu-Queue-Id: 1022A190A0 X-Spam-Score: -1.92 X-Migadu-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com 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-TUID: fAt0ypRNw//C * gnu/packages/crates-io.scm (rust-downcast-0.11): New variable. --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 355c8ef761..180b0838a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17761,6 +17761,28 @@ (define-public rust-document-features-0.2 @code{Cargo.toml}.") (license (list license:expat license:asl2.0)))) +(define-public rust-downcast-0.11 + (package + (name "rust-downcast") + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (crate-uri "downcast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wa78ahlc57wmqyq2ncr80l7plrkgz57xsg7kfzgpcnqac8gld8l")))) + (build-system cargo-build-system) + (arguments + `( #:skip-build? #f)) + (home-page "https://github.com/fkoep/downcast-rs") + (synopsis + "Trait for downcasting trait objects back to their original types") + (description + "A trait, and utilities, for downcasting trait objects back +to their original types. The same as the rust-downcast-rs crate.") + (license license:expat))) + (define-public rust-downcast-rs-1 (package (name "rust-downcast-rs") @@ -42372,7 +42394,7 @@ (define-public rust-pretty-assertions-0.5 ("rust-difference" ,rust-difference-2)))))) (define-public rust-pretty-assertions-0.4 - (package + (package (inherit rust-pretty-assertions-0.6) (name "rust-pretty-assertions") (version "0.4.1") -- 2.39.1