gnu: Add rust-compact-str-0.7.

* gnu/packages/crates-io.scm (rust-compact-str-0.7): New variable.
This commit is contained in:
Ricardo Wurmus 2023-03-23 09:28:23 +01:00 committed by Efraim Flashner
parent d7e32a4ba2
commit 87a221b68a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -12422,6 +12422,50 @@ (define-public rust-common-path-1
"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")