Subject: [bug#61958] [PATCH 02/32] gnu: Add rust-inout-0.1.

From: Arjan Adriaanse <[email-masked]>
Date: Sat, 4 Mar 2023 14:53:56 +0100

* gnu/packages/crates-io.scm (rust-inout-0.1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26ac0d295d..5cf0ac28d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27672,6 +27672,30 @@ (define-public rust-inotify-sys-0.1
      "This package provides inotify bindings for the Rust programming language.")
     (license license:isc)))
 
+(define-public rust-inout-0.1
+  (package
+    (name "rust-inout")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "inout" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1xf9gf09nc7y1a261xlfqsf66yn6mb81ahlzzyyd1934sr9hbhd0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-padding" ,rust-block-padding-0.3)
+        ("rust-generic-array" ,rust-generic-array-0.14))))
+    (home-page "https://github.com/RustCrypto/utils")
+    (synopsis
+     "Custom reference types for code generic over several modes of operation")
+    (description
+     "This package provides custom reference types for code generic over
+in-place and buffer-to-buffer modes of operation.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-input-buffer-0.3
   (package
     (name "rust-input-buffer")
-- 
2.39.1