@@ -46699,6 +46699,31 @@ (define-public rust-remove-dir-all-0.5.2
#:cargo-development-inputs
(("rust-doc-comment" ,rust-doc-comment-0.3))))))
+(define-public rust-rental-0.5
+ (package
+ (name "rust-rental")
+ (version "0.5.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rental" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bhzz2pfbg0yaw8p1l31bggq4jn077wslf6ifhj22vf3r8mgx2fc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:skip-build? #f
+ #:cargo-inputs
+ (("rust-rental-impl" ,rust-rental-impl-0.5)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/jpernst/rental")
+ (synopsis "Macro to generate safe self-referential structs")
+ (description "A macro to generate safe self-referential structs, plus
+premade types for common use-cases. This crate is frozen and should be
+avoided if possible.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rental-impl-0.5
(package
(name "rust-rental-impl")