gradium 0.1.8

Rust client library for the Gradium Voice AI API.
Documentation
# 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 = "2024"
name = "gradium"
version = "0.1.8"
authors = ["Gradium Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client library for the Gradium Voice AI API."
homepage = "https://gradium.ai"
documentation = "https://docs.rs/gradium"
readme = "README.md"
keywords = [
    "tts",
    "speech",
    "audio",
    "gradium",
    "text-to-speech",
]
categories = [
    "api-bindings",
    "multimedia::audio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gradium-ai/gradium-rs"

[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",
]

[lib]
name = "gradium"
path = "src/lib.rs"

[[example]]
name = "others"
path = "examples/others.rs"

[[example]]
name = "stt"
path = "examples/stt.rs"

[[example]]
name = "tts"
path = "examples/tts.rs"

[[example]]
name = "tts_multiplex"
path = "examples/tts_multiplex.rs"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22.1"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "multipart",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.tokio]
version = "1.35.1"
features = [
    "full",
    "tracing",
]

[dependencies.tokio-tungstenite]
version = "0.28.0"
default-features = false

[dependencies.url]
version = "2.5.7"

[dev-dependencies.clap]
version = "4.3.7"
features = ["derive"]