2018-12-14 19:35:49 +00:00
|
|
|
[package]
|
|
|
|
name = "tts"
|
2022-03-18 13:47:06 +00:00
|
|
|
version = "0.21.1"
|
2018-12-14 19:35:49 +00:00
|
|
|
authors = ["Nolan Darilek <nolan@thewordnerd.info>"]
|
2020-06-09 12:56:13 +00:00
|
|
|
repository = "https://github.com/ndarilek/tts-rs"
|
2018-12-28 15:43:21 +00:00
|
|
|
description = "High-level Text-To-Speech (TTS) interface"
|
|
|
|
license = "MIT"
|
2019-01-03 16:16:41 +00:00
|
|
|
exclude = ["*.cfg", "*.yml"]
|
2021-11-01 15:38:26 +00:00
|
|
|
edition = "2021"
|
2018-12-14 19:35:49 +00:00
|
|
|
|
2020-08-18 19:17:06 +00:00
|
|
|
[lib]
|
2020-09-24 19:26:30 +00:00
|
|
|
crate-type = ["lib", "cdylib", "staticlib"]
|
2020-08-18 19:17:06 +00:00
|
|
|
|
2022-03-10 19:46:14 +00:00
|
|
|
[features]
|
|
|
|
speech_dispatcher_0_10 = ["speech-dispatcher/0_10"]
|
2022-03-31 18:37:42 +00:00
|
|
|
default = ["speech_dispatcher_0_10"]
|
2022-03-10 19:46:14 +00:00
|
|
|
|
2018-12-14 19:35:49 +00:00
|
|
|
[dependencies]
|
2020-11-03 03:27:13 +00:00
|
|
|
dyn-clonable = "0.9"
|
2020-08-20 02:28:30 +00:00
|
|
|
lazy_static = "1"
|
2018-12-14 19:35:49 +00:00
|
|
|
log = "0.4"
|
2020-05-18 20:01:28 +00:00
|
|
|
thiserror = "1"
|
2020-09-27 18:04:12 +00:00
|
|
|
unic-langid = "0.9.0"
|
2021-12-22 12:28:00 +00:00
|
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
2018-12-14 19:35:49 +00:00
|
|
|
|
2020-06-11 18:00:10 +00:00
|
|
|
[dev-dependencies]
|
2021-11-01 15:39:58 +00:00
|
|
|
env_logger = "0.9"
|
2020-06-11 18:00:10 +00:00
|
|
|
|
2019-03-25 19:15:08 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2021-05-20 18:59:02 +00:00
|
|
|
tolk = { version = "0.5", optional = true }
|
2022-03-31 01:13:27 +00:00
|
|
|
windows = { version = "0.34", features = ["alloc", "Foundation", "Foundation_Collections", "Media_Core", "Media_Playback", "Media_SpeechSynthesis", "Storage_Streams"] }
|
2019-03-25 19:15:08 +00:00
|
|
|
|
2018-12-14 19:35:49 +00:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2022-03-10 19:46:14 +00:00
|
|
|
speech-dispatcher = { version = "0.13", default-features = false }
|
2018-12-30 17:13:48 +00:00
|
|
|
|
2020-08-18 20:16:30 +00:00
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
2020-08-11 17:11:19 +00:00
|
|
|
cocoa-foundation = "0.1"
|
2020-09-03 14:50:11 +00:00
|
|
|
core-foundation = "0.9"
|
2020-08-13 16:08:00 +00:00
|
|
|
libc = "0.2"
|
2021-03-12 14:36:52 +00:00
|
|
|
objc = { version = "0.2", features = ["exception"] }
|
2020-08-11 17:11:19 +00:00
|
|
|
|
2018-12-30 17:13:48 +00:00
|
|
|
[target.wasm32-unknown-unknown.dependencies]
|
|
|
|
wasm-bindgen = "0.2"
|
2022-03-31 15:39:39 +00:00
|
|
|
web-sys = { version = "0.3", features = ["EventTarget", "SpeechSynthesis", "SpeechSynthesisErrorCode", "SpeechSynthesisErrorEvent", "SpeechSynthesisEvent", "SpeechSynthesisUtterance", "SpeechSynthesisVoice", "Window", ] }
|
2020-12-27 15:41:11 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os="android")'.dependencies]
|
2021-03-11 18:33:31 +00:00
|
|
|
jni = "0.19"
|
2022-03-20 12:02:37 +00:00
|
|
|
ndk-glue = "0.6"
|