summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 22:15:31 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-23 22:23:12 +0200
commit30ceaf3700b3569a911c90fa56bd15a55f5c0467 (patch)
treef13b04962787196f2feb7a8c5782211109d18283 /gnu/packages
parentb950135eb753d152de9c4f1af97591a25851658d (diff)
downloadguix-30ceaf3700b3569a911c90fa56bd15a55f5c0467.tar.gz
gnu: Add rust-smallvec-1.
* gnu/packages/crates-io.scm (rust-smallvec-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb90641e65..fd5ed8687d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13441,6 +13441,32 @@ data type.")
                    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")