Subject: [bug#71076] [PATCH 04/81] gnu: Add rust-axum-server-0.5.

From: Herman Rimm <[email-masked]>
Date: Mon, 20 May 2024 10:58:09 +0200

* gnu/packages/crates-web.scm (rust-axum-server-0.5): Add variable.

Change-Id: Iced84696100ee3423b80e5f50d0635a39df788a6
---
 gnu/packages/crates-web.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 07e0795738..f21f0c3398 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2245,6 +2245,44 @@ (define-public rust-axum-macros-0.3
     (description "Macros for @code{axum}.")
     (license license:expat)))
 
+(define-public rust-axum-server-0.5
+  (package
+    (name "rust-axum-server")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "axum-server" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qz06akddj31qvxzs2ihb9fda8ig98nz70m2pv0mq880b742hzs4"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-arc-swap-1
+                           rust-bytes-1
+                           rust-futures-util-0.3
+                           rust-http-0.2
+                           rust-http-body-0.4
+                           rust-hyper-0.14
+                           rust-openssl-0.10
+                           rust-pin-project-lite-0.2
+                           rust-rustls-0.21
+                           rust-rustls-pemfile-1
+                           rust-tokio-1
+                           rust-tokio-openssl-0.6
+                           rust-tokio-rustls-0.24
+                           rust-tower-service-0.3)
+      #:cargo-development-inputs (list rust-axum-0.6 rust-hyper-0.14
+                                       rust-tokio-1 rust-tower-0.4
+                                       rust-tower-http-0.3)))
+    (home-page "https://github.com/programatik29/axum-server")
+    (synopsis "High level server designed to be used with axum framework")
+    (description
+     "This package provides a high level server designed to be used with
+the axum framework.")
+    (license license:expat)))
+
 (define-public rust-chardetng-0.1
   (package
     (name "rust-chardetng")
-- 
2.41.0