tts-rs/Cargo.toml

51 lines
1.6 KiB
TOML
Raw Normal View History

2018-12-14 19:35:49 +00:00
[package]
name = "tts"
2022-06-30 23:15:42 +00:00
version = "0.22.4"
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_10 = ["speech-dispatcher/0_10"]
2022-03-31 18:37:42 +00:00
default = ["speech_dispatcher_0_10"]
2018-12-14 19:35:49 +00:00
[dependencies]
dyn-clonable = "0.9"
lazy_static = "1"
2018-12-14 19:35:49 +00:00
log = "0.4"
thiserror = "1"
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
[dev-dependencies]
2021-11-01 15:39:58 +00:00
env_logger = "0.9"
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-06-30 23:15:42 +00:00
windows = { version = "0.38", 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]
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]
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]
jni = "0.19"
ndk-glue = "0.6"
[package.metadata.docs.rs]
no-default-features = true