From 2ae0fc21f904244398536d462700781d94449ec7 Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Fri, 11 Feb 2022 14:10:50 +0100 Subject: [PATCH] Remove unused --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 7af674b..49b9edf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use google_api_proto::google::cloud::speech::v1::{ StreamingRecognitionConfig, StreamingRecognizeRequest, }; use google_authz::{Credentials, GoogleAuthz}; -use log::{debug, info, warn}; +use log::{debug, info}; use tokio::io::AsyncReadExt; use tokio_stream::wrappers::UnboundedReceiverStream; use tonic::transport::Channel; @@ -21,9 +21,6 @@ async fn main() -> eyre::Result<()> { let channel = Channel::from_static("https://speech.googleapis.com") .connect() .await?; - // let channel_translate = Channel::from_static("https://translate.googleapis.com") - // .connect() - // .await?; let credentials = Credentials::builder() .json_file("i-centralvideo-dictate-dev-c184dd68967a.json".as_ref())