[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"]
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-tts-core.workspace = true
dengjen-tts.workspace = true
dengjen-tts-piper = { path = "../../dengjen/models/piper", version = "1.2.1", default-features = false }
dengjen-tts-kokoro.workspace = true
dengjen-tts-melotts.workspace = true
once_cell = "1.18.0"
[dependencies.dengjen-tashkeel]
version = "1.5.1"
default-features = false
features = ["ort", "rayon"]
optional = true
[dependencies.pyo3]
version = "0.29.1"
features = ["extension-module", "abi3-py39"]
[dependencies.ort]
version = "2.0.0-rc.13"
default-features = false
features = ["std", "ndarray", "tracing", "download-binaries", "tls-rustls", "copy-dylibs", "api-27"]
[build-dependencies]
fs_extra = "1.3.0"