summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-12-04 00:23:12 +0100
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-14 15:11:08 -0400
commit4147751e3d7ea18ac8ebe182f12007c5268744a0 (patch)
treefad4e55e9b8be773cfffedc65ceaa6504291a6a1
parent1c4bf48e524d7f01bbeb6d722b5f4211f54b3144 (diff)
downloadguix-4147751e3d7ea18ac8ebe182f12007c5268744a0.tar.gz
gnu: rust-slab: Update to 0.4.7.
* gnu/packages/crates-io.scm (rust-slab-0.4): Update to 0.4.7.
[arguments]: New field.
[native-inputs]: Add RUST-AUTOCFG-1.
-rw-r--r--gnu/packages/crates-io.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index edb1bad45e..aa12223eaf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53877,7 +53877,7 @@ designed for @code{immutable.rs}.")
 (define-public rust-slab-0.4
   (package
     (name "rust-slab")
-    (version "0.4.2")
+    (version "0.4.7")
     (source
       (origin
         (method url-fetch)
@@ -53885,8 +53885,15 @@ designed for @code{immutable.rs}.")
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
+          "1vyw3rkdfdfkzfa1mh83s237sll8v5kazfwxma60bq4b59msf526"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rustversion" ,rust-rustversion-1)
+        ("rust-serde-test" ,rust-serde-test-1))
+       #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+    (native-inputs
+     (list rust-autocfg-1))
     (home-page "https://github.com/carllerche/slab")
     (synopsis "Pre-allocated storage for a uniform data type")
     (description "This create provides a pre-allocated storage for a uniform