guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

204/330: gnu: Add rust-str-stack-0.1.


From: guix-commits
Subject: 204/330: gnu: Add rust-str-stack-0.1.
Date: Mon, 18 Mar 2024 07:16:12 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit cec2849ba31390edc5efbfe2840996074249337b
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:03:05 2024 +0100

    gnu: Add rust-str-stack-0.1.
    
    * gnu/packages/crates-io.scm (rust-str-stack-0.1): Add variable.
    
    Change-Id: I288ab5b984139a6bd2c9f3bc53a291a70239d908
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1818770111..49941daa4b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68589,6 +68589,28 @@ UTF-8.")
     (description "This package provides a static string buffer.")
     (license license:boost1.0)))
 
+(define-public rust-str-stack-0.1
+  (package
+    (name "rust-str-stack")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "str_stack" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1sxl8xd8kiaffsryqpfwcb02lnd3djfin7gf38ag5980908vd4ch"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/Stebalien/str_stack";)
+    (synopsis "String allocator for allocating many write-once strings")
+    (description
+     "This package provides a string allocator for allocating many write-once
+strings.  This library is primarily useful for parsing where you need to
+repeatedly build many strings, use them, and then throw them away.  Instead of
+allocating many independent strings, this library will put them all in the same
+buffer.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-stream-assert-0.1
   (package
     (name "rust-stream-assert")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]