diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6f09ab1e6a..e7fb388ef0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -52619,8 +52619,31 @@ computation (experimental)") cipher.") (license (list license:expat license:asl2.0)))) +(define-public rust-safe-arch-0.6 + (package + (name "rust-safe-arch") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "safe_arch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ad5ykwgq9ll1ymp83d9cayzj8q191rik71ga5wzkndhrkj22j3r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytemuck" ,rust-bytemuck-1)))) + (home-page "https://github.com/Lokathor/safe_arch") + (synopsis "Access core::arch safely") + (description "This package exposes @code{core::arch} safely via +@code{#[cfg()]}.") + (license (list license:zlib license:asl2.0 license:expat)))) + + (define-public rust-safe-arch-0.5 (package + (inherit rust-safe-arch-0.6) (name "rust-safe-arch") (version "0.5.2") (source @@ -52630,16 +52653,10 @@ cipher.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01ffy9aw9v1n4bcwl525zw3gnh18jk7aq38iqcn51bwnjrnkvzy1")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-bytemuck" ,rust-bytemuck-1)))) - (home-page "https://github.com/Lokathor/safe_arch") - (synopsis "Access core::arch safely") - (description "This package exposes @code{core::arch} safely via -@code{#[cfg()]}.") - (license (list license:zlib license:asl2.0 license:expat)))) + (("rust-bytemuck" ,rust-bytemuck-1)))))) (define-public rust-safemem-0.3 (package