diff --git a/Cargo.toml b/Cargo.toml index 22aa89f..65481c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,11 +10,11 @@ license = "MIT" name = "rust-i18n" readme = "README.md" repository = "https://github.com/longbridgeapp/rust-i18n" -version = "3.0.1-alpha.0" +version = "3.0.1" [dependencies] once_cell = "1.10.0" -rust-i18n-support = { path = "./crates/support", version = "3.0.0" } +rust-i18n-support = { path = "./crates/support", version = "3.0.1" } rust-i18n-macro = { path = "./crates/macro", version = "3.0.0" } smallvec = "1.12.0" diff --git a/crates/support/Cargo.toml b/crates/support/Cargo.toml index 8cb7c1b..ff82f15 100644 --- a/crates/support/Cargo.toml +++ b/crates/support/Cargo.toml @@ -5,7 +5,7 @@ license = "MIT" name = "rust-i18n-support" readme = "../../README.md" repository = "https://github.com/longbridgeapp/rust-i18n" -version = "3.0.0" +version = "3.0.1" [dependencies] arc-swap = "1.6.0" diff --git a/src/lib.rs b/src/lib.rs index 6809fb6..59ab8c2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -186,6 +186,6 @@ mod tests { #[test] fn test_locale() { assert_locale_type(&locale(), &CURRENT_LOCALE.as_str()); - assert_eq!(locale().deref(), "en"); + assert_eq!(&*locale(), "en"); } }