# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "elevenlabs_rs" version = "0.3.2" authors = ["rwxbytes "] build = false exclude = [ ".idea", "/src/endpoints/conversational_ai.rs", "/src/utils/audio_helpers.rs", "/src/convai_client.rs", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A lib crate for ElevenLabs" readme = "README.md" keywords = [ "elevenlabs", "tts", "text-to-speech", "voice-clone", "ai", ] license = "MIT" repository = "https://github.com/rwxbytes/elevenlabs_rs" [profile.release] opt-level = "z" lto = true codegen-units = 1 [lib] name = "elevenlabs_rs" path = "src/lib.rs" [[example]] name = "basic_twilio" path = "examples/basic_twilio.rs" [[example]] name = "pronunciation_dictionaries" path = "examples/pronunciation_dictionaries.rs" [[example]] name = "twilio_openai" path = "examples/twilio_openai.rs" [[example]] name = "websocket_openai" path = "examples/websocket_openai.rs" [dependencies.async-stream] version = "0.3.5" [dependencies.base64] version = "0.22.1" [dependencies.bytes] version = "1.4.0" [dependencies.futures-channel] version = "0.3.30" [dependencies.futures-util] version = "0.3.28" [dependencies.reqwest] version = "0.12.5" features = [ "stream", "json", "multipart", ] [dependencies.rodio] version = "0.17.1" optional = true [dependencies.serde] version = "1.0.173" features = ["derive"] [dependencies.serde_json] version = "1.0.103" [dependencies.thiserror] version = "1.0.43" [dependencies.tokio] version = "1.29.1" features = ["full"] [dependencies.tokio-tungstenite] version = "0.23.0" features = ["native-tls"] [dev-dependencies.async-openai] version = "0.23.3" [dev-dependencies.axum] version = "0.7.5" features = ["ws"] [dev-dependencies.bytemuck] version = "1.16.0" [dev-dependencies.cpal] version = "0.15.3" [dev-dependencies.dasp] version = "0.11.0" features = [ "signal", "interpolate-linear", "interpolate", "slice", ] [dev-dependencies.tokio-stream] version = "0.1.16" [dev-dependencies.twilio] version = "1.1.0" [features] default = ["playback"] playback = ["dep:rodio"]