From patchwork Sun Mar 24 15:19:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 62230 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 7E32427BBEC; Sun, 24 Mar 2024 15:25:41 +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 B309B27BBE2 for ; Sun, 24 Mar 2024 15:25:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roPiy-0007DR-3l; Sun, 24 Mar 2024 11:25:28 -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 1roPir-0007Cc-TK for guix-patches@gnu.org; Sun, 24 Mar 2024 11:25:22 -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 1roPiq-0006qo-KF for guix-patches@gnu.org; Sun, 24 Mar 2024 11:25:21 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1roPjW-00082Z-5z for guix-patches@gnu.org; Sun, 24 Mar 2024 11:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69620] [rust-team v3 1/9] gnu: Add rust-inlinable-string-0.1 Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Mar 2024 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69620 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69620@debbugs.gnu.org Cc: Aaron Covrig Received: via spool by 69620-submit@debbugs.gnu.org id=B69620.171129391930789 (code B ref 69620); Sun, 24 Mar 2024 15:26:02 +0000 Received: (at 69620) by debbugs.gnu.org; 24 Mar 2024 15:25:19 +0000 Received: from localhost ([127.0.0.1]:38221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roPio-00080V-P6 for submit@debbugs.gnu.org; Sun, 24 Mar 2024 11:25:19 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:58578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roPhH-0007vM-HI for 69620@debbugs.gnu.org; Sun, 24 Mar 2024 11:23:45 -0400 Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-789e5021703so233748485a.0 for <69620@debbugs.gnu.org>; Sun, 24 Mar 2024 08:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1711293715; x=1711898515; 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=oN8iNIPNnKFeIyJA/fz82kMfe+8dIrytxNHziuXTQrM=; b=SFsYDp7DUsghUobqx+VOe2NfZpnarBk85k6Sw1HzB+vZHc8spv45OwnjjVCzFdzQZy hP1WyZ2LRqmixVOyNBH2G0IU/apuu/HxVXwfedC39T8wJee3pQMvkQQVujyObm8Ah9Rm /V+JcFz9zrml07NJHmLEjK+eoKV5fDk+2WLR4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711293715; x=1711898515; 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=oN8iNIPNnKFeIyJA/fz82kMfe+8dIrytxNHziuXTQrM=; b=cDTwg2FpHqtjjfTM5ohglPV1mecH/Vdl0E7yr+6SLLp/ehCsgfWAZUwcWqQrk/ZazW 2ObOG9jmXQPA9UZyu62UBYevM2nAY7RwnEdIdtVZzO2uJ/TllCp5lKqE/CdOO4lqA2Ac VIAIQ7yW73wHXAv/xZUWQ6UKLeSLXZDNvC6BDSetxLPCZ1BdODjbmu7Hvlu0vQLpArwU b50TSBLCUI77bMmgy1AeKIGcUS8fkbNp6oARPoSieGNgPLUamsDLpqeSmGjU+qFuv6hx 4+WLvyevY85XITE4e/IEp1KWLLc1Oy0T4YiBczQEA4lLmSFp4Ae/WyAXTWcCz/pnSfd3 dGcA== X-Gm-Message-State: AOJu0Yw5remZ/tJVdugSehrNWxa0W02+EbVSj7wPkuQA3+QnGJpLLKMd yVRevtU66kbN0j7m3H4BFvzp0dfJN2VK9BAa0kruk48QJPd0yHIC7VdUlu7j5kd6Lkc7CZk/JJq OhOVu97hmJeN7OBX1ViZ0m3CyGba2CG6/frGSiDtnMo65/fAHMVhvI+ldz7LuUZUKTviNmgIWSQ D8ys8p6bVsue5trtxyoKxRYCwWNbDEFqe3dCR5N4s= X-Google-Smtp-Source: AGHT+IFnKcBzWPrnRLAD8JOlc51+Y0+WjYlzfo7OSRb7NXbn4ENb+idXsDtClFMDQ6IEiLChTEaILQ== X-Received: by 2002:a05:620a:21da:b0:78a:4595:4dfe with SMTP id h26-20020a05620a21da00b0078a45954dfemr4169447qka.50.1711293715440; Sun, 24 Mar 2024 08:21:55 -0700 (PDT) Received: from mobile-dev.fios-router.home (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222]) by smtp.gmail.com with ESMTPSA id wg9-20020a05620a568900b00789ed16d039sm1414907qkn.54.2024.03.24.08.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 08:21:55 -0700 (PDT) Date: Sun, 24 Mar 2024 11:19:53 -0400 Message-ID: <20240324152001.148236-3-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240324152001.148236-2-aaron.covrig.us@ieee.org> References: <20240324152001.148236-2-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-inlinable-string-0.1): Add variable --- 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 4eee577e59..ea8dcb5cec 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2024 Herman Rimm ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh +;;; Copyright © 2024 Aaron Covrig ;;; ;;; This file is part of GNU Guix. ;;; @@ -32398,6 +32399,31 @@ (define-public rust-inline-c-macro-0.1 writing and executing C code inside Rust.") (license license:bsd-3))) +(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 inline strings that avoid heap-allocation") + (description + "The @code{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 @code{std::string::String} and @code{InlinableString} (or +even your own custom string type)") + (license (list license:asl2.0 license:expat)))) + (define-public rust-inotify-0.10 (package (name "rust-inotify")