Subject: [PATCH 016/156] gnu: Add rust-axum-server-0.5.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:51:53 +0100

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

Change-Id: I9e4c680619710f0c83dffd503d9bed0c272f236b
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3b2e5a839b2..2f3c3c66585 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5572,6 +5572,39 @@ (define-public rust-avro-rs-0.13
      "This package is a library for working with Apache Avro in Rust.")
     (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
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-http-body" ,rust-http-body-0.4)
+                       ("rust-hyper" ,rust-hyper-0.14)
+                       ("rust-openssl" ,rust-openssl-0.10)
+                       ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-tower-service" ,rust-tower-service-0.3))))
+    (home-page "https://github.com/programatik29/axum-server")
+    (synopsis "High level server designed to be used with axum framework.")
+    (description "High level server designed to be used with axum framework.")
+    (license license:expat)))
+
 (define-public rust-az-1
   (package
     (name "rust-az")
-- 
2.41.0