gnu: Add rust-smallvec-1.

* gnu/packages/crates-io.scm (rust-smallvec-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Valentin Ignatev 2020-01-19 22:15:31 +03:00 committed by Efraim Flashner
parent b950135eb7
commit 30ceaf3700
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -13441,6 +13441,32 @@ (define-public rust-slog-2.4
license:expat
license:asl2.0))))
(define-public rust-smallvec-1
(package
(name "rust-smallvec")
(version "1.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "smallvec" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1z6f47i3qpg9pdjzzvb0g5i1vvdm2ymk3kqc1mdnl8fdkgnb4bsw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-serde" ,rust-serde-1.0))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1.1))))
(home-page "https://github.com/servo/rust-smallvec")
(synopsis "Small vector optimization")
(description
"'Small vector' optimization: store up to a small number of items on the
stack.")
(license (list license:expat license:asl2.0))))
(define-public rust-smallvec-0.6
(package
(name "rust-smallvec")