Subject: [bug#75127] [PATCH rust-team v3 41/67] gnu: Add rust-console-api-0.8.

From: Jordan Moore <[email-masked]>
Date: Thu, 26 Dec 2024 22:38:00 -0500

* gnu/packages/crates-io.scm (rust-console-api-0.8): New variable.

Change-Id: Ib63704d92bed9fef827b9f976e7e9a9979bbf0b2
---
 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 4b7576710c..c3df82efb6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17155,6 +17155,30 @@ (define-public rust-const-sha1-0.2
      "This package provides a sha1 implementation for use in const contexts.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-console-api-0.8
+  (package
+    (name "rust-console-api")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "console-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mr8xkzcb7mrcm2ca0ah1sj21rhpk207klscnql884hdrdg76c40"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-prost" ,rust-prost-0.13)
+                       ("rust-prost-types" ,rust-prost-types-0.13)
+                       ("rust-tonic" ,rust-tonic-0.12)
+                       ("rust-tracing-core" ,rust-tracing-core-0.1))))
+    (home-page "https://github.com/tokio-rs/console/blob/main/console-api")
+    (synopsis "Protobuf wire format bindings for the Tokio console.")
+    (description
+     "This package provides Protobuf wire format bindings for the Tokio console.")
+    (license license:expat)))
+
 (define-public rust-console-subscriber-0.4
   (package
     (name "rust-console-subscriber")
-- 
2.46.0