From patchwork Sun Mar 30 12:26:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 41006 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 E9FB527BBEA; Sun, 30 Mar 2025 13:30:01 +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=-3.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_SBL_CSS,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 7048C27BBE2 for ; Sun, 30 Mar 2025 13:30:01 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyrmp-00033p-JO; Sun, 30 Mar 2025 08:29:12 -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 1tyrmn-00033S-9x for guix-patches@gnu.org; Sun, 30 Mar 2025 08:29:10 -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 1tyrmm-0008RF-IH for guix-patches@gnu.org; Sun, 30 Mar 2025 08:29:08 -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=w1seT0pPebxFLtFFWEon0X5wCLCMMr63rhyWe4Y2y2Y=; b=ijfhW6kSMzYh6fYYcvxQ3k5gjl96zChl2qXyk6AgWTa9nvPowD7QhqjmaHxoBOCDRoSyBAVZr2FoS7+UXplGivBTCdUw/ZEfEATSUMeIHM9zwJxmTKZW+Fi1i+5Akui4TLp74Had7jMlfnezuzMKsISuF3ptDKl0P8hzieyN1Xs0HbtsKJTRyBk19stj7JowETFYnpGfvTDXLHyllZhCz9G1BTPMhQaeyDeFv+Xj3MQIEcpXRjWas19nAr80L7hcmw0Vx/3JtiPaH7NLiw3nF7FrYW9XnKmSTImreQUX6aYj8Crbv3/eohmha7jKkpxg23Tke4SeQEdutCrt6Tr6fg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyrmk-0005ca-4B; Sun, 30 Mar 2025 08:29:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77382] [PATCH rust-team 08/18] gnu: Add rust-faster-hex-0.10. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Sun, 30 Mar 2025 12:29:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77382@debbugs.gnu.org Cc: Gabriel Santos , Divya Ranjan Pattanaik , Efraim Flashner , Steve George X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik , Efraim Flashner , Steve George Received: via spool by 77382-submit@debbugs.gnu.org id=B77382.174333774321533 (code B ref 77382); Sun, 30 Mar 2025 12:29:06 +0000 Received: (at 77382) by debbugs.gnu.org; 30 Mar 2025 12:29:03 +0000 Received: from localhost ([127.0.0.1]:35191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyrmg-0005b1-Cg for submit@debbugs.gnu.org; Sun, 30 Mar 2025 08:29:02 -0400 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:45147) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tyrmU-0005Zl-1G for 77382@debbugs.gnu.org; Sun, 30 Mar 2025 08:28:50 -0400 Received: by mail-pl1-x644.google.com with SMTP id d9443c01a7336-22423adf751so67158995ad.2 for <77382@debbugs.gnu.org>; Sun, 30 Mar 2025 05:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743337724; x=1743942524; 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=w1seT0pPebxFLtFFWEon0X5wCLCMMr63rhyWe4Y2y2Y=; b=HjZIkZtVsojnFG6CEy7Oktwq0LWnPD6a9W270zF2L1bEXl6fziNe6fXZ5zE/b6q3MV 2qGT7fu8aQRdRMsIBk9nKPqo/9fNIoyj5hO1NX0tx8RE/wn/uLnjr8L4U2NJ9pNX7I6y LCJUZ9s5F4TZJ8ntRTn3px+W1dr6eqivvnkQtIeVvPhidWeafj7Q8abTi4ULLpeF/Sor 0doi/zYEbRKhg57cjxbnwDp5pYKszhhJ+jcurT6CEpPI9dN912hmNjH5/Jbbkc3dGHFG RWpHa4eje913IK4iiprd89R4vKAAD090jjS8HpDVUdrvUWGSa6QaMlLTz0oEfSbq7x9Z vxYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743337724; x=1743942524; 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=w1seT0pPebxFLtFFWEon0X5wCLCMMr63rhyWe4Y2y2Y=; b=lbguvxSCZqxFL3CTR6CNJx+I8ZFfk5vwTMVo8xamwNZfIv99UsdguR4H3pB7Wqc6gp StHNOMYi5s/Rx/XbBx8J0z25ey52jpf7kmK/iVCDyf/WVifbcSMduH91CRItN8TzSEVN YAqLpwud4dC8O75k+UWb/UAYk3ixspO5oxgzTNqIuhREm/SPAVmqOb/WuY0S7YkRh7GH 1bYvgTJpa1KoesMP5/SvB2ilGKHl5M6Pv74mQf+fTGW157eWUmj4/gSKUngyJ9kSMWIZ B79x6UKbEjbdv9WNc0uEo/rOB9ZT+TqU8YLknf85gpjLl6sdL848CSJfCQZH9T3q+ISr YuzA== X-Gm-Message-State: AOJu0YylvlA2iVwOJMLauJOTkAANL7mGhZI9EYn7zZYREoz5ck7nP2VU tfbTwSvKg/QT8OZfUwRAhSUT6LUmzbLd4DcxUnbyKBx5KROudGKOe+hKkLAe X-Gm-Gg: ASbGncvW6f1JrjuQuHWhdJ3IB++HgwWpmHVT2p14qKcmk+aeoZC9b8MSSVhT3Y08Ojp 2ibdlUJqxIpmNmTIwIVNs7TcBXZXUEuH/FF1Vkj4vOEC76r5WkOaGUa/JQohLyMcIlj/i9m/fn0 HQ00kFo1OQbryrovapoa0KwAsuIPX0qtZYg4mFaVP9NwQuN+uibkDDoKacX8sBQdE9hA/4Vcxud n+ej2o2L8EHT26dLfDDC8bXnILK3rm//Jy6gYQbmAgsOgcrQDVpOOCyd+Vm/bL9NgxyiJ8Ib+/y gdIaFbaCU2AsePk6LdBgnPttG6LwvXiQq0vdyCj8PxEaptLu5LwhmflN2shaeEmvjnSBjj4tuNg BM3Qmm7FKig== X-Google-Smtp-Source: AGHT+IEGnINowrfx0DHnDK0RpXsUVA2u6TG7X2P3cNEigKnSdP/ZBMDxj8v29p4D1Vu9UiQrLgLE0Q== X-Received: by 2002:a17:903:144b:b0:224:fa0:36d2 with SMTP id d9443c01a7336-2292f975cdemr90341505ad.26.1743337723783; Sun, 30 Mar 2025 05:28:43 -0700 (PDT) Received: from localhost (177-70-169-245.infotec.psi.br. [177.70.169.245]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2291f1ded84sm50978365ad.170.2025.03.30.05.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Mar 2025 05:28:43 -0700 (PDT) From: Gabriel Santos X-Google-Original-From: Gabriel Santos Date: Sun, 30 Mar 2025 09:26:23 -0300 Message-ID: <0e5d26a36468149ce819dca2015eaf08fb854968.1743337577.git.gabrielsantosdesouza@disroot.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.gabrielsantosdesouza@disroot.org> References: <8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.gabrielsantosdesouza@disroot.org> 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: , 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-faster-hex-0.10): New variable. (rust-faster-hex-0.9): Inherit. Change-Id: I225e83049414cd9fca5e2066fe7f8f4fbded25da --- gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 077ce6ad07..d5395b1df5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26785,8 +26785,33 @@ (define-public rust-fast-float-0.2 (description "This package provides a fast floating-point number parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-faster-hex-0.10 + (package + (name "rust-faster-hex") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "faster-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wzvv4a1czxfxmh99cza2y0jps97hm3k1j6r6cs816qp5wnsw8vj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-heapless" ,rust-heapless-0.8) + ("rust-hex" ,rust-hex-0.3) + ("rust-rustc-hex" ,rust-rustc-hex-1)))) + (home-page "https://github.com/NervosFoundation/faster-hex") + (synopsis "Fast hex encoding") + (description "Fast hex encoding.") + (license license:expat))) + (define-public rust-faster-hex-0.9 (package + (inherit rust-faster-hex-0.10) (name "rust-faster-hex") (version "0.9.0") (source @@ -26805,11 +26830,7 @@ (define-public rust-faster-hex-0.9 ("rust-proptest" ,rust-proptest-1) ("rust-rustc-hex" ,rust-rustc-hex-1) ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/NervosFoundation/faster-hex") - (synopsis "Fast hex encoding") - (description "Fast hex encoding.") - (license license:expat))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-faster-hex-0.8 (package