Subject: [PATCH v4 09/57] gnu: Add rust-swrite-0.1.

From: Jordan Moore <[email-masked]>
Date: Sat, 4 Jan 2025 23:19:32 -0500

* gnu/packages/crates-io.scm (rust-swrite-0.1): New variable.

Change-Id: I1fd4ac9588817425728374256e76ce543680aac0
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a3be7e721..0ebcb57fe9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76617,6 +76617,26 @@ (define-public rust-swayipc-types-1
 sway's IPC interface.")
     (license license:expat)))
 
+(define-public rust-swrite-0.1
+  (package
+    (name "rust-swrite")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swrite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00vsicglylq4qq6dc497jdgzfnxi5mh7padwxijnvh1d1giyqgvz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/rusticstuff/swrite")
+    (synopsis "Infallible alternatives to write! and writeln! for Strings")
+    (description "This package provides Infallible alternatives to write! and
+writeln! for Strings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-sxd-document-0.3
   (package
     (name "rust-sxd-document")
-- 
2.46.0