guix-commits
[Top][All Lists]
Advanced

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

348/471: gnu: Add rust-compact-str-0.7.


From: guix-commits
Subject: 348/471: gnu: Add rust-compact-str-0.7.
Date: Wed, 3 May 2023 09:28:49 -0400 (EDT)

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

commit 9494866729f9f8ceac40e7a05a7e8f621935e88b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Mar 23 09:28:23 2023 +0100

    gnu: Add rust-compact-str-0.7.
    
    * gnu/packages/crates-io.scm (rust-compact-str-0.7): New variable.
---
 gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfefec2757..34b00adb6a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12422,6 +12422,50 @@ idiomatic wrappers for Mac OS X's CommonCrypto 
library.")
      "Common path finds the common prefix between a set of paths.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-compact-str-0.7
+  (package
+    (name "rust-compact-str")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "compact_str" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1lbk5vkn6vriwx98pybfsgy093ga6ilpm5gkcd8v7cgcg5gq1w5z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-arbitrary" ,rust-arbitrary-1)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-castaway" ,rust-castaway-0.2)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-itoa" ,rust-itoa-1)
+        ("rust-markup" ,rust-markup-0.13)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-quickcheck" ,rust-quickcheck-1)
+        ("rust-rkyv" ,rust-rkyv-0.7)
+        ("rust-ryu" ,rust-ryu-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-smallvec" ,rust-smallvec-1)
+        ("rust-static-assertions" ,rust-static-assertions-1))
+       #:cargo-development-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-quickcheck" ,rust-quickcheck-1)
+        ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-test-case" ,rust-test-case-2)
+        ("rust-test-strategy" ,rust-test-strategy-0.2))))
+    (home-page "https://github.com/ParkMyCar/compact_str";)
+    (synopsis "String type that stores strings on the stack, when possible")
+    (description
+     "This package provides a memory-efficient string type that transparently
+stores strings on the stack, when possible.")
+    (license license:expat)))
+
 (define-public rust-const-cstr-0.3
   (package
     (name "rust-const-cstr")



reply via email to

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