dengjen-tts-python 1.2.0

Python bindings for the dengjen-tts speech synthesis engine
# 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 = "2021"
name = "dengjen-tts-python"
version = "1.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python bindings for the dengjen-tts speech synthesis engine"
homepage = "https://github.com/ZirekHQ/dengjen-tts"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/ZirekHQ/dengjen-tts"

[features]
coreml = [
    "dengjen-tts-piper/coreml",
    "dengjen-tts-kokoro/coreml",
    "dengjen-tts-melotts/coreml",
]
cuda = [
    "dengjen-tts-piper/cuda",
    "dengjen-tts-kokoro/cuda",
    "dengjen-tts-melotts/cuda",
]
default = [
    "tashkeel",
    "espeak",
]
directml = [
    "dengjen-tts-piper/directml",
    "dengjen-tts-kokoro/directml",
    "dengjen-tts-melotts/directml",
]
espeak = [
    "dep:dengjen-espeak-phonemizer",
    "dengjen-tts-piper/espeak",
    "dengjen-tts-kokoro/espeak",
    "dengjen-tts-melotts/espeak",
]
ort-dylib = ["ort/load-dynamic"]
tashkeel = [
    "dep:dengjen-tashkeel",
    "dengjen-tts-piper/tashkeel",
]

[lib]
name = "pydengjen"
crate-type = ["cdylib"]
path = "src/lib.rs"

[dependencies.dengjen-espeak-phonemizer]
version = "1.2.0"
optional = true

[dependencies.dengjen-tashkeel]
version = "1.5.1"
features = [
    "ort",
    "rayon",
]
optional = true
default-features = false

[dependencies.dengjen-tts]
version = "1.2.0"

[dependencies.dengjen-tts-core]
version = "1.2.0"

[dependencies.dengjen-tts-kokoro]
version = "1.2.0"
default-features = false

[dependencies.dengjen-tts-melotts]
version = "1.2.0"
default-features = false

[dependencies.dengjen-tts-piper]
version = "1.2.0"
default-features = false

[dependencies.once_cell]
version = "1.18.0"

[dependencies.ort]
version = "2.0.0-rc.13"
features = [
    "std",
    "ndarray",
    "tracing",
    "download-binaries",
    "tls-rustls",
    "copy-dylibs",
    "api-27",
]
default-features = false

[dependencies.pyo3]
version = "0.29.1"
features = [
    "extension-module",
    "abi3-py39",
]

[build-dependencies.fs_extra]
version = "1.3.0"

[lints.clippy]
missing_safety_doc = "deny"
undocumented_unsafe_blocks = "deny"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"