From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KKXKNT/PlWSvIAAASxT56A (envelope-from ) for ; Fri, 23 Jun 2023 18:58:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YCTXNT/PlWSIkgAAauVa8A (envelope-from ) for ; Fri, 23 Jun 2023 18:58:39 +0200 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 B4C5719EDC for ; Fri, 23 Jun 2023 18:58:39 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687539519; a=rsa-sha256; cv=none; b=XdHZKENZwEqVNPFPuIHAAUTqS/3fR5qHNvAHbRnZZoE7f+tHw4sVmnvUi8v/dOkxdHwvtd Tx4CjFRyGugjBMqfbPLn4XiyRtL/wb+SNqDJyvQttj5o4LqeaCoRN+DBGIiGIsf0Z23/ex hUQZz0EODe8A9f7xAOOZhyvhGHtAFJdnPg83A8E7zkqR3Ts7KGNp10jNO5ZFXVL1hu66fV 04QNzZ/nRJRyRrLN64Z55c81OK8kICnFL6DpLV2jVp+ETbMQd1oVLNzlS2bZOLP69Wss// y4Q6itBR+iyq9hihq3MEBLNfew/2ZO+PZj0QoMvurC6zzvGm1WDfkGfg28Uo9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687539519; h=from:from:sender:sender: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; bh=5jec3TmjFBOBf25bVzuaLpQz7yV815H7SN5oJMwPnHM=; b=P/ZHFUFr8ogAb3cV6zvqDGF1Fm6P5dAaCH7c2ywoltdHlYZE3B5Kd8pBKcvf/5tBpvm47O whKa9M3oOT/gyhF9EkzVtPQXQq2R0hg7lHFJ8mB2D2RlZ5+Sjjrdk8R0wH2zDslZ5OgPKr dOZE0jStDWICCMf/DwWUYXJ6JYlzLphYGpblyPTylns8lYssdm0xEMoLBfnkht9xGKbHh0 ftsRA339mV5lUfoxOilZZK5O+5cvW0mZgXemxS3dL7PWZqD2ErUexeitKuN788WzZI4+27 2IEIabvih5f4Lnua703EPgK1t57vWZ01C7qBklU8IKgFLGSx5mJISztafhh4jw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCk6n-0000j9-5e; Fri, 23 Jun 2023 12:58:05 -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 1qCk6m-0000if-Ba for guix-patches@gnu.org; Fri, 23 Jun 2023 12:58:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCk6m-0006rO-39 for guix-patches@gnu.org; Fri, 23 Jun 2023 12:58:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCk6l-0004Ha-WD; Fri, 23 Jun 2023 12:58:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64248] [PATCH 6/8] gnu: Add rust-maybe-async. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 23 Jun 2023 16:58:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64248 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 64248@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 64248-submit@debbugs.gnu.org id=B64248.168753944816358 (code B ref 64248); Fri, 23 Jun 2023 16:58:03 +0000 Received: (at 64248) by debbugs.gnu.org; 23 Jun 2023 16:57:28 +0000 Received: from localhost ([127.0.0.1]:39464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCk6C-0004Fh-6d for submit@debbugs.gnu.org; Fri, 23 Jun 2023 12:57:28 -0400 Received: from mailtransmit04.runbox.com ([185.226.149.37]:33888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCk64-0004EU-Db for 64248@debbugs.gnu.org; Fri, 23 Jun 2023 12:57:21 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qCk5y-006g7g-Qy for 64248@debbugs.gnu.org; Fri, 23 Jun 2023 18:57:14 +0200 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qCk5y-00056Q-H3 for 64248@debbugs.gnu.org; Fri, 23 Jun 2023 18:57:14 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1qCk5p-0006NG-Fi; Fri, 23 Jun 2023 18:57:05 +0200 From: Steve George Date: Fri, 23 Jun 2023 17:56:49 +0100 Message-Id: <4a582cff988297943495611567d7cce9f502080f.1687539092.git.steve@futurile.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: <50613bf2-90f6-c885-28a9-6eca1d487a07@futurile.net> References: <50613bf2-90f6-c885-28a9-6eca1d487a07@futurile.net> 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: , 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: scn1.migadu.com X-Migadu-Spam-Score: -1.85 X-Migadu-Queue-Id: B4C5719EDC X-Spam-Score: -1.85 X-TUID: 9+UoEf69vBAI * gnu/packages/crates-io.scm (rust-maybe-async): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5bf615fb95..41646c69c6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36214,6 +36214,34 @@ (define-public rust-matrixmultiply-0.1 `(#:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.1)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))))) +(define-public rust-maybe-async-0.2 + (package + (name "rust-maybe-async") + (version "0.2.7") + (source (origin + (method url-fetch) + (uri (crate-uri "maybe-async" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01gksgxmzgl8hvg831vv993fvrwz8hjwgcln99ilp08zrc9qq6qg")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #f + #:cargo-inputs `(("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-tokio" ,rust-tokio-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/fMeow/maybe-async-rs") + (synopsis "Procedural macro to unify sync and async Rust code") + (description + "This package provides a procedural macro that unifies sync and +async code in Rust.") + (license license:expat))) + (define-public rust-maybe-rayon-0.1 (package (name "rust-maybe-rayon") -- 2.40.1