guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

92/379: gnu: Add rust-base16ct-0.2.


From: guix-commits
Subject: 92/379: gnu: Add rust-base16ct-0.2.
Date: Thu, 29 Jun 2023 12:32:50 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 02434283879d7769619e38cf603aae7e63125892
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:30:30 2023 +0300

    gnu: Add rust-base16ct-0.2.
    
    * gnu/packages/crates-io.scm (rust-base16ct-0.2): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bd41b306e7..58cdfc7adf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5967,6 +5967,27 @@ systems.")
 API for Rust.")
     (license (list license:expat license:x11 license:asl2.0))))
 
+(define-public rust-base16ct-0.2
+  (package
+    (name "rust-base16ct")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "base16ct" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1kylrjhdzk7qpknrvlphw8ywdnvvg39dizw9622w3wk5xba04zsc"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/RustCrypto/formats/tree/master/base16ct";)
+    (synopsis "Rust implementation of Base16 a.k.a hexadecimal")
+    (description
+     "This package provides a pure Rust implementation of Base16 a.k.a
+hexadecimal (RFC 4648) which avoids any usages of data-dependent branches/LUTs
+and thereby provides portable \"best effort\" constant-time operation and
+embedded-friendly no_std support.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-base32-0.4
   (package
     (name "rust-base32")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]