Subject: [PATCH 10/20] gnu: rust-zerocopy: Update to 0.7.29.

From: Rémi Teissier <[email-masked]>
Date: Tue, 12 Dec 2023 22:16:48 +0100

Change-Id: I17d38bf61e4120f3b4b52be7c945c910b3edf583
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40151728504..fa9ffbb852a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85551,28 +85551,47 @@ (define-public rust-zbus-polkit-1
     (description "@code{PolicyKit} binding.")
     (license license:expat)))
 
-(define-public rust-zerocopy-0.6
+(define-public rust-zerocopy-0.7
   (package
     (name "rust-zerocopy")
-    (version "0.6.1")
+    (version "0.7.29")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "zerocopy" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk"))))
+                "13ll740czgl8h6xlqlsvsp0blii15ywqgq236f9lw4dvbgw5q1sx"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-byteorder" ,rust-byteorder-1)
-        ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3))))
+        ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7))))
     (home-page "https://github.com/google/zerocopy")
     (synopsis "Utilities for zero-copy parsing and serialization")
     (description "Utilities for zero-copy parsing and serialization")
     (license license:bsd-2)))
 
+(define-public rust-zerocopy-0.6
+  (package
+    (inherit rust-zerocopy-0.7)
+    (name "rust-zerocopy")
+    (version "0.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "zerocopy" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3))))))
+
 (define-public rust-zerocopy-0.3
   (package
     (inherit rust-zerocopy-0.6)
-- 
2.41.0