aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-03 10:23:52 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:09 +0300
commit41a41b65049bec061ffc7eaecf425600140e7bb8 (patch)
tree982e2a7d975ddede9a3e18319e497c1eb5839619 /gnu
parentacdbec6f4d73843a6f3df62e036eaa58dada620b (diff)
downloadguix-41a41b65049bec061ffc7eaecf425600140e7bb8.tar.gz
guix-41a41b65049bec061ffc7eaecf425600140e7bb8.zip
gnu: Add rust-generational-arena-0.2.
* gnu/packages/crates-io.scm (rust-generational-arena-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bfb12c021f..d9f157916d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27332,6 +27332,39 @@ archive to be linked into Rustcode.")
API library @code{gdi32}.")
(license license:expat)))
+(define-public rust-generational-arena-0.2
+ (package
+ (name "rust-generational-arena")
+ (version "0.2.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "generational-arena" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rwnfyprjwqafkwdz2irkds5a41jcjb3bsma3djknx4fy2pr8zl7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ "--skip=cargo_readme_up_to_date")
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8))))
+ (home-page "https://github.com/fitzgen/generational-arena")
+ (synopsis "Arena allocator that supports deletion")
+ (description
+ "This package provides a safe arena allocator that supports deletion without
+suffering from the ABA problem by using generational indices.")
+ (license license:mpl2.0)))
+
(define-public rust-generator-0.7
(package
(name "rust-generator")