[package]
name = "gradium"
version = "0.1.8"
edition = "2024"
authors = ["Gradium Team"]
description = "Rust client library for the Gradium Voice AI API."
documentation = "https://docs.rs/gradium"
homepage = "https://gradium.ai"
repository = "https://github.com/gradium-ai/gradium-rs"
license = "MIT OR Apache-2.0"
keywords = ["tts", "speech", "audio", "gradium", "text-to-speech"]
categories = ["api-bindings", "multimedia::audio"]
readme = "README.md"
[dependencies]
anyhow = "1"
base64 = "0.22.1"
futures-util = "0.3.31"
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "multipart"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.145"
tokio = { version = "1.35.1", features = ["full", "tracing"] }
tokio-tungstenite = { version = "0.28.0", default-features = false }
url = "2.5.7"
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls", "tokio-tungstenite/connect", "tokio-tungstenite/native-tls"]
rustls = ["reqwest/rustls-tls-webpki-roots", "tokio-tungstenite/connect", "tokio-tungstenite/rustls-tls-webpki-roots"]
[dev-dependencies]
clap = { version = "4.3.7", features = ["derive"] }