Subject: [PATCH rust-team 19/23] gnu: Add rust-lru-0.10.

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 10 Dec 2024 23:21:22 +0900

* gnu/packages/crates-io.scm (rust-lru-0.10): New variable.
(rust-lru-0.9): Inherit from it.

Change-Id: I74de3fb4266a851e8c025c3ef8e0a667971ed237
---
 gnu/packages/crates-io.scm | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f438ed12af..93c346086a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43183,10 +43183,28 @@ (define-public rust-lru-0.12
     (description "This package provides a LRU cache implementation.")
     (license license:expat)))
 
-(define-public rust-lru-0.9
+(define-public rust-lru-0.10
   (package
     (inherit rust-lru-0.12)
     (name "rust-lru")
+    (version "0.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lru" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0w5n2sgh66ac8ihqv6688mlm7zb3ks18jlbzpbhwgw3x8jp8z3ki"))))
+    (arguments
+     `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13))
+       #:cargo-development-inputs
+       (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
+        ("rust-stats-alloc" ,rust-stats-alloc-0.1))))))
+
+(define-public rust-lru-0.9
+  (package
+    (inherit rust-lru-0.10)
+    (name "rust-lru")
     (version "0.9.0")
     (source
      (origin
-- 
2.46.0