gnu: Add rust-thin-vec-0.2.

* gnu/packages/crates-io.scm (rust-thin-vec-0.2): New variable.

Change-Id: Iad41f2ff56af487ee2bb2d86812e1fe97e87d305
This commit is contained in:
Efraim Flashner 2024-03-18 12:01:35 +02:00
parent 665d2bcd45
commit 1be65b02ee
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -74614,6 +74614,29 @@ (define-public rust-thin-slice-0.1
"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")