summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-13 12:32:04 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-18 20:56:18 +0300
commit2415800b92f7e31d5abae311aa109f3c33179603 (patch)
treeab4e66057ef077cee1cf47c1c5d0653dc9cc3cc9
parent76b4aa76bb853601e84c4c778a2ab90d945c8d23 (diff)
downloadguix-2415800b92f7e31d5abae311aa109f3c33179603.tar.gz
gnu: rust-ref-cast-1: Update to 1.0.18.
* gnu/packages/crates-io.scm (rust-ref-cast-1): Update to 1.0.18.
[arguments]: Skip tests.
[cargo-development-inputs]: Add rust-ref-cast-test-suite-0.0.0.
-rw-r--r--gnu/packages/crates-io.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2454139184..dd8e3f0d0d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51506,7 +51506,7 @@ initial value.")
 (define-public rust-ref-cast-1
   (package
     (name "rust-ref-cast")
-    (version "1.0.2")
+    (version "1.0.18")
     (source
      (origin
        (method url-fetch)
@@ -51515,13 +51515,15 @@ initial value.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "08r6qz7228k55nlyl5v7ykdzxrasnawgzmb1jrbfbnkx2s3ifp3l"))))
+         "0sxzy3f0zmclsmi1z17n16xbjbp99d5c6nh7592yy6f3fya82h8n"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:tests? #f          ; Doesn't always interact well with the test crate.
+       #:cargo-inputs
        (("rust-ref-cast-impl" ,rust-ref-cast-impl-1))
        #:cargo-development-inputs
-       (("rust-rustversion" ,rust-rustversion-1)
+       (("rust-ref-cast-test-suite" ,rust-ref-cast-test-suite-0.0.0)
+        ("rust-rustversion" ,rust-rustversion-1)
         ("rust-trybuild" ,rust-trybuild-1))))
     (home-page "https://github.com/dtolnay/ref-cast")
     (synopsis "Safely cast &T to &U")