mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-09-08 01:09:37 +00:00
42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
[package]
|
|
name = "tts"
|
|
version = "0.20.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 = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["lib", "cdylib", "staticlib"]
|
|
|
|
[dependencies]
|
|
dyn-clonable = "0.9"
|
|
lazy_static = "1"
|
|
log = "0.4"
|
|
thiserror = "1"
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.9"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
tolk = { version = "0.5", optional = true }
|
|
windows = { version = "0.29", features = ["alloc", "std", "Foundation", "Media_Core", "Media_Playback", "Media_SpeechSynthesis", "Storage_Streams"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
speech-dispatcher = "0.10"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
|
cocoa-foundation = "0.1"
|
|
libc = "0.2"
|
|
objc = { version = "0.2", features = ["exception"] }
|
|
|
|
[target.wasm32-unknown-unknown.dependencies]
|
|
wasm-bindgen = "0.2"
|
|
web-sys = { version = "0.3", features = ["EventTarget", "SpeechSynthesis", "SpeechSynthesisErrorCode", "SpeechSynthesisErrorEvent", "SpeechSynthesisEvent", "SpeechSynthesisUtterance", "Window", ] }
|
|
|
|
[target.'cfg(target_os="android")'.dependencies]
|
|
jni = "0.19"
|
|
ndk-glue = "0.6" |