me
/
guix
Archived
1
0
Fork 0

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.
Efraim Flashner 2023-07-13 12:32:04 +03:00
parent 5b96a36729
commit ceefd207b3
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 4 deletions

View File

@ -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")