From patchwork Wed Jan 12 15:27:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Z572 <873216071@qq.com> X-Patchwork-Id: 36259 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 A8ECC27BBEA; Wed, 12 Jan 2022 15:47:53 +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=-2.5 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 2608127BBE9 for ; Wed, 12 Jan 2022 15:47:53 +0000 (GMT) Received: from localhost ([::1]:42980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7fqq-0005gn-B8 for patchwork@mira.cbaines.net; Wed, 12 Jan 2022 10:47:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7fYj-0000Z5-AS for guix-patches@gnu.org; Wed, 12 Jan 2022 10:29:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7fYi-0002XO-UN for guix-patches@gnu.org; Wed, 12 Jan 2022 10:29:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7fYi-0002JR-RZ for guix-patches@gnu.org; Wed, 12 Jan 2022 10:29:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53208] [PATCH 17/39] gnu: Add rust-tracing-subscriber-0.3. Resent-From: Z572 <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 12 Jan 2022 15:29:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53208@debbugs.gnu.org Received: via spool by 53208-submit@debbugs.gnu.org id=B53208.16420013238595 (code B ref 53208); Wed, 12 Jan 2022 15:29:08 +0000 Received: (at 53208) by debbugs.gnu.org; 12 Jan 2022 15:28:43 +0000 Received: from localhost ([127.0.0.1]:58630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7fYI-0002ET-S6 for submit@debbugs.gnu.org; Wed, 12 Jan 2022 10:28:43 -0500 Received: from out162-62-63-194.mail.qq.com ([162.62.63.194]:47225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1n7fXt-00028Y-Q2 for 53208@debbugs.gnu.org; Wed, 12 Jan 2022 10:28:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1642001290; bh=QV7uChNch6HMCvJskyQuR5u7TYDkfgsAJRZjbkZmQUY=; h=From:To:Subject:Date:In-Reply-To:References; b=tef9y7DuR3ajsLJI0qs1uMm4ZVCrGxlyS5WXhKyYCdTGprTXs0zTac0no7ZPIgGTd 6l8d/g/HO/YFo3qlBDZkuy/BuYYpxzjvuZaZWGTSgliPPtq2WGMV9AspalbSpcWwcA 5rsamNayVgm5f7aUpJe0ry7QdBD8WiXEcIduLqRg= Received: from localhost.localdomain ([112.10.216.34]) by newxmesmtplogicsvrsza5.qq.com (NewEsmtp) with SMTP id 6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34.0 In-Reply-To: References: 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" Reply-to: Z572 <873216071@qq.com> X-ACL-Warn: , Z572 via Guix-patches X-Patchwork-Original-From: Z572 via Guix-patches via From: Z572 <873216071@qq.com> X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-tracing-subscriber-0.3): New variable. (rust-tracing-subscriber-0.2): Inherit from above. --- gnu/packages/crates-io.scm | 64 ++++++++++++++++++++++++++++---------- 1 file changed, 48 insertions(+), 16 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 89f2cbf221..66d8f50ac9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -59447,8 +59447,55 @@ (define-public rust-tracing-serde-0.1 with @code{serde}.") (license license:expat))) +(define-public rust-tracing-subscriber-0.3 + (package + (name "rust-tracing-subscriber") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-subscriber" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "157mz6q0ljpragrj4hsv5rchyabsbfc7r0sb0g5rik142jlbz0ax")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-matchers" ,rust-matchers-0.1) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sharded-slab" ,rust-sharded-slab-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thread-local" ,rust-thread-local-1) + ("rust-time" ,rust-time-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-core" ,rust-tracing-core-0.1) + ("rust-tracing-log" ,rust-tracing-log-0.1) + ("rust-tracing-serde" ,rust-tracing-serde-0.1)))) + (home-page "https://tokio.rs") + (synopsis "Implement and compose tracing subscribers") + (description + "This package provides utilities for implementing and composing tracing +subscribers. + +Tracing is a framework for instrumenting Rust programs to collect scoped, +structured, and async-aware diagnostics. The Subscriber trait represents the +functionality necessary to collect this trace data. This crate contains tools +for composing subscribers out of smaller units of behaviour, and +batteries-included implementations of common subscriber functionality. + +Tracing-subscriber is intended for use by both Subscriber authors and +application authors using tracing to instrument their applications.") + (license license:expat))) + (define-public rust-tracing-subscriber-0.2 (package + (inherit rust-tracing-subscriber-0.3) (name "rust-tracing-subscriber") (version "0.2.15") (source @@ -59484,22 +59531,7 @@ (define-public rust-tracing-subscriber-0.2 ("rust-tokio" ,rust-tokio-0.2) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-futures" ,rust-tracing-futures-0.2) - ("rust-tracing-log" ,rust-tracing-log-0.1)))) - (home-page "https://tokio.rs") - (synopsis "Implement and compose tracing subscribers") - (description - "This package provides utilities for implementing and composing tracing -subscribers. - -Tracing is a framework for instrumenting Rust programs to collect scoped, -structured, and async-aware diagnostics. The Subscriber trait represents the -functionality necessary to collect this trace data. This crate contains tools -for composing subscribers out of smaller units of behaviour, and -batteries-included implementations of common subscriber functionality. - -Tracing-subscriber is intended for use by both Subscriber authors and -application authors using tracing to instrument their applications.") - (license license:expat))) + ("rust-tracing-log" ,rust-tracing-log-0.1)))))) (define-public rust-tracing-subscriber-0.1 (package