Browse Source

Update tts 0.15 -> 0.16

pull/365/head
Emil Ernerfeldt 4 years ago
parent
commit
7747a1f171
  1. 28
      Cargo.lock
  2. 2
      egui_glium/Cargo.toml
  3. 4
      egui_glium/src/screen_reader.rs
  4. 2
      egui_web/Cargo.toml
  5. 4
      egui_web/src/screen_reader.rs

28
Cargo.lock

@ -2319,9 +2319,9 @@ checksum = "3e5d7cd7ab3e47dda6e56542f4bbf3824c15234958c6e1bd6aaa347e93499fdc"
[[package]]
name = "tts"
version = "0.15.2"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fbbaa4d576f59b3a0dc385f2b216dc9e1ab219cfbaa1bd3b0e4c678aa6b7109"
checksum = "2d68e9e002f60cc4e4f16bf40db2544c3e9021715bb06960ba9b9970c3ae75e1"
dependencies = [
"cocoa-foundation",
"dyn-clonable",
@ -2680,9 +2680,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "windows"
version = "0.4.0"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "015de964f21e0b20b9744ebc6f3a3e4dfdd1788f133a4aeec09c035748f88a21"
checksum = "388ac37f05f32071485db1af226f92ee98432dc6b5ba51ebee121bf01c8e2446"
dependencies = [
"const-sha1",
"windows_gen",
@ -2691,33 +2691,21 @@ dependencies = [
[[package]]
name = "windows_gen"
version = "0.4.0"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70028758c92f5ed61ce12ab8e7482dce152418bac41dbefe794511b9fb673022"
checksum = "91332e7e62443e735f74b6d701dcc053f26b08fa63cba5b60a6cd8b64b0cf481"
dependencies = [
"proc-macro2",
"quote",
"squote",
"syn",
"windows_gen_macros",
]
[[package]]
name = "windows_gen_macros"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a4e4aa3c108fc3112bb797662b14958d088d3b989f2560d89335775c566c88d"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "windows_macros"
version = "0.4.0"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87e5b872245607ec18bf35eaa7a6146831c07449c0b724afd7403d732c6da856"
checksum = "c9d7c54fe11679c0805051a5dc73b87b7abf13fefd4fdfdea9b888673a498ec8"
dependencies = [
"proc-macro2",
"quote",

2
egui_glium/Cargo.toml

@ -34,7 +34,7 @@ ron = { version = "0.6", optional = true }
serde = { version = "1", optional = true }
# feature screen_reader
tts = { version = "0.15", optional = true }
tts = { version = "0.16", optional = true }
# feature "time"
chrono = { version = "0.4", optional = true }

4
egui_glium/src/screen_reader.rs

@ -1,6 +1,6 @@
pub struct ScreenReader {
#[cfg(feature = "screen_reader")]
tts: Option<tts::TTS>,
tts: Option<tts::Tts>,
}
#[cfg(not(feature = "screen_reader"))]
@ -13,7 +13,7 @@ impl Default for ScreenReader {
#[cfg(feature = "screen_reader")]
impl Default for ScreenReader {
fn default() -> Self {
let tts = match tts::TTS::default() {
let tts = match tts::Tts::default() {
Ok(screen_reader) => {
eprintln!("Initialized screen reader.");
Some(screen_reader)

2
egui_web/Cargo.toml

@ -27,7 +27,7 @@ epi = { version = "0.11.0", path = "../epi" }
js-sys = "0.3"
ron = { version = "0.6", optional = true }
serde = { version = "1", optional = true }
tts = { version = "0.15", optional = true } # feature screen_reader
tts = { version = "0.16", optional = true } # feature screen_reader
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"

4
egui_web/src/screen_reader.rs

@ -1,6 +1,6 @@
pub struct ScreenReader {
#[cfg(feature = "screen_reader")]
tts: Option<tts::TTS>,
tts: Option<tts::Tts>,
}
#[cfg(not(feature = "screen_reader"))]
@ -13,7 +13,7 @@ impl Default for ScreenReader {
#[cfg(feature = "screen_reader")]
impl Default for ScreenReader {
fn default() -> Self {
let tts = match tts::TTS::default() {
let tts = match tts::Tts::default() {
Ok(screen_reader) => {
crate::console_log("Initialized screen reader.");
Some(screen_reader)

Loading…
Cancel
Save