[package]
name = "dengjen-tts-python"
version.workspace = true
edition = "2021"
license.workspace = true
description = "Python bindings for the dengjen-tts speech synthesis engine"
repository.workspace = true
homepage.workspace = true
[lints]
workspace = true
[lib]
name = "pydengjen"
crate-type = ["cdylib"]
[features]
default = ["tashkeel", "espeak"]
ort-dylib = ["ort/load-dynamic"]
tashkeel = ["dep:dengjen-tashkeel", "dengjen-tts-piper/tashkeel"]
espeak = ["dep:dengjen-espeak-phonemizer", "dengjen-tts-piper/espeak", "dengjen-tts-kokoro/espeak", "dengjen-tts-melotts/espeak"]
japanese = ["dengjen-tts-kokoro/japanese"]
stt = ["dep:dengjen-stt"]
hebrew = ["dengjen-tts-piper/hebrew"]
pinyin = ["dengjen-tts-piper/pinyin", "dengjen-tts-melotts/pinyin"]
cuda = ["dengjen-tts-piper/cuda", "dengjen-tts-kokoro/cuda", "dengjen-tts-melotts/cuda"]
coreml = ["dengjen-tts-piper/coreml", "dengjen-tts-kokoro/coreml", "dengjen-tts-melotts/coreml"]
directml = ["dengjen-tts-piper/directml", "dengjen-tts-kokoro/directml", "dengjen-tts-melotts/directml"]
[dependencies]
dengjen-espeak-phonemizer = { workspace = true, optional = true }
dengjen-stt = { workspace = true, optional = true }
dengjen-tts-core.workspace = true
dengjen-tts.workspace = true
dengjen-tts-piper = { path = "../../dengjen/models/piper", version = "3.0.2", default-features = false }
dengjen-tts-kokoro.workspace = true
dengjen-tts-melotts.workspace = true
once_cell = "1.18.0"
workspace-hack = { version = "0.1", path = "../../workspace-hack" }
[dependencies.dengjen-tashkeel]
version = "3.0.2"
default-features = false
features = ["ort-static", "rayon"]
optional = true
[dependencies.pyo3]
version = "0.30.0"
features = ["extension-module", "abi3-py39"]
[dependencies.ort]
version = "=2.0.0-rc.15"
default-features = false
features = ["std", "ndarray", "tracing", "download-binaries", "tls-rustls", "copy-dylibs", "api-27"]