Subject: [bug#66802] [PATCH 19/21] gnu: Add rust-secrecy-0.8.

From: Jaeme Sifat <[email-masked]>
Date: Sat, 28 Oct 2023 18:53:39 -0400

* gnu/packages/crates-io.scm (rust-secrecy-0.8): New variable.

Signed-off-by: Jaeme Sifat <[email-masked]>
Change-Id: Id5b73ee7ece0f00bb8af3a29201436baedbd50e1
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d08b5395e2..c6646278e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63177,6 +63177,31 @@ (define-public rust-seccomp-sys-0.1
     (description "This package provides low-level bindings to libseccomp.")
     (license license:lgpl2.1)))
 
+(define-public rust-secrecy-0.8
+  (package
+    (name "rust-secrecy")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "secrecy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07p9h2bpkkg61f1fzzdqqbf74kwv1gg095r1cdmjzzbcl17cblcv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-zeroize" ,rust-zeroize-1))))
+    (home-page "https://github.com/iqlusioninc/crates/")
+    (synopsis "Wrapper types and traits for secret management in Rust")
+    (description
+     "This package provides wrapper types and traits for secret management
+which help ensure they aren't accidentally copied, logged, or otherwise
+exposed (as much as possible), and also ensure secrets are securely wiped from
+memory when dropped.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-secret-service-3
   (package
     (name "rust-secret-service")
-- 
2.41.0