From patchwork Wed Mar 19 01:19:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 40409 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 2765927BBEA; Wed, 19 Mar 2025 01:33:18 +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 A3DB527BBE2 for ; Wed, 19 Mar 2025 01:33:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuiIk-00078S-UR; Tue, 18 Mar 2025 21:33:10 -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 1tuiHw-0006pk-Io for guix-patches@gnu.org; Tue, 18 Mar 2025 21:32:14 -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 1tuiHv-0006xP-IO for guix-patches@gnu.org; Tue, 18 Mar 2025 21:32: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=BZJDdWS7KOVCF8jhL1euG3ZquzGIGNRGzS91BJHGAmg=; b=gPOH/a4ur8zTeX3pjtys87/uFdpHfiCsCNFB2Lq2RNdzON6agQjEH812CNjNUdlHMKwlU/NGzDgnvoRox47FnHl1LoN4IAcZJCUw6Z851n90qjlOSaKnr+BiR/cftPbCtWSdTv6SmgOzuth+VDxwHpgKYQLo98xIJbBJVeG5lgvqxibaYbw9psi9F0ZMbJmgf6QwQeiLGbrrNtdXcNGy6RacdpUKHQnCbMK5SMj44l/4ZEOQKQs513m08bUhvSukQf0s56GUIcpC2Wa0TGKg08PLwjYYduvx+yer1kWkmDARYGknreId7TC5fJ+VG4o241qUzi4dBxn7T5iPGo5jCw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuiHu-0003Hm-0j; Tue, 18 Mar 2025 21:32:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74743] [PATCH rust-team v2 58/68] gnu: rust-bincode-2: New variable. Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 01:32:05 +0000 Resent-Message-ID: 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 , 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.174234788112217 (code B ref 74743); Wed, 19 Mar 2025 01:32:05 +0000 Received: (at 74743) by debbugs.gnu.org; 19 Mar 2025 01:31:21 +0000 Received: from localhost ([127.0.0.1]:44637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuiH7-0003AT-B1 for submit@debbugs.gnu.org; Tue, 18 Mar 2025 21:31:20 -0400 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]:55751) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tui9M-0001nK-7I for 74743@debbugs.gnu.org; Tue, 18 Mar 2025 21:23:18 -0400 Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-6e8f43c1fa0so63221636d6.3 for <74743@debbugs.gnu.org>; Tue, 18 Mar 2025 18:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1742347390; x=1742952190; 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=BZJDdWS7KOVCF8jhL1euG3ZquzGIGNRGzS91BJHGAmg=; b=b0N8z7iI/qCeQGMBXRwJuE2GsRFc7+0aOjlk/K2UGqiKtEcnLzetE6VgPajxZdmBfl WVJYTboeb2tbTnxB1VVaTdSZrfgFSueEUy7vW6EXTIDTLj/lIPPf4VzXXObNN1wuiYPw Dxto/Ig+zHzt/T1TBYXDFtUU8o+h8EfifJlVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742347390; x=1742952190; 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=BZJDdWS7KOVCF8jhL1euG3ZquzGIGNRGzS91BJHGAmg=; b=X5hgS7h7x1lljdBtjUPV2ZAhRbObrmiGkZIyd4GpcShNLfG4e1nxXRidjlmUUO3f/C ad4szS+FiW6ryLGXINx0FJIrn2pan978JcKUrMqVyl2SI107cJgdoLEV7HbOgyiUnE2S caf+JowxaWuqxKYeuhuE+cJe0aDRWHSqLH45vOefcgfr2aw3Vyl+k/2C+kobqzN4mYJy nOMk8cIiCb1JhIsxv3fIJv6W5PYeaTnNsYSbkEdkiHcUNRTAnIN3Ttt0dP1jOy/KdUS9 Wd6+cp+KTJ7582a5OJC40TTVId5uET6iPWt5EgYEMpz/w/IAwAcR6zvu/FYd8sTtyJZd grLg== X-Gm-Message-State: AOJu0YyeWiL79NfDXL+A9MxDKkgbsskaaTaHhR6sM/k9dsflbL9U7n9l d3AGDPnVPgKtQX+HMFMfQ0vq0HLfr+oGZj9CPI9ye3LTg9DFGhkamV3VNK8eXEmWTE2ovNfpB0Y xNuTeENbGLQM72gED4XmAiRBZfk8Gs5khjC2PVaEt9vMJhQ0k6lNInih2IAZl7Yf27/lihrMvzF Mk1RIWYjhoJ6YEWzKG6NOY15g5RF/7+9ojSQQHThI= X-Gm-Gg: ASbGncsHpRv6wVrvnr1PYOyp/9XQAOCkRl/diEH/PxFq9ZJZseVu9OcGT+36eoodvWz IpL7PRA2hW6BT0xwGZl8FFRK77QKNgQbjKxDYKTAzpbEXxlWdcALPwmbamJNNcHPyuEvGG08lFL JzKpgqk+SRsC74J/dxrDkCVTYNJCi0vCP4xvwlAo605SympfoR2QptQ6W0U1CNEsA+025PC80us bfFegzoWUr9fKn3KtT7Xzbpfsj7ELpA7m4eJxHHYEuDoxXQU62xvMUfpFcqpCoO4HFju8KH90Vt kDNXX8erdyYbcWP/sO67GhgsiV90YrfYNwwjwk86J3Eac6gf8hSLRho= X-Google-Smtp-Source: AGHT+IHV8HdDqGN8cmBRpu51YmAGGO5F6yTsejFjUrorTkVolWFiNMgAvaMfW+M4UuBdCnrFqlCikw== X-Received: by 2002:a05:6214:1c09:b0:6e8:9957:e705 with SMTP id 6a1803df08f44-6eb29450407mr17968646d6.34.1742347390221; Tue, 18 Mar 2025 18:23:10 -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.23.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 18:23:09 -0700 (PDT) Date: Tue, 18 Mar 2025 21:19:16 -0400 Message-ID: <20250319011932.1899508-59-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 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: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig 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-bincode-2): New variable. Signed-off-by: Aaron Covrig --- gnu/packages/crates-io.scm | 53 +++++++++++++++++++++++++++++++------- 1 file changed, 44 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9c86855d23..b4b6f098cc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7152,25 +7152,41 @@ (define-public rust-binascii-0.1 base32 and base16 (hex)") (license license:expat))) -(define-public rust-bincode-1 +(define-public rust-bincode-2 (package (name "rust-bincode") - (version "1.3.3") + (version "2.0.1") (source (origin (method url-fetch) (uri (crate-uri "bincode" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bfw3mnwzx5g1465kiqllp5n4r10qrqy88kdlp3jfwnq2ya5xx5i")))) + (base32 "0h5pxp3dqkigjwy926a03sl69n9wv7aq4142a20kw9lhn3bzbsin")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Claims to require rust 1.85.0 when it actually doesn't + (substitute* "Cargo.toml" + (("rust-version =.*") "")))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/servo/bincode") + (list #:cargo-inputs + (list rust-unty-0.0.4 + rust-bincode-derive-2 + rust-serde-1) + #:cargo-development-inputs + (list rust-bincode-1 + rust-bumpalo-3 + rust-chrono-0.4 + rust-criterion-0.5 + rust-glam-0.25 + rust-ouroboros-0.18 + rust-rand-0.8 + rust-serde-1 + rust-serde-derive-1 + rust-tempfile-3 + rust-uuid-1))) + (home-page "https://github.com/bincode-org/bincode") (synopsis "Binary serialization/deserialization strategy") (description @@ -7178,6 +7194,25 @@ (define-public rust-bincode-1 that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) +(define-public rust-bincode-1 + (package + (inherit rust-bincode-2) + (name "rust-bincode") + (version "1.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "bincode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bfw3mnwzx5g1465kiqllp5n4r10qrqy88kdlp3jfwnq2ya5xx5i")))) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1)))))) + (define-public rust-bincode-derive-2 (package (name "rust-bincode-derive")