From 14607d76a46cae85e307f4ddf94758231a973f2a Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 20 Dec 2022 15:33:24 -0600 Subject: [PATCH] feat: Make wrapped `Tts` instance public. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 578f8cc..8a67026 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,7 +3,7 @@ use crossbeam_channel::{unbounded, Receiver}; pub use tts::{self, Backends, Error, Features, UtteranceId}; #[derive(Resource, Clone, Deref, DerefMut)] -pub struct Tts(tts::Tts); +pub struct Tts(pub tts::Tts); impl Tts { pub fn screen_reader_available() -> bool {