From e576aa38ebe5fffa06670fb47db588121562151d Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 20 Aug 2024 19:35:13 +0800 Subject: [PATCH] Update lib.rs --- crates/macro/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) 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 ///