Subject: [bug#69620] [PATCH rust-team v4 4/5] gnu: rust-rocket: Update to 0.5.1

From: Aaron Covrig <[email-masked]>
Date: Fri, 4 Oct 2024 14:27:53 -0400

* gnu/packages/crates-web.scm (rust-rocket-0.5): Update to 0.5.1
* gnu/packages/crates-web.scm (rust-rocket-codegen-0.5): Update to 0.5.1
* gnu/packages/crates-web.scm (rust-rocket-http-0.5): Update to 0.5.1
---
 gnu/packages/crates-web.scm | 41 ++++++++++++++++++++-----------------
 1 file changed, 22 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index c17402e335..70158c7f60 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2024 Wilko Meyer <[email-masked]>
 ;;; Copyright © 2024 Tomas Volf <[email-masked]>
 ;;; Copyright © 2024 Nguyễn Gia Phong <[email-masked]>
+;;; Copyright © 2024 Aaron Covrig <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4862,17 +4863,18 @@ (define-public rust-rfc7239-0.1
 (define-public rust-rocket-0.5
   (package
     (name "rust-rocket")
-    (version "0.5.0")
+    (version "0.5.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rocket" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0l4i93dai7pyzlkvdjkqg2g7ni1r6749cwx4nrrhsrr6rdybaywy"))))
+        (base32 "0gypf9z6s0kshv33qq1vf16raw8xnr1p03ii0kfgf7d3jrr905m5"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-async-stream" ,rust-async-stream-0.3)
+     (list
+      #:cargo-inputs `(("rust-async-stream" ,rust-async-stream-0.3)
                        ("rust-async-trait" ,rust-async-trait-0.1)
                        ("rust-atomic" ,rust-atomic-0.5)
                        ("rust-binascii" ,rust-binascii-0.1)
@@ -4883,7 +4885,7 @@ (define-public rust-rocket-0.5
                        ("rust-indexmap" ,rust-indexmap-2)
                        ("rust-log" ,rust-log-0.4)
                        ("rust-memchr" ,rust-memchr-2)
-                       ("rust-multer" ,rust-multer-2)
+                       ("rust-multer" ,rust-multer-3)
                        ("rust-num-cpus" ,rust-num-cpus-1)
                        ("rust-parking-lot" ,rust-parking-lot-0.12)
                        ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
@@ -4902,9 +4904,9 @@ (define-public rust-rocket-0.5
                        ("rust-tokio-util" ,rust-tokio-util-0.7)
                        ("rust-ubyte" ,rust-ubyte-0.10)
                        ("rust-uuid" ,rust-uuid-1)
-                       ("rust-version-check" ,rust-version-check-0.9)
                        ("rust-yansi" ,rust-yansi-1))
-       #:cargo-development-inputs (("rust-figment" ,rust-figment-0.10)
+      #:cargo-development-inputs `(("rust-version-check" ,rust-version-check-0.9)
+                                   ("rust-figment" ,rust-figment-0.10)
                                    ("rust-pretty-assertions" ,rust-pretty-assertions-1))))
     (home-page "https://rocket.rs")
     (synopsis
@@ -4947,18 +4949,19 @@ (define-public rust-rocket-0.4
 (define-public rust-rocket-codegen-0.5
   (package
     (name "rust-rocket-codegen")
-    (version "0.5.0")
+    (version "0.5.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rocket_codegen" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0k6hdf9s9y73kzj89qs688gnfjj1sl4imp6pdjz22pzpmdk808x2"))))
+        (base32 "0inxw7nzr52sabwpz83cz5rh1a0mg32cg7w7ih8715qsxkbk4pap"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f      ; can't find crate for `rocket`
-       #:cargo-inputs (("rust-devise" ,rust-devise-0.4)
+     (list
+      #:tests? #f ;can't find crate for `rocket`
+      #:cargo-inputs `(("rust-devise" ,rust-devise-0.4)
                        ("rust-glob" ,rust-glob-0.3)
                        ("rust-indexmap" ,rust-indexmap-2)
                        ("rust-proc-macro2" ,rust-proc-macro2-1)
@@ -4967,11 +4970,10 @@ (define-public rust-rocket-codegen-0.5
                        ("rust-syn" ,rust-syn-2)
                        ("rust-unicode-xid" ,rust-unicode-xid-0.2)
                        ("rust-version-check" ,rust-version-check-0.9))
-       #:cargo-development-inputs
-       (("rust-pretty-assertions" ,rust-pretty-assertions-1)
-        ("rust-time" ,rust-time-0.3)
-        ("rust-trybuild" ,rust-trybuild-1)
-        ("rust-version-check" ,rust-version-check-0.9))))
+      #:cargo-development-inputs `(("rust-pretty-assertions" ,rust-pretty-assertions-1)
+                                   ("rust-time" ,rust-time-0.3)
+                                   ("rust-trybuild" ,rust-trybuild-1)
+                                   ("rust-version-check" ,rust-version-check-0.9))))
     (home-page "https://rocket.rs")
     (synopsis "Procedural macros for the Rocket web framework")
     (description
@@ -5004,18 +5006,19 @@ (define-public rust-rocket-codegen-0.4
 (define-public rust-rocket-http-0.5
   (package
     (name "rust-rocket-http")
-    (version "0.5.0")
+    (version "0.5.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rocket_http" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "17iq208zf9rfxdnx8hfjxnn51074cc9li99yjigzwnfhjhv6d89p"))))
+        (base32 "1fc2z0a7zhmf8rh7s1dwdmmkjmq7qiivsi6027v6ac7f41d92x72"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f      ; can't find crate for `rocket`
-       #:cargo-inputs (("rust-cookie" ,rust-cookie-0.18)
+     (list
+      #:tests? #f ;can't find crate for `rocket`
+      #:cargo-inputs `(("rust-cookie" ,rust-cookie-0.18)
                        ("rust-either" ,rust-either-1)
                        ("rust-futures" ,rust-futures-0.3)
                        ("rust-http" ,rust-http-0.2)
-- 
2.46.0