From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GGvvHqtHLWeKuQAAqHPOHw:P1 (envelope-from ) for ; Thu, 07 Nov 2024 23:05:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GGvvHqtHLWeKuQAAqHPOHw (envelope-from ) for ; Fri, 08 Nov 2024 00:05:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=d9GgeSSA; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=Fj0qRNsZ; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731020715; h=from:from:sender:sender:reply-to: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=SImZKwzUWXVMNU5ylqqXBuvXE7B2CQWMWqZ2fVfZk9s=; b=fI1LEoc2iwSIFcbw4cPsClE5aH9G/RyoIYpYlO0r+jIIs20oz7jn251tkI6AxXhNstkqtL EqEasUBAdLnkfJekSQlA5KZgqCsItR/PrfQOLDoq+4YgzCKiqZZf+z/KsxSqD0aVKbgPaL pCeXdmsOicmNTCDihQfxQPhmXU/C4Ru5QpePhRamOAuGAemJWec0xxqTppX70NIxwbBpJU /cMUf65wO/tuSPkLOF7w1heL9SbAdgy5PoYV+IUfNhgKSwxrp3UILHqO3fbXSSWBmpYUOZ SwwSIiwtK98vVXtKbpJielOfYW4jmLwWUFycvBFOLBEV2h2N31IK0LmLzUGgRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=d9GgeSSA; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=Fj0qRNsZ; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731020715; a=rsa-sha256; cv=none; b=KPAJ2GC5rZnQ4KgiVaxy32FD0S1kW1Z9YvQ0jg4Bnzu7ACjuPFOJsbN1X0mE4kpp0kQmsL SL8HdiQXU0LO6gu7vNxCwTpaYOsFNO+btqSdOAb5fIvH08t+Co+DL7470YmNIPNhpzVQ/J 7hWwE9Cf5VXbSashmRorClEe3QiE0B/dDNMbVz27dUSm08da4ZA7n2VPDWV+/WCLBX52eV B9V3X+65Cih6+8NlSV5P7PQWDimdgxkqqh5QH/jJ2kVBpoXmVf6f8eGGf6FdvQiy/CGJu7 0h+8Ohy8FG3iyG8MG/lfHY/6beXxjZ+nt1a/omF90APuIa5WB+dKUE1VV2GGDQ== 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 5E8BB7A57B for ; Fri, 08 Nov 2024 00:05:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9AzC-0008BN-GK; Thu, 07 Nov 2024 17:28:18 -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 1t9Az6-00088u-Dw for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:13 -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 1t9Az6-0007vV-5o for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=SImZKwzUWXVMNU5ylqqXBuvXE7B2CQWMWqZ2fVfZk9s=; b=d9GgeSSAlv55Oj5YIkY9LRcxYznt4NrOHWy6UoyqQUXMUXnT0KPcQYSREeRpQSxO40mK+ElsHcLvmtmkdFbaqhOlG3IZjkxqx65/FTCAwxcu1s+XGWFvw6WxHGbMsvNDFfr9Wjzeh35lSZ3yCpdCGQvzmUgQLEyPJ3Hz9WOi6FRzaRx+iC2h0UHPrKxI0hW4sa6H+P4GpgkJBZhs7Bvr9+1Fux4eiOkVYPPzfXsrS6p9y+QaJntZO5KOY9S+PSxIFhKVeyqmUVFsHB4dUq30+Nc9T64ncO855601V0daWZyQsgakA+iHrueO8DBZfikGPB+h3qOZRVtJvrNQS+Ujsw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Az6-00084b-0H; Thu, 07 Nov 2024 17:28:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCHv2 rust-team 08/20] gnu: Add rust-checked-int-cast-1. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2024 22:28:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74234@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74234-submit@debbugs.gnu.org id=B74234.173101848630916 (code B ref 74234); Thu, 07 Nov 2024 22:28:11 +0000 Received: (at 74234) by debbugs.gnu.org; 7 Nov 2024 22:28:06 +0000 Received: from localhost ([127.0.0.1]:50190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayz-00082Q-A5 for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:28:05 -0500 Received: from confino.investici.org ([93.190.126.19]:59793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayk-0007zc-UV for 74234@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018463; bh=SImZKwzUWXVMNU5ylqqXBuvXE7B2CQWMWqZ2fVfZk9s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fj0qRNsZgKitK7J/jVECbKaHcYB7R4h5d7sURA8tL+4A6Rjon7E019LUMDE2yM/za iVe8d7BQ9fy5TDRB8+DG/e2IsjMnru5rtuAJk6XU3/rUimDtO1FMfZ8qqTeeuNS9rK 58nZbdQf9bE1l36YhVpBHlm3FaJiDr5HZTlCZfKI= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxXb13jdz112T; Thu, 7 Nov 2024 22:27:43 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkxXb0K3Kz1111; Thu, 7 Nov 2024 22:27:43 +0000 (UTC) Date: Thu, 7 Nov 2024 23:27:05 +0100 Message-ID: <9eea7453e0abd879b401cfac1d3866e78125280c.1731018436.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> References: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via 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: mx11.migadu.com X-Migadu-Spam-Score: 0.57 X-Spam-Score: 0.57 X-Migadu-Queue-Id: 5E8BB7A57B X-TUID: 7m6RdDzahcON * gnu/packages/crates-io.scm (rust-checked-int-cast-1): New variable. Change-Id: I43217dc6089b8fe594f6650ad2a026adfe470f15 --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 35455073a8..c20bd516cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12866,6 +12866,29 @@ (define-public rust-chrono-0.4 (description "Date and time library for Rust.") (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) + (arguments + `(#:skip-build? #t)) + (home-page "https://github.com/PeterReid/checked_int_cast") + (synopsis + "Conversions between primitive integers with overflow and +underflow checking") + (description + "This package provides Conversions between primitive integers with +overflow and underflow checking.") + (license license:expat))) + (define-public rust-chic-1 (package (name "rust-chic") -- 2.46.0