[package]
edition = "2024"
name = "piper-plus"
version = "0.1.0"
authors = ["ayousanz"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-quality neural text-to-speech engine with 7-language support"
homepage = "https://github.com/ayutaz/piper-plus"
readme = false
keywords = [
"tts",
"text-to-speech",
"piper",
"onnx",
"vits",
]
categories = ["multimedia::audio"]
license = "MIT"
repository = "https://github.com/ayutaz/piper-plus"
resolver = "2"
[features]
coreml = []
cuda = []
default = [
"naist-jdic",
"dict-download",
]
dict-download = [
"download",
"dep:sha2",
"dep:flate2",
"dep:tar",
]
directml = []
download = ["dep:reqwest"]
japanese = ["dep:jpreprocess"]
naist-jdic = [
"japanese",
"jpreprocess/naist-jdic",
]
playback = ["dep:rodio"]
resample = ["dep:rubato"]
tensorrt = []
[lib]
name = "piper_plus"
path = "src/lib.rs"
[[test]]
name = "test_audio_format"
path = "tests/test_audio_format.rs"
[[test]]
name = "test_batch"
path = "tests/test_batch.rs"
[[test]]
name = "test_chinese"
path = "tests/test_chinese.rs"
[[test]]
name = "test_custom_dict"
path = "tests/test_custom_dict.rs"
[[test]]
name = "test_custom_dict_integration"
path = "tests/test_custom_dict_integration.rs"
[[test]]
name = "test_default_output"
path = "tests/test_default_output.rs"
[[test]]
name = "test_device"
path = "tests/test_device.rs"
[[test]]
name = "test_english"
path = "tests/test_english.rs"
[[test]]
name = "test_error_variants"
path = "tests/test_error_variants.rs"
[[test]]
name = "test_gpu"
path = "tests/test_gpu.rs"
[[test]]
name = "test_japanese_phonemize"
path = "tests/test_japanese_phonemize.rs"
[[test]]
name = "test_korean"
path = "tests/test_korean.rs"
[[test]]
name = "test_model_download"
path = "tests/test_model_download.rs"
[[test]]
name = "test_multilingual"
path = "tests/test_multilingual.rs"
[[test]]
name = "test_n_variants"
path = "tests/test_n_variants.rs"
[[test]]
name = "test_phoneme_converter"
path = "tests/test_phoneme_converter.rs"
[[test]]
name = "test_question_markers"
path = "tests/test_question_markers.rs"
[[test]]
name = "test_romance_languages"
path = "tests/test_romance_languages.rs"
[[test]]
name = "test_streaming"
path = "tests/test_streaming.rs"
[[test]]
name = "test_text_splitter"
path = "tests/test_text_splitter.rs"
[[test]]
name = "test_timing"
path = "tests/test_timing.rs"
[[test]]
name = "test_token_map_parity"
path = "tests/test_token_map_parity.rs"
[[test]]
name = "test_voice_api"
path = "tests/test_voice_api.rs"
[dependencies.flate2]
version = "1"
optional = true
[dependencies.hound]
version = "3.5"
[dependencies.jpreprocess]
version = "0.9"
optional = true
[dependencies.ndarray]
version = "0.17"
[dependencies.ort]
version = "2.0.0-rc.12"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = ["blocking"]
optional = true
[dependencies.rodio]
version = "0.19"
optional = true
[dependencies.rubato]
version = "0.16"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
optional = true
[dependencies.tar]
version = "0.4"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"