Subject: [PATCH rust-team v5 39/57] gnu: Add rust-console-api-0.8.

From: Jordan Moore <[email-masked]>
Date: Sat, 4 Jan 2025 23:29:09 -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 774d594165..b7b8d40ce9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15167,6 +15167,30 @@ (define-public rust-console-0.7
      "This package provides a terminal and console abstraction for Rust.")
     (license 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-error-panic-hook-0.1
   (package
     (name "rust-console-error-panic-hook")
-- 
2.46.0