Message ID | 20250319011932.1899508-38-aaron.covrig.us@ieee.org |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8A85827BBEA; Wed, 19 Mar 2025 01:27:41 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 11BE427BBE2 for <patchwork@mira.cbaines.net>; Wed, 19 Mar 2025 01:27:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tuiCz-0003Yw-EE; Tue, 18 Mar 2025 21:27:01 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tuiCW-0003Mr-41 for guix-patches@gnu.org; Tue, 18 Mar 2025 21:26:32 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tuiCV-0003b7-Pb for guix-patches@gnu.org; Tue, 18 Mar 2025 21:26:31 -0400 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=YHXl95fH+qXZhEisHdqff0pdnYKTIugkO0h4r7DFKQE=; b=b/1vBgD3VtOYOjsmibcwscyhtyZuycvAqHr7MtTu5b0lqRWS/PAhPLlTlOKCgzXO9VEyoxNHoWbCLCKUvwOIzsNRjuWU9ZOWKO8ED9AZCn8MkDuTZV5Biz28tpg10bDJBByJ4ubZFcniVvqEifufGjILBOa+/g2JfqrXWyB7FnemDrKqZzsd5ghhnQ7+3Vi4iDTFaMuUGM2lx6D4SDGAUq4M3ELYYMOudY7uel8s/zQkFheFyriZVXBzQeT7S6JGnoJB+ypEvEi2rOkr6P14hALl7eI18Vi34+XjALQU2xLD/co9hYyRAgSpP7Rj9rHDAFqGgHb1wzPsumC4p0oPiA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tuiCV-0002Ok-Ip; Tue, 18 Mar 2025 21:26:31 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74743] [PATCH rust-team v2 37/68] gnu: rust-enum-table-0.2: New variable. Resent-From: Aaron Covrig <aaron.covrig.us@ieee.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 01:26:31 +0000 Resent-Message-ID: <handler.74743.B74743.17423475458688@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74743 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74743@debbugs.gnu.org Cc: Aaron Covrig <aaron.covrig.us@ieee.org>, divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net X-Debbugs-Original-Xcc: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net Received: via spool by 74743-submit@debbugs.gnu.org id=B74743.17423475458688 (code B ref 74743); Wed, 19 Mar 2025 01:26:31 +0000 Received: (at 74743) by debbugs.gnu.org; 19 Mar 2025 01:25:45 +0000 Received: from localhost ([127.0.0.1]:44499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tuiBk-0002Fv-5d for submit@debbugs.gnu.org; Tue, 18 Mar 2025 21:25:44 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:60849) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaron.covrig.us@ieee.org>) id 1tui8i-0001fq-DQ for 74743@debbugs.gnu.org; Tue, 18 Mar 2025 21:22:46 -0400 Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-6e89a2501a0so60168426d6.1 for <74743@debbugs.gnu.org>; Tue, 18 Mar 2025 18:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1742347350; x=1742952150; darn=debbugs.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=YHXl95fH+qXZhEisHdqff0pdnYKTIugkO0h4r7DFKQE=; b=EpCD7LNKew2JGYlnBS02T06KXH53vGibXfpofGN7XFotJfUNeI7JTMhYyTDK7za9gU PeGX+wJzoDKPYrcTb88ekdAj6cldnwfhocXVSdnP9jKgo+1wCZcAdSSIDoNh5ozhQP/N zkdcsJ+Cu22NNXhRp+Ufnh5USp4//r/snJPFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742347350; x=1742952150; 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=YHXl95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nbdPj5lI6cMxzT0e++ktkfbwA== X-Received: by 2002:a05:6214:1d04:b0:6e8:97a7:4af with SMTP id 6a1803df08f44-6eb29285126mr14578306d6.13.1742347350237; Tue, 18 Mar 2025 18:22:30 -0700 (PDT) Received: from mobile-dev.lan ([73.172.106.204]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6eade209335sm74210866d6.22.2025.03.18.18.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 18:22:29 -0700 (PDT) Date: Tue, 18 Mar 2025 21:18:55 -0400 Message-ID: <20250319011932.1899508-38-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250319011932.1899508-1-aaron.covrig.us@ieee.org> References: <20250319011932.1899508-1-aaron.covrig.us@ieee.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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Aaron Covrig <aaron.covrig.us@ieee.org> X-ACL-Warn: , Aaron Covrig via Guix-patches <guix-patches@gnu.org> From: Aaron Covrig via Guix-patches via <guix-patches@gnu.org> 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 |
Series |
Assorted rust-* package upgrades
|
|
Commit Message
Aaron Covrig
March 19, 2025, 1:18 a.m. UTC
* gnu/packages/crates-io.scm (rust-enum-table-0.2): New variable.
Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 58651e64c5..ab98f4de78 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23867,6 +23867,31 @@ (define-public rust-enum-ordinalize-derive-4 construction of enums from an ordinal value.") (license license:expat))) +(define-public rust-enum-table-0.2 + (package + (name "rust-enum-table") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-table" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11rlvhmiz12ysvn03db0nb6hshy47vmqp5d4kylibcb72qsh3f0h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-enum-table-derive" ,rust-enum-table-derive-0.2)))) + (home-page "https://github.com/moriyoshi-kasuga/enum-table") + (synopsis "Library for creating tables with enums as key") + (description "@dfn{enum-table} is a lightweight and efficient Rust library +designed for mapping enums to values. It provides a fast and type-safe +alternative to using HashMap for enum keys, ensuring compile-time safety and +performance benefits. + +You can create an EnumTable struct at const time, ensuring that values are +returned reliably with get, and there is no runtime check.") + (license license:expat))) + (define-public rust-enum-table-derive-0.2 (package (name "rust-enum-table-derive")