mirror of https://github.com/ndarilek/tts-rs.git
Compare commits
6 Commits
f593340051
...
9e1476fd36
Author | SHA1 | Date |
---|---|---|
Nolan Darilek | 9e1476fd36 | |
Nolan Darilek | 3032fe0fb3 | |
Nolan Darilek | edd09c24e7 | |
Nolan Darilek | b7b4e7dc85 | |
Enyium | 12d8e1f532 | |
Esther Alter | a0c6cbaf6a |
|
@ -39,8 +39,8 @@ jobs:
|
|||
- run: |
|
||||
rustup toolchain install stable
|
||||
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
|
||||
cargo install -f cargo-apk
|
||||
cargo apk build
|
||||
cargo install -f xbuild
|
||||
x build --platform android --arch arm64
|
||||
|
||||
check_web_example:
|
||||
name: Check Web Example
|
||||
|
|
|
@ -4,6 +4,7 @@ version = "0.25.6"
|
|||
authors = ["Nolan Darilek <nolan@thewordnerd.info>"]
|
||||
repository = "https://github.com/ndarilek/tts-rs"
|
||||
description = "High-level Text-To-Speech (TTS) interface"
|
||||
documentation = "https://docs.rs/tts"
|
||||
license = "MIT"
|
||||
exclude = ["*.cfg", "*.yml"]
|
||||
edition = "2021"
|
||||
|
@ -26,11 +27,11 @@ serde = { version = "1", optional = true, features = ["derive"] }
|
|||
thiserror = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.10"
|
||||
env_logger = "0.11"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
tolk = { version = "0.5", optional = true }
|
||||
windows = { version = "0.51", features = [
|
||||
windows = { version = "0.52", features = [
|
||||
"Foundation",
|
||||
"Foundation_Collections",
|
||||
"Media_Core",
|
||||
|
|
|
@ -188,6 +188,7 @@ impl Backend for SpeechDispatcher {
|
|||
.0
|
||||
.list_synthesis_voices()?
|
||||
.iter()
|
||||
.filter(|v| LanguageTag::parse(v.language.clone()).is_ok())
|
||||
.map(|v| Voice {
|
||||
id: v.name.clone(),
|
||||
name: v.name.clone(),
|
||||
|
|
Loading…
Reference in New Issue