summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-11-04 22:45:18 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:21 +0200
commitedc2be832679cfe72d5e228c35131076d6605664 (patch)
tree0cada30abaf2581a302898fb0234ab1121f00ffd /gnu/packages/crates-io.scm
parente64eae64e1500aefbda3471612603792c5b4e07f (diff)
downloadguix-edc2be832679cfe72d5e228c35131076d6605664.tar.gz
gnu: rust-packed-struct: Update to 0.3.1.
* gnu/packages/crates-io.scm (rust-packed-struct): Update to 0.3.1.
[arguments]: Add cargo-test-flags.

Change-Id: I2a6a796cfe604bd4cd9c0eaa064be6aca365ec23
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b119f84ca1..20bcc9e94b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50588,18 +50588,19 @@ signing/verification, and general purpose curve arithmetic support.")
 (define-public rust-packed-struct
   (package
     (name "rust-packed-struct")
-    (version "0.3.0")
+    (version "0.3.1")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "packed_struct" version))
-        (file-name
-          (string-append name "-" version ".tar.gz"))
+        (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32 "10b2fmxchmcigwagnhi42frj74dl02wyv0xwmbr9839qfh7gijlh"))))
+         (base32 "1pvc0b8zpwlwx7kmvnvzh06nfdfrlqxf3p1xr0k1b3xm33xhzcd2"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:cargo-test-flags       ; Skip the doctests.
+       '("--release" "--lib" "--bins" "--tests")
+       #:cargo-inputs
        (("rust-serde" ,rust-serde-1)
         ("rust-serde-derive" ,rust-serde-derive-1))))
     (home-page "http://www.hashmismatch.net/libraries/packed-struct/")