unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Covrig via Guix-patches via <guix-patches@gnu.org>
To: 69620@debbugs.gnu.org
Cc: Aaron Covrig <aaron.covrig.us@ieee.org>
Subject: [bug#69620] [rust-team v3 1/9] gnu: Add rust-inlinable-string-0.1
Date: Sun, 24 Mar 2024 11:19:53 -0400	[thread overview]
Message-ID: <20240324152001.148236-3-aaron.covrig.us@ieee.org> (raw)
In-Reply-To: <20240324152001.148236-2-aaron.covrig.us@ieee.org>

* 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 <herman@rimm.ee>
 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
 ;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
+;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
 ;;;
 ;;; 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")
-- 
2.41.0





  reply	other threads:[~2024-03-24 15:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08  2:08 [bug#69620] [PATCH rust-team 0/2] Upgrading rust-rocket and rust-pear Aaron Covrig via Guix-patches via
2024-03-08  2:14 ` [bug#69620] [PATCH rust-team 1/2] gnu: rust-pear: Added version 0.2.8 with deps Aaron Covrig via Guix-patches via
2024-03-08  2:14   ` [bug#69620] [PATCH rust-team 2/2] gnu: rust-rocket: Upgraded and enabled full build Aaron Covrig via Guix-patches via
2024-03-08  2:37 ` [bug#69620] [PATCH rust-team v2 0/2] Update Aaron Covrig via Guix-patches via
2024-03-08  2:37   ` [bug#69620] [PATCH rust-team v2 1/2] gnu: rust-pear: Added version 0.2.8 with deps Aaron Covrig via Guix-patches via
2024-03-08  2:37   ` [bug#69620] [PATCH rust-team v2 2/2] gnu: rust-rocket: Upgraded and enabled full build Aaron Covrig via Guix-patches via
2024-03-24 15:19 ` [bug#69620] [rust-team v3 0/9] Enables building of rust-rocket Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` Aaron Covrig via Guix-patches via [this message]
2024-03-24 15:19   ` [bug#69620] [rust-team v3 2/9] gnu: Enables rust-pear-codegen-0.2 tests Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 3/9] gnu: Enables building rust-pear-codegen-0.1 Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 4/9] gnu: Enables building rust-pear-0.1 Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 5/9] gnu: Bumps rust-hyper-sync-rustls to 0.3.0-rc.17 Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 6/9] gnu: Bumps rust-rocket-codegen-0.4 to 0.4.11 Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 7/9] gnu: Bumps rust-rocket-http-0.4 " Aaron Covrig via Guix-patches via
2024-03-24 15:20   ` [bug#69620] [rust-team v3 8/9] gnu: Bumps rust-rocket-0.4 " Aaron Covrig via Guix-patches via
2024-03-24 15:20   ` [bug#69620] [rust-team v3 9/9] gnu: Bumps rust-pear to v0.2.9 Aaron Covrig via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240324152001.148236-3-aaron.covrig.us@ieee.org \
    --to=guix-patches@gnu.org \
    --cc=69620@debbugs.gnu.org \
    --cc=aaron.covrig.us@ieee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).