1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-15 01:19:38 +00:00
tts-rs/Cargo.toml

55 lines
1.7 KiB
TOML
Raw Normal View History

2018-12-14 19:35:49 +00:00
[package]
name = "tts"
version = "0.25.5"
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
[features]
speech_dispatcher_0_9 = ["speech-dispatcher/0_9"]
speech_dispatcher_0_10 = ["speech-dispatcher/0_10"]
speech_dispatcher_0_11 = ["speech-dispatcher/0_11"]
default = ["speech_dispatcher_0_11"]
2018-12-14 19:35:49 +00:00
[dependencies]
dyn-clonable = "0.9"
oxilangtag = "0.1"
lazy_static = "1"
2018-12-14 19:35:49 +00:00
log = "0.4"
serde = { version = "1", optional = true, features = ["derive"] }
thiserror = "1"
2018-12-14 19:35:49 +00:00
[dev-dependencies]
2022-12-02 18:38:50 +00:00
env_logger = "0.10"
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 }
2023-04-03 15:08:03 +00:00
windows = { version = "0.48", features = ["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]
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]
cocoa-foundation = "0.1"
core-foundation = "0.9"
libc = "0.2"
objc = { version = "0.2", features = ["exception"] }
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]
2023-03-06 20:30:08 +00:00
jni = "0.21"
ndk-context = "0.1"
ndk-glue = "0.7"
[package.metadata.docs.rs]
no-default-features = true
features = ["speech_dispatcher_0_11"]