# 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 = "playht_rs" version = "0.2.0" authors = ["milosgajdos "] description = "A library for interacting with play.ht API" readme = "README.md" keywords = [ "playht", "tts", "text-to-speech", "ai", ] categories = ["web-programming::http-client"] license = "Apache-2.0" repository = "https://github.com/milosgajdos/playht_rs" [[example]] name = "get_voices" path = "examples/get_voices/main.rs" [[example]] name = "clone_voices" path = "examples/clone_voices/main.rs" [[example]] name = "play_audio" path = "examples/play_audio/main.rs" [[example]] name = "tts_jobs" path = "examples/tts_jobs/main.rs" [[example]] name = "tts_write_job_progress_stream" path = "examples/tts_write_job_progress_stream/main.rs" [[example]] name = "tts_job_write_audio_stream" path = "examples/tts_job_write_audio_stream/main.rs" [[example]] name = "tts_play_audio_stream" path = "examples/tts_play_audio_stream/main.rs" [[example]] name = "tts_write_audio_stream" path = "examples/tts_write_audio_stream/main.rs" [[example]] name = "tts_stream_audio" path = "examples/tts_stream_audio/main.rs" [dependencies.bytes] version = "1" features = ["serde"] [dependencies.reqwest] version = "0.12" features = [ "json", "multipart", "stream", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "=1.0" [dependencies.thiserror] version = "1.0.58" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-stream] version = "0.1" [dev-dependencies.rodio] version = "0.17.3"