aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 14:03:53 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:30 +0300
commitb158738a0480ebd82b9e9e90b5285340bbd4c302 (patch)
tree52b15e60b9ddfc8b0c91463498e02e47d1725090
parent9cbb0c97cea091247a6d2e1a00e8476c0cd1599a (diff)
downloadpatches-b158738a0480ebd82b9e9e90b5285340bbd4c302.tar
patches-b158738a0480ebd82b9e9e90b5285340bbd4c302.tar.gz
gnu: Add rust-slab.
* gnu/packages/crates-io.scm (rust-slab): New variable.
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8e3315221a..a6019e5b96 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -661,6 +661,25 @@ words, like Python's shlex.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-slab
+ (package
+ (name "rust-slab")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "slab" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
+ (build-system cargo-build-system)
+ (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
+data type.")
+ (license license:expat)))
+
(define-public rust-unicode-xid
(package
(name "rust-unicode-xid")