Subject: [bug#71076] [PATCH 08/81] gnu: Add rust-asynchronous-codec-0.7.

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

* gnu/packages/crates-io.scm (rust-asynchronous-codec-0.7): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2caee882f4..75e4104fad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6000,6 +6000,36 @@ (define-public rust-async-trait-0.1
 methods.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-asynchronous-codec-0.7
+  (package
+    (name "rust-asynchronous-codec")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "asynchronous-codec" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cy2aqcq7km8ggpjmfvrbckvjgf1bpxh803kb4z90zqp48h0fq58"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-bytes-1
+                           rust-futures-sink-0.3
+                           rust-futures-util-0.3
+                           rust-memchr-2
+                           rust-pin-project-lite-0.2
+                           rust-serde-1
+                           rust-serde-cbor-0.11
+                           rust-serde-json-1)
+      #:cargo-development-inputs (list rust-futures-0.3)))
+    (home-page "https://github.com/mxinden/asynchronous-codec")
+    (synopsis "Encode and decode frame utilities using `async/await`")
+    (description
+     "This package provides utilities for encoding and decoding frames
+using `async/await`.")
+    (license license:expat)))
+
 (define-public rust-atoi-2
   (package
     (name "rust-atoi")
-- 
2.41.0