From patchwork Sat May 4 11:35:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64077 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0B38627BBE2; Sat, 4 May 2024 12:48:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F1A6427BBEB for ; Sat, 4 May 2024 12:48:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3DrY-00015E-BJ; Sat, 04 May 2024 07:47:32 -0400 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 1s3Dqw-0000cV-Ck for guix-patches@gnu.org; Sat, 04 May 2024 07:46:56 -0400 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 1s3Dqv-00009J-Kr for guix-patches@gnu.org; Sat, 04 May 2024 07:46:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DrI-0007d8-Gm; Sat, 04 May 2024 07:47:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 37/75] gnu: Add rust-checked-int-cast-1. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:47:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482323229257 (code B ref 69257); Sat, 04 May 2024 11:47:16 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:47:12 +0000 Received: from localhost ([127.0.0.1]:53282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3DrE-0007bg-18 for submit@debbugs.gnu.org; Sat, 04 May 2024 07:47:12 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:41759 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Di8-0004M2-63 for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GMRK8kKVgWSYaOoIT+MxEHVKmr1KOGBsUub+7PJmWwI=; b=HH8wXwPBiqz16IABmd+Tsn6rOiCFB+kgB7YnRIFC6REVrn9e6jaEh/Q9ek3As1sQ3M6siB sO4qyr4vI4ArtJS5bLYXYyzxr8p9gb3VEDdccsF6Rf9q9xPs+DKRJaYyoIVSNZCt4udsXS QzvENKfJz+DXiFi9kD0DJgo+RbDqZT47Gxx086swWOu1RLFz0I3Ufdm7meEsi+gDO7dMge duIxNLX2FTZgRnHA+X8nyA5bjBbtS7syL9FJ5Bxv1RAsEv4Cv1I40SSyM6WEknHNdPkrni RljAWVVu0hxqWVfDgzC0gIwuJgT8GdkKvZMjVqsGZ14BdbC4iflYUvBP1zfOPQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 9e086042 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:14 +0000 (UTC) Date: Sat, 4 May 2024 13:35:09 +0200 Message-ID: <56de7b20d66024345f6b7cd6179fd7ec48115c3b.1714820130.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-checked-int-cast-1): Add variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e5e4eda1a3..52077a9946 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12328,6 +12328,26 @@ (define-public rust-charset-0.1 Encoding Standard.") (license (list license:expat license:asl2.0)))) +(define-public rust-checked-int-cast-1 + (package + (name "rust-checked-int-cast") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "checked_int_cast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06brva5agm6g12q15f8fidz17akb85q211496p1k2qxhb9mmxk0p")))) + (build-system cargo-build-system) + (home-page "https://github.com/PeterReid/checked_int_cast") + (synopsis + "Primitive integer conversions with over- and underflow checks") + (description + "This package provides conversions between primitive integers with +overflow and underflow checking.") + (license license:expat))) + (define-public rust-chrono-0.4 (package (name "rust-chrono")