aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 12:01:35 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:09 +0300
commit1be65b02eea2f922728f8a329534c0185c914e79 (patch)
tree991cf69e4121e5023b44780f6da9fd5017681e5a
parent665d2bcd45448f10bc5250f3ce04d14bfc4927af (diff)
downloadguix-1be65b02eea2f922728f8a329534c0185c914e79.tar
guix-1be65b02eea2f922728f8a329534c0185c914e79.tar.gz
gnu: Add rust-thin-vec-0.2.
* gnu/packages/crates-io.scm (rust-thin-vec-0.2): New variable. Change-Id: Iad41f2ff56af487ee2bb2d86812e1fe97e87d305
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 668b0eb5bd..653df5cf87 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74614,6 +74614,29 @@ handle Unicode characters correctly.")
"An owned slice that packs the slice storage into a single word when possible.")
(license license:mpl2.0)))
+(define-public rust-thin-vec-0.2
+ (package
+ (name "rust-thin-vec")
+ (version "0.2.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thin-vec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jsyprh9gjyp2ivnpbfpqmwdcqxfyjj1s9srmfikdhjjh7a91353"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=std_tests::test_set_len_invalid")
+ #:cargo-inputs (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1))))
+ (home-page "https://github.com/gankra/thin-vec")
+ (synopsis "Vec that takes up less space on the stack")
+ (description
+ "This package provides a vec that takes up less space on the stack.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-thiserror-1
(package
(name "rust-thiserror")