efraim pushed a commit to branch rust-team
in repository guix.

commit 4821453c990561cc3bf292544ac3c669d8a6cf38
Author: Herman Rimm <[email protected]>
AuthorDate: Fri Jan 31 22:09:32 2025 +0100

    gnu: rust-http-0.1: Use newer rust-indexmap.
    
    * gnu/packages/crates-web.scm (rust-http-0.1)[cargo-inputs]: Use
    rust-indexmap-1 instead of 1.8.
    [arguments]: Don't skip the tests.  Add cargo-test-flags.
    
    Change-Id: I66be1f3061d5b7c306319e7560704d5a12a1096b
    Signed-off-by: Efraim Flashner <[email protected]>
---
 gnu/packages/crates-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index b434916664..578742725b 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3884,14 +3884,14 @@ requests and responses.")
         (base32
          "1w21xnhd8f48zvbmm5njg2y1nb4p08ppn8r0cs2xi5d8wgnzbk6n"))))
     (arguments
-     `(#:tests? #f          ; doc tests fail
+     `(#:cargo-test-flags '("--lib")
        #:cargo-inputs
        (("rust-bytes" ,rust-bytes-0.4)
         ("rust-fnv" ,rust-fnv-1)
         ("rust-itoa" ,rust-itoa-0.4))
        #:cargo-development-inputs
        (("rust-doc-comment" ,rust-doc-comment-0.3)
-        ("rust-indexmap" ,rust-indexmap-1.8)
+        ("rust-indexmap" ,rust-indexmap-1)
         ("rust-quickcheck" ,rust-quickcheck-0.6)
         ("rust-rand" ,rust-rand-0.4)
         ("rust-seahash" ,rust-seahash-3)

Reply via email to