Subject: [bug#53401] [PATCH 15/49] gnu: Add rust-core 0.3.3.

From: Attila Lendvai <[email-masked]>
Date: Thu, 20 Jan 2022 22:50:11 +0100

* gnu/packages/crates-io.scm (rust-core2-0.3): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f66c04e7fd..b5ce2047a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11521,6 +11521,25 @@ (define-public rust-cordic-0.1
 numbers using the CORDIC method.")
     (license license:bsd-3)))
 
+(define-public rust-core2-0.3
+  (package
+    (name "rust-core2")
+    (version "0.3.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "core2" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1wzzy5iazdk5caadxvjfwrd312rbg7a55a1zpmsdrhk3kfpa77r3"))))
+    (build-system cargo-build-system)
+    (arguments `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2))))
+    (home-page "https://github.com/bbqsrc/core2")
+    (synopsis "The bare essentials of std::io for use in no_std")
+    (description
+      "The bare essentials of std::io for use in no_std.  Alloc support is optional.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-cookie-0.14
   (package
     (name "rust-cookie")
-- 
2.34.0