From patchwork Mon Jan 8 01:52:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 58578 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 5850127BBEC; Mon, 8 Jan 2024 01:59:07 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 B896927BBEA for ; Mon, 8 Jan 2024 01:59:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMesD-0006yB-3H; Sun, 07 Jan 2024 20:56:17 -0500 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 1rMesA-0006vI-Oc for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:14 -0500 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 1rMesA-0004U6-FS for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMesG-0000Ea-Ag for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:20 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 064/156] gnu: Add rust-inlinable-string-0.1. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 01:56:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.1704678950309 (code B ref 68312); Mon, 08 Jan 2024 01:56:20 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 01:55:50 +0000 Received: from localhost ([127.0.0.1]:34364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMerl-0008WV-Mi for submit@debbugs.gnu.org; Sun, 07 Jan 2024 20:55:50 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:33382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMeqy-0008Eb-3S for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 20:55:05 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678889; bh=G1kLlRePW+EIotXMSx/o9lXPpMhPK6ppp1FzapK/fpw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Zs3ih1nbkGEt/7HZ9yqALITCXDg56b4HUnzPmIgMGKQPzSaeckyw55wVUznwqLDOK vQJh3ICFcEaHEUybVPkMHrFPIMbqy/BYcW7hxYgnKxFCmoTdizYGzSyjspD7Wiptzl jYbFE6D3HkQFqJ7n8cQZz0ICB0P3yP8vw1Nah5DM= Date: Mon, 8 Jan 2024 02:52:41 +0100 Message-ID: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-inlinable-string-0.1): New variable. Change-Id: I123f060dcaf81329f503bed8908873fbfa8a667e --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 19cfed246ef..efad46c1d03 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33427,6 +33427,32 @@ (define-public rust-impl-trait-for-tuples-0.2 a trait for tuples.") (license (list license:asl2.0 license:expat)))) +(define-public rust-inlinable-string-0.1 + (package + (name "rust-inlinable-string") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "inlinable_string" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ysjci8yfvxgf51z0ny2nnwhxrclhmb3vbngin8v4bznhr3ybyn8")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/fitzgen/inlinable_string") + (synopsis + "The `inlinable_string` crate provides the `InlinableString` type -- an owned, grow-able UTF-8 string that stores small strings inline and avoids heap-allocation -- and the `StringExt` trait which abstracts string operations over both `std::string::String` and `InlinableString` (or even your own custom string type).") + (description + "The `inlinable_string` crate provides the `@code{InlinableString`} type -- an +owned, grow-able UTF-8 string that stores small strings inline and avoids +heap-allocation -- and the `@code{StringExt`} trait which abstracts string +operations over both `std::string::String` and `@code{InlinableString`} (or even +your own custom string type).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-include-dir-0.7 (package (name "rust-include-dir")