diff --git a/Cargo.toml b/Cargo.toml index cdc5433..c0acb4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,12 +10,12 @@ license = "MIT" name = "rust-i18n" readme = "README.md" repository = "https://github.com/longbridgeapp/rust-i18n" -version = "2.4.0" +version = "3.0.0" [dependencies] once_cell = "1.10.0" -rust-i18n-support = { path = "./crates/support", version = "2.4.0" } -rust-i18n-macro = { path = "./crates/macro", version = "2.4.0" } +rust-i18n-support = { path = "./crates/support", version = "3.0.0" } +rust-i18n-macro = { path = "./crates/macro", version = "3.0.0" } smallvec = "1.12.0" [dev-dependencies] diff --git a/README.md b/README.md index 988d0aa..0d74307 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Add crate dependencies in your Cargo.toml and setup I18n config: ```toml [dependencies] -rust-i18n = "2" +rust-i18n = "3" ``` Load macro and init translations in `lib.rs` or `main.rs`: diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index ebe3459..99a1440 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -5,14 +5,14 @@ license = "MIT" name = "rust-i18n-cli" readme = "../../README.md" repository = "https://github.com/longbridgeapp/rust-i18n" -version = "2.4.0" +version = "3.0.0" [dependencies] anyhow = "1" clap = { version = "4.1.14", features = ["derive"] } itertools = "0.11.0" -rust-i18n-support = { path = "../support", version = "2.4.0" } -rust-i18n-extract = { path = "../extract", version = "2.4.0" } +rust-i18n-support = { path = "../support", version = "3.0.0" } +rust-i18n-extract = { path = "../extract", version = "3.0.0" } serde = { version = "1", features = ["derive"] } toml = "0.7.4" diff --git a/crates/extract/Cargo.toml b/crates/extract/Cargo.toml index a9b5c78..f4522cd 100644 --- a/crates/extract/Cargo.toml +++ b/crates/extract/Cargo.toml @@ -5,7 +5,7 @@ license = "MIT" name = "rust-i18n-extract" readme = "../../README.md" repository = "https://github.com/longbridgeapp/rust-i18n" -version = "2.4.0" +version = "3.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -15,7 +15,7 @@ ignore = "0.4" proc-macro2 = { version = "1", features = ["span-locations"] } quote = "1" regex = "1" -rust-i18n-support = { path = "../support", version = "2.4.0" } +rust-i18n-support = { path = "../support", version = "3.0.0" } serde = "1" serde_json = "1" serde_yaml = "0.8" diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index cf0f523..0050a4c 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -5,7 +5,7 @@ license = "MIT" name = "rust-i18n-macro" readme = "../../README.md" repository = "https://github.com/longbridgeapp/rust-i18n" -version = "2.4.0" +version = "3.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -14,7 +14,7 @@ glob = "0.3" once_cell = "1.10.0" proc-macro2 = "1.0" quote = "1.0.2" -rust-i18n-support = { path = "../support", version = "2.4.0" } +rust-i18n-support = { path = "../support", version = "3.0.0" } serde = "1" serde_json = "1" serde_yaml = "0.8" diff --git a/crates/support/Cargo.toml b/crates/support/Cargo.toml index d7d8d63..b75e6e6 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 = "2.4.0" +version = "3.0.0" [dependencies] globwalk = "0.8.1"