tts-rs/Cargo.toml

72 lines
1.8 KiB
TOML
Raw Permalink Normal View History

2018-12-14 19:35:49 +00:00
[package]
name = "tts"
2024-02-09 17:54:31 +00:00
version = "0.26.0"
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
[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]
2024-02-09 16:28:16 +00:00
env_logger = "0.11"
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]
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"
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"
ndk-context = "0.1"
[package.metadata.docs.rs]
no-default-features = true
2023-09-09 17:44:17 +00:00
features = ["speech_dispatcher_0_11"]