mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-15 07:19:36 +00:00
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[package]
|
|
name = "tts"
|
|
version = "0.8.0"
|
|
authors = ["Nolan Darilek <nolan@thewordnerd.info>"]
|
|
repository = "https://github.com/ndarilek/tts-rs"
|
|
description = "High-level Text-To-Speech (TTS) interface"
|
|
license = "MIT"
|
|
exclude = ["*.cfg", "*.yml"]
|
|
edition = "2018"
|
|
|
|
[package.metadata.patch.speech-dispatcher]
|
|
version = "0.7.0"
|
|
patches = [
|
|
"speech-dispatcher.patch"
|
|
]
|
|
|
|
[patch.crates-io]
|
|
speech-dispatcher = { path = './target/patch/speech-dispatcher-0.7.0'}
|
|
|
|
[lib]
|
|
crate-type = ["lib", "cdylib", "staticlib"]
|
|
|
|
[dependencies]
|
|
lazy_static = "1"
|
|
log = "0.4"
|
|
thiserror = "1"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.7"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
tolk = ">= 0.2.1"
|
|
winrt = "0.7"
|
|
tts_winrt_bindings = { version = "0.1", path="winrt_bindings" }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
speech-dispatcher = "0.7"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
|
cocoa-foundation = "0.1"
|
|
core-foundation = "0.9"
|
|
libc = "0.2"
|
|
objc = "0.2"
|
|
|
|
[target.wasm32-unknown-unknown.dependencies]
|
|
wasm-bindgen = "0.2"
|
|
web-sys = { version = "0.3", features = ["EventTarget", "SpeechSynthesis", "SpeechSynthesisEvent", "SpeechSynthesisUtterance", "Window", ] }
|