From 513288dc7e4635c8fc979384cfa4455cb1b9c49b Mon Sep 17 00:00:00 2001 From: hodasemi Date: Sat, 12 Feb 2022 08:44:03 +0100 Subject: [PATCH] Add dependencies --- .gitignore | 1 + Cargo.toml | 4 ++++ src/main.rs | 9 ++++++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ea8c4bf..869df07 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +Cargo.lock \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index fe5775b..494f131 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,3 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +cpal = "*" +anyhow = "*" +pocketsphinx = "0.6.0" +tts_rust = "0.3.3" \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index e7a11a9..a71bd53 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,10 @@ -fn main() { +use anyhow::Result; +use cpal; +use pocketsphinx; +use tts_rust; + +fn main() -> Result<()> { println!("Hello, world!"); + + Ok(()) }