Subject: [bug#67592] [PATCH 11/14] gnu: Add rust-powerfmt.

From: Rémi Teissier <[email-masked]>
Date: Sat, 2 Dec 2023 22:33:12 +0100

Change-Id: I8f61d123f4db068ca629d50416fb4188a4dcb857
---
 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 fe37e9ad3e..a95e6bad6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52441,6 +52441,27 @@ (define-public rust-postgres-types-0.2
 and Postgres values.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-powerfmt-0.2
+  (package
+    (name "rust-powerfmt")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "powerfmt" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14ckj2xdpkhv3h6l5sdmb9f1d57z8hbfpdldjc2vl5givq2y77j3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-powerfmt-macros" ,rust-powerfmt-macros-0.1))))
+    (home-page "https://github.com/jhpratt/powerfmt")
+    (synopsis "Library that provides utilities for formatting values")
+    (description
+     "This crate makes it significantly easier to support filling to a minimum
+width with alignment, avoid heap allocation, and avoid repetitive calculations.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-powerfmt-macros-0.1
   (package
     (name "rust-powerfmt-macros")
-- 
2.41.0