Subject: [PATCH rust-team 21/37] gnu: rust-document-features-0.2: Update to 0.2.8.

From: Herman Rimm <[email-masked]>
Date: Thu, 14 Mar 2024 22:16:22 +0100

* gnu/packages/crates-io.scm (rust-document-features-0.2): Update.
[version]: Bump from 0.2.7 to 0.2.8.
[origin]: Update hash.
[arguments]: Reenable tests, replace rust-litrs-0.2 with rust-litrs-0.4.
[description]: Wrap line after 72 columns.

Change-Id: I5620f2c49b8c64338797ac7f8ea8261058e15de8
---
 gnu/packages/crates-io.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6c87f13ad..6e959977b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20156,22 +20156,26 @@ (define-public rust-docopt-0.6
 (define-public rust-document-features-0.2
   (package
     (name "rust-document-features")
-    (version "0.2.7")
+    (version "0.2.8")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "document-features" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32 "0mv1xg386as8zndw6kdgs4bwxwwlg42srdhkmgf00zz1zirwb4z4"))))
+         (base32 "15cvgxqngxslgllz15m8aban6wqfgsi6nlhr0g25yfsnd6nq4lpg"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f          ; Needs nightly features.
-       #:cargo-inputs (("rust-litrs" ,rust-litrs-0.2))))
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=self_doc"
+         "--skip=self_doc_with-custom_label")
+       #:cargo-inputs (("rust-litrs" ,rust-litrs-0.4))))
     (home-page "https://slint-ui.com")
     (synopsis "Extract documentation for feature flags from Cargo.toml")
-    (description "Extract documentation for the feature flags from comments in
-@code{Cargo.toml}.")
+    (description
+     "This package provides documentation extraction for the feature
+flags from comments in Cargo.toml.")
     (license (list license:expat license:asl2.0))))
 
 (define-public rust-downcast-0.11
-- 
2.41.0