# 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"
rust-version = "1.85"
name = "elevenlabs"
version = "0.1.5"
authors = ["199 Biotechnologies <boris@199bio.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent-friendly CLI for the ElevenLabs AI audio platform (TTS, STT, voices, agents, music)"
homepage = "https://github.com/199-biotechnologies/elevenlabs-cli"
documentation = "https://github.com/199-biotechnologies/elevenlabs-cli#readme"
readme = "README.md"
keywords = [
    "elevenlabs",
    "cli",
    "tts",
    "stt",
    "voice",
]
categories = [
    "command-line-utilities",
    "multimedia::audio",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/199-biotechnologies/elevenlabs-cli"

[[bin]]
name = "elevenlabs"
path = "src/main.rs"

[[test]]
name = "agent_info_contract"
path = "tests/agent_info_contract.rs"

[[test]]
name = "config_precedence"
path = "tests/config_precedence.rs"

[[test]]
name = "exit_code_contracts"
path = "tests/exit_code_contracts.rs"

[[test]]
name = "http_regression"
path = "tests/http_regression.rs"

[[test]]
name = "output_contracts"
path = "tests/output_contracts.rs"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.comfy-table]
version = "7"

[dependencies.directories]
version = "6"

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
]

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

[dependencies.mime_guess]
version = "2"

[dependencies.owo-colors]
version = "4"

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

[dependencies.self_update]
version = "0.42"
features = [
    "archive-tar",
    "compression-flate2",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "io-util",
    "io-std",
]

[dependencies.toml]
version = "0.8"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.wiremock]
version = "0.6"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
