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