From patchwork Tue Mar 19 03:51:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61954 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 8C2AA27BBEC; Tue, 19 Mar 2024 03:55:23 +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 4B40927BBEA for ; Tue, 19 Mar 2024 03:55:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQYY-00007A-5y; Mon, 18 Mar 2024 23:54:30 -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 1rmQYV-0008W5-DQ for guix-patches@gnu.org; Mon, 18 Mar 2024 23:54:27 -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 1rmQYV-0008R7-5C for guix-patches@gnu.org; Mon, 18 Mar 2024 23:54:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQZ7-00067F-Jp; Mon, 18 Mar 2024 23:55:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 33/43] gnu: Add rust-inlinable-string-0.1. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082046023189 (code B ref 69890); Tue, 19 Mar 2024 03:55:05 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:54:20 +0000 Received: from localhost ([127.0.0.1]:35046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYN-00061n-Vn for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQY3-0005wD-12 for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1ABF0240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820400; bh=lN149YLJjcVx8kRS/ENn9dnOhyvvjU1+kGYNyIcYVfE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=M/wYDv2lfD5PsLdvuxNtNOtcBkFvV/woHyYl+wkt+J5mbEn9i8lBRFGZ/nBL7TzBl tZOTxvPF816i5Ze2lXnVYfpf+3/JhysbHlxT9FGDSKI9mHgAznZrc1dD0bsTHJl36K ePqKJEtyvsq+s5mHELaRCiH0vygR5nvZuzrzNGLy7GyPx4dRaqtGYr17aN3oM70cSs TXrhLk7XkgN0tDrP7dniGtnGbukurjei1r+DX9ni594pLrr/cvlRKOPsGUoJJArwHn GOmYCG5wXLGNSukiREMt/ljaQEjvFsQo722+miWE9/umWiSGQebiYzyYbv8/B0Artb uCJlaj2/+ktBQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHrH2Yklz6tyh; Tue, 19 Mar 2024 04:53:19 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:51:04 +0000 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: I5958abb88527c1fc5e9fcc8dabed14420688e2f7 --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dc1b407431..da9cc94f50 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30542,6 +30542,33 @@ (define-public rust-inflector-0.11 as both traits and pure functions acting on String types.") (license license:bsd-2))) +(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 + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/fitzgen/inlinable_string") + (synopsis "Provides the @code{InlinableString} type") + (description + "The @code{inlinable_string} crate provides the @code{InlinableString} +type. It is an owned, grow-able UTF-8 string that stores small strings inline +and avoids heap-allocation. It also provides the @code{StringExt} trait which +abstracts string operations over both @code{std::string::String} and +@code{InlinableString} (or even your own custom string type).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-inline-c-0.1 (package (name "rust-inline-c")