pocket-tts-cli 0.3.1

CLI and API server for Pocket TTS
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 = "pocket-tts-cli"
version = "0.3.1"
authors = ["Pocket TTS Contributors"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "web/dist/**/*",
    "tests/**/*",
    "../../.cargo/config.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI and API server for Pocket TTS"
readme = false
keywords = [
    "tts",
    "candle",
    "speech-synthesis",
    "audio",
]
categories = [
    "multimedia::audio",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/babybirdprd/pocket-tts"
resolver = "2"

[features]
default = ["web-ui"]
metal = [
    "pocket-tts/metal",
    "candle-core/metal",
]
mkl = ["pocket-tts/mkl"]
quantized = ["pocket-tts/quantized"]
web-ui = [
    "rust-embed",
    "mime_guess",
    "percent-encoding",
    "pocket-tts/quantized",
]

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

[[bin]]
name = "pocket-tts-cli"
path = "src/main.rs"

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.7"
features = ["multipart"]

[dependencies.base64]
version = "0.21"

[dependencies.candle-core]
version = "0.9.1"

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

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

[dependencies.indicatif]
version = "0.17"

[dependencies.mime_guess]
version = "2"
optional = true

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

[dependencies.percent-encoding]
version = "2.3"
optional = true

[dependencies.pocket-tts]
version = "0.3.1"

[dependencies.rust-embed]
version = "8"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tower]
version = "0.4"
features = ["util"]

[dependencies.tower-http]
version = "0.5"
features = [
    "fs",
    "trace",
    "cors",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

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

[dev-dependencies.hound]
version = "3.5"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tower]
version = "0.4"
features = ["util"]