mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
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:
parent
b950135eb7
commit
30ceaf3700
1 changed files with 26 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue