2018-12-14 19:35:49 +00:00
|
|
|
[package]
|
|
|
|
name = "tts"
|
2023-09-09 17:44:17 +00:00
|
|
|
version = "0.25.6"
|
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"
|
2023-12-05 11:28:47 +00:00
|
|
|
documentation = "https://docs.rs/tts"
|
2018-12-28 15:43:21 +00:00
|
|
|
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]
|
2022-11-22 20:15:40 +00:00
|
|
|
speech_dispatcher_0_9 = ["speech-dispatcher/0_9"]
|
2022-03-10 19:46:14 +00:00
|
|
|
speech_dispatcher_0_10 = ["speech-dispatcher/0_10"]
|
2022-09-07 17:33:33 +00:00
|
|
|
speech_dispatcher_0_11 = ["speech-dispatcher/0_11"]
|
|
|
|
default = ["speech_dispatcher_0_11"]
|
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"
|
2022-11-21 18:00:35 +00:00
|
|
|
oxilangtag = "0.1"
|
2020-08-20 02:28:30 +00:00
|
|
|
lazy_static = "1"
|
2018-12-14 19:35:49 +00:00
|
|
|
log = "0.4"
|
2022-09-07 17:33:33 +00:00
|
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
2020-05-18 20:01:28 +00:00
|
|
|
thiserror = "1"
|
2018-12-14 19:35:49 +00:00
|
|
|
|
2020-06-11 18:00:10 +00:00
|
|
|
[dev-dependencies]
|
2024-02-09 16:28:16 +00:00
|
|
|
env_logger = "0.11"
|
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 }
|
2024-02-09 16:28:16 +00:00
|
|
|
windows = { version = "0.52", features = [
|
2023-09-09 17:44:17 +00:00
|
|
|
"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-11-22 20:15:40 +00:00
|
|
|
speech-dispatcher = { version = "0.16", 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"
|
2023-09-09 17:44:17 +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]
|
2023-03-06 20:30:08 +00:00
|
|
|
jni = "0.21"
|
2022-11-22 16:44:18 +00:00
|
|
|
ndk-context = "0.1"
|
2022-06-13 15:22:39 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2022-11-22 20:15:40 +00:00
|
|
|
no-default-features = true
|
2023-09-09 17:44:17 +00:00
|
|
|
features = ["speech_dispatcher_0_11"]
|