Subject: [bug#75391] [PATCH 07/12] gnu: Add rust-documented-0.6.

From: Andrew Wong <[email-masked]>
Date: Sun, 5 Jan 2025 18:01:10 -0500

* gnu/packages/crates-io.scm (rust-documented-0.6): New variable.

Change-Id: I2cb45d5f549102932efa9d231436adb51670eab0
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9e04e17965..1ed6a81dc0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21580,6 +21580,30 @@ (define-public rust-document-features-0.2
 @code{Cargo.toml}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-documented-0.6
+  (package
+    (name "rust-documented")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "documented" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zc7akchjkwnsl0hnzygwad58sfnvrvkcl7w117679cnbg9zxbgy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-documented-macros" ,rust-documented-macros-0.6)
+                       ("rust-phf" ,rust-phf-0.11)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/cyqsimon/documented")
+    (synopsis
+     "Derive and attribute macros for accessing your type's documentation at runtime")
+    (description
+     "This package provides Derive and attribute macros for accessing your type's documentation at runtime.")
+    (license license:expat)))
+
 (define-public rust-dogged-0.2
   (package
     (name "rust-dogged")
-- 
2.47.1