efraim pushed a commit to branch rust-team
in repository guix.

commit f86af58fdb85dbaea64da989106084ea09cb9544
Author: Efraim Flashner <[email protected]>
AuthorDate: Mon Dec 23 14:16:16 2024 +0200

    gnu: rust-actix-web-4: Update to 4.9.0.
    
    * gnu/packages/crates-web.scm (rust-actix-web-4): Update to 4.9.0.
    [cargo-inputs]: Add rust-impl-more-0.1, rust-regex-lite-0.1.
    [cargo-development-inputs]: Add rust-actix-files-0.6,
    rust-actix-test-0.1, rust-awc-3, rust-brotli-6, rust-const-str-0.5,
    rust-core-affinity-0.8, rust-criterion-0.5, rust-env-logger-0.11,
    rust-flate2-1, rust-futures-util-0.3, rust-openssl-0.10, rust-rand-0.8,
    rust-rcgen-0.13, rust-rustls-0.25, rust-rustls-pemfile-2, rust-serde-1,
    rust-static-assertions-1, rust-tokio-1, rust-zstd-0.13.
    [inputs]: Add openssl.
    
    Change-Id: Ieabd6b20d97a838a7cfe27e78e2dd9c97bdeacca
---
 gnu/packages/crates-web.scm | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 5b66bce0bf..c772aff843 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1504,17 +1504,17 @@ the Actix ecosystem.")
 (define-public rust-actix-web-4
   (package
     (name "rust-actix-web")
-    (version "4.5.1")
+    (version "4.9.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "actix-web" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1159grrp031zy9j97vr3c376w8pdawr8akbib0iqqqxvvrnmb9j3"))))
+        (base32 "0f6bp3jdn5zb22wzab962101a2vk4z3z41m5c16vrk67bipdg04i"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f      ; could not find `brotli` in the list of imported 
crates
+     `(#:tests? #f  ; perhaps two different versions of crate `actix_web` are 
being used?
        #:cargo-inputs (("rust-actix-codec" ,rust-actix-codec-0.5)
                        ("rust-actix-http" ,rust-actix-http-3)
                        ("rust-actix-macros" ,rust-actix-macros-0.2)
@@ -1534,6 +1534,7 @@ the Actix ecosystem.")
                        ("rust-encoding-rs" ,rust-encoding-rs-0.8)
                        ("rust-futures-core" ,rust-futures-core-0.3)
                        ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-impl-more" ,rust-impl-more-0.1)
                        ("rust-itoa" ,rust-itoa-1)
                        ("rust-language-tags" ,rust-language-tags-0.3)
                        ("rust-log" ,rust-log-0.4)
@@ -1541,15 +1542,36 @@ the Actix ecosystem.")
                        ("rust-once-cell" ,rust-once-cell-1)
                        ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
                        ("rust-regex" ,rust-regex-1)
+                       ("rust-regex-lite" ,rust-regex-lite-0.1)
                        ("rust-serde" ,rust-serde-1)
                        ("rust-serde-json" ,rust-serde-json-1)
                        ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
                        ("rust-smallvec" ,rust-smallvec-1)
                        ("rust-socket2" ,rust-socket2-0.5)
                        ("rust-time" ,rust-time-0.3)
-                       ("rust-url" ,rust-url-2))))
+                       ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-actix-files" ,rust-actix-files-0.6)
+        ("rust-actix-test" ,rust-actix-test-0.1)
+        ("rust-awc" ,rust-awc-3)
+        ("rust-brotli" ,rust-brotli-6)
+        ("rust-const-str" ,rust-const-str-0.5)
+        ("rust-core-affinity" ,rust-core-affinity-0.8)
+        ("rust-criterion" ,rust-criterion-0.5)
+        ("rust-env-logger" ,rust-env-logger-0.11)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-openssl" ,rust-openssl-0.10)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rcgen" ,rust-rcgen-0.13)
+        ("rust-rustls" ,rust-rustls-0.23)
+        ("rust-rustls-pemfile" ,rust-rustls-pemfile-2)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-static-assertions" ,rust-static-assertions-1)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-zstd" ,rust-zstd-0.13))))
     (native-inputs (list pkg-config))
-    (inputs (list (list zstd "lib")))
+    (inputs (list openssl (list zstd "lib")))
     (home-page "https://actix.rs";)
     (synopsis "Powerful, pragmatic, and fast web framework for Rust")
     (description

Reply via email to