Subject: [PATCH 017/156] gnu: Add rust-axum-core-0.3.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2f3c3c66585..59bfead0df7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5605,6 +5605,35 @@ (define-public rust-axum-server-0.5
     (description "High level server designed to be used with axum framework.")
     (license license:expat)))
 
+(define-public rust-axum-core-0.3
+  (package
+    (name "rust-axum-core")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "axum-core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0b1d9nkqb8znaba4qqzxzc968qwj4ybn4vgpyz9lz4a7l9vsb7vm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.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-mime" ,rust-mime-0.3)
+                       ("rust-rustversion" ,rust-rustversion-1)
+                       ("rust-tower-http" ,rust-tower-http-0.4)
+                       ("rust-tower-layer" ,rust-tower-layer-0.3)
+                       ("rust-tower-service" ,rust-tower-service-0.3)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://github.com/tokio-rs/axum")
+    (synopsis "Core types and traits for axum")
+    (description "Core types and traits for axum")
+    (license license:expat)))
 (define-public rust-az-1
   (package
     (name "rust-az")
-- 
2.41.0