help me create a rust app that supports the elevenlabs.io api and that can read the contents of clipboard aloud using tts
help me create a rust app that supports the elevenlabs.io api and that can read the contents of clipboard aloud using tts

To create a Rust application that supports the Eleven Labs API and reads the contents of the clipboard aloud using Text-to-Speech (TTS), you can follow the steps below:

1. Install Rust and Cargo:
   Follow the instructions on the official Rust website: https://www.rust-lang.org/tools/install

2. Create a new project:
   Open a terminal and run the following command to create a new Rust project:

   ```
   cargo new eleven_labs_tts
   cd eleven_labs_tts
   ```

3. Add dependencies:
   Edit the `Cargo.toml` file and add the following dependencies:

   ```toml
   [dependencies]
   reqwest = { version = "0.11.14", features = ["json"] }
   serde = { version = "1.0.152", features = ["derive"] }
   serde_json = "1.0.93"
   clipboard = "3.0.0"
   ```

   The `reqwest` and `serde` crates are for making HTTP requests and parsing JSON responses, respectively. The `clipboard` crate is for reading and writing to the system clipboard.

4. Implement the main function
  Sure! Here's a basic outline of how you can create a Rust app that supports the elevenlabs.io API and reads the contents of the clipboard aloud using text-to-speech (TTS):

1. Set up a new Rust project:
```bash
cargo new --lib eleven_labs_clipboard_reader
```
2. Install the `eleven-labs` crate:
```bash
cargo add eleven-labs
```
3. Import the `eleven-labs` crate and use the `eleven_labs::Clipboard` struct to interact with the elevenlabs.io API:
```rust
use eleven_labs::Clipboard;
```
4. Use the `eleven_labs::Clipboard::read_text()` function to read the contents of the clipboard:
```rust
let mut clipboard = Clipboard::new();
let text = clipboard.read_text();
```
5. Use a TTS library to read the text aloud:

There are several TTS libraries available for Rust, such as `rs-tts` and `speech-rs`. You can choose the one that best fits your needs. Here's an example of how to use the `rs-tts` library:
```rust
use rs