diff --git a/crates/macro/src/lib.rs b/crates/macro/src/lib.rs index c9148ea..7b9208b 100644 --- a/crates/macro/src/lib.rs +++ b/crates/macro/src/lib.rs @@ -329,6 +329,8 @@ fn generate_code( quote! { use rust_i18n::{BackendExt, CowStr, MinifyKey}; use std::borrow::Cow; + use std::sync::Mutex; + use rust_i18n::once_cell::sync::Lazy; /// I18n backend instance ///