diff mbox series

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

Message ID 5a6567dc7fee8da9ed575cbbda671a2138466827.1716193122.git.herman@rimm.ee
State New
Headers show
Series Add matrix-conduit and ruma-0.10. | expand

Commit Message

Herman Rimm May 20, 2024, 8:58 a.m. UTC
* 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 mbox series

Patch

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")