1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-09-08 02:19:36 +00:00
tts-rs/Cargo.toml
Nolan Darilek 753f6c5ecd WIP: Initial support for MacOS/NSSpeechSynthesizer.
* Add necessary dependencies, build script, and `NSSpeechSynthesizer` backend.
* Get very basic speech working.

Needs a delegate to handle queued speech, and currently segfaults if one is set.
2020-08-11 12:11:19 -05:00

33 lines
809 B
TOML

[package]
name = "tts"
version = "0.4.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"
[dependencies]
log = "0.4"
thiserror = "1"
[dev-dependencies]
env_logger = "0.7"
[target.'cfg(windows)'.dependencies]
tolk = "0.2"
winrt = "0.7"
tts_winrt_bindings = { version = "0.1", path="winrt_bindings" }
[target.'cfg(target_os = "linux")'.dependencies]
speech-dispatcher = "0.4"
[target.'cfg(target_os = "macos")'.dependencies]
cocoa-foundation = "0.1"
objc = "0.2"
[target.wasm32-unknown-unknown.dependencies]
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = ["SpeechSynthesis", "SpeechSynthesisUtterance", "Window", ] }