rlx-tiny-tts 0.2.9

TinyTTS English text-to-speech (VITS2/MeloTTS, 44.1 kHz) for RLX — all backends
# 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.87"
name = "rlx-tiny-tts"
version = "0.2.9"
authors = [
    "Eugene Hauptmann",
    "Nataliya Kosmyna",
]
build = false
exclude = ["weights/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TinyTTS English text-to-speech (VITS2/MeloTTS, 44.1 kHz) for RLX — all backends"
readme = false
license = "GPL-3.0-only"
repository = "https://github.com/MIT-RLX/rlx-models"
resolver = "2"

[features]
all-backends = [
    "metal",
    "mlx",
    "cuda",
    "rocm",
    "gpu",
    "vulkan",
    "coreml",
]
amd-gpu = ["rocm"]
ane = ["coreml"]
apple-silicon = [
    "metal",
    "mlx",
    "gpu",
    "coreml",
]
coreml = ["rlx-runtime/coreml"]
cpu = ["rlx-runtime/cpu"]
cuda = ["rlx-runtime/cuda"]
default = ["cpu"]
gpu = ["rlx-runtime/gpu"]
metal = [
    "rlx-runtime/metal",
    "dep:rlx-metal",
]
mlx = [
    "rlx-runtime/mlx",
    "dep:rlx-mlx",
]
nvidia-gpu = ["cuda"]
rocm = ["rlx-runtime/rocm"]
vulkan = ["rlx-runtime/vulkan"]

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

[[bin]]
name = "rlx-tiny-tts"
path = "src/bin/rlx_tiny_tts.rs"

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.dirs]
version = "6"

[dependencies.hound]
version = "3"

[dependencies.ndarray]
version = "0.16"

[dependencies.rlx-compile]
version = "=0.2.9"

[dependencies.rlx-cpu]
version = "=0.2.9"

[dependencies.rlx-inflect-nano]
version = "0.2.9"
default-features = false

[dependencies.rlx-ir]
version = "=0.2.9"

[dependencies.rlx-metal]
version = "=0.2.9"
optional = true

[dependencies.rlx-mlx]
version = "=0.2.9"
optional = true

[dependencies.rlx-onnx-import]
version = "=0.2.9"

[dependencies.rlx-opt]
version = "=0.2.9"

[dependencies.rlx-runtime]
version = "=0.2.9"
features = [
    "cpu",
    "cpu",
]
default-features = false

[dependencies.safetensors]
version = "0.7"

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

[dependencies.serde_json]
version = "1"

[lints.clippy]
large_enum_variant = "allow"
manual_range_contains = "allow"
needless_range_loop = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
upper_case_acronyms = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust.unused]
level = "warn"
priority = 0