@@ -15199,6 +15199,39 @@ (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-test-flags
+ '("--"
+ ;; test will fail if source is not commited into a git repo,
+ ;; using the git clone instead of crate-uri for crate source
+ ;; requires pulling in all the dependencies for the Cargo.lock
+ "--skip=bootstrap")
+ #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-prost" ,rust-prost-0.13)
+ ("rust-prost-build" ,rust-prost-build-0.13)
+ ("rust-prost-types" ,rust-prost-types-0.13)
+ ("rust-tonic" ,rust-tonic-0.12)
+ ("rust-tonic-build" ,rust-tonic-build-0.12)
+ ("rust-tracing-core" ,rust-tracing-core-0.1))))
+ (native-inputs (list protobuf git))
+ (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")