diff --git a/src/lib.rs b/src/lib.rs index bc873e4..c7c10a2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -50,6 +50,10 @@ trait Backend { pub struct TTS(Box); +unsafe impl std::marker::Send for TTS {} + +unsafe impl std::marker::Sync for TTS {} + impl TTS { /** * Create a new `TTS` instance with the specified backend.