@@ -43,6 +43,7 @@
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
+;;; Copyright © 2024 Murilo <murilo@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -10462,6 +10463,34 @@ (define-public rust-cache-padded-1
cached data.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-cached-0.48
+ (package
+ (name "rust-cached")
+ (version "0.48.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cached" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pshxkggxh8r32mqg04ahz26gvf2nfmlhk41js5pfn6z83jsqprm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-instant" ,rust-instant-0.1)
+ ("rust-hashbrown" ,rust-hashbrown-0.14)
+ ("rust-cached-proc-macro-types" ,rust-cached-proc-macro-types-0.1)
+ ("rust-cached-proc-macro" ,rust-cached-proc-macro-0.19)
+ ("rust-ahash" ,rust-ahash-0.8))))
+ (home-page "https://github.com/jaemk/cached")
+ (synopsis
+ "Generic cache implementations and simplified function memoization")
+ (description
+ "Generic cache implementations and simplified function memoization")
+ (license license:expat)))
+
(define-public rust-cachedir-0.3
(package
(name "rust-cachedir")