mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-15 11:39:38 +00:00
55 lines
1.7 KiB
TOML
55 lines
1.7 KiB
TOML
[package]
|
|
name = "tts"
|
|
version = "0.25.0"
|
|
authors = ["Nolan Darilek <nolan@thewordnerd.info>"]
|
|
repository = "https://github.com/ndarilek/tts-rs"
|
|
description = "High-level Text-To-Speech (TTS) interface"
|
|
license = "MIT"
|
|
exclude = ["*.cfg", "*.yml"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["lib", "cdylib", "staticlib"]
|
|
|
|
[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"]
|
|
|
|
[dependencies]
|
|
dyn-clonable = "0.9"
|
|
oxilangtag = "0.1"
|
|
lazy_static = "1"
|
|
log = "0.4"
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
|
thiserror = "1"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.10"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
tolk = { version = "0.5", optional = true }
|
|
windows = { version = "0.43", features = ["Foundation", "Foundation_Collections", "Media_Core", "Media_Playback", "Media_SpeechSynthesis", "Storage_Streams"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
speech-dispatcher = { version = "0.16", default-features = false }
|
|
|
|
[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"] }
|
|
|
|
[target.wasm32-unknown-unknown.dependencies]
|
|
wasm-bindgen = "0.2"
|
|
web-sys = { version = "0.3", features = ["EventTarget", "SpeechSynthesis", "SpeechSynthesisErrorCode", "SpeechSynthesisErrorEvent", "SpeechSynthesisEvent", "SpeechSynthesisUtterance", "SpeechSynthesisVoice", "Window", ] }
|
|
|
|
[target.'cfg(target_os="android")'.dependencies]
|
|
jni = "0.20"
|
|
ndk-context = "0.1"
|
|
ndk-glue = "0.7"
|
|
|
|
[package.metadata.docs.rs]
|
|
no-default-features = true
|
|
features = ["speech_dispatcher_0_9"] |