From b7d85ad2ff3d71c5e373e82993d6e8196f763cfc Mon Sep 17 00:00:00 2001 From: "Sijie.Sun" Date: Wed, 21 Aug 2024 11:00:13 +0800 Subject: [PATCH] update rust-i18n to v3.1.2 (#269) --- Cargo.lock | 42 +++++++----------------------------------- easytier/Cargo.toml | 3 +-- 2 files changed, 8 insertions(+), 37 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e63ee7c..5c9c239 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1647,7 +1647,6 @@ dependencies = [ "ring 0.17.8", "rstest", "rust-i18n", - "rust-i18n-macro", "rustls", "serde", "serial_test", @@ -3293,12 +3292,6 @@ version = "0.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64804cc6a5042d4f05379909ba25b503ec04e2c082151d62122d5dcaa274b961" -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - [[package]] name = "linux-raw-sys" version = "0.4.14" @@ -5072,9 +5065,9 @@ dependencies = [ [[package]] name = "rust-i18n" -version = "3.0.1" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dcd94370631e5658a0a23635f7f47e43d06a00ad948e0bb5de79b00d85b880c" +checksum = "039f57d22229db401af3458ca939300178e99e88b938573cea12b7c2b0f09724" dependencies = [ "globwalk", "once_cell", @@ -5086,9 +5079,9 @@ dependencies = [ [[package]] name = "rust-i18n-macro" -version = "3.0.0" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "355763801dcf287e777e42def7c578410783477b804b1107852119e0b2518396" +checksum = "dde5c022360a2e54477882843d56b6f9bcb4bc62f504b651a2f497f0028d174f" dependencies = [ "glob", "once_cell", @@ -5097,15 +5090,15 @@ dependencies = [ "rust-i18n-support", "serde", "serde_json", - "serde_yaml", + "serde_yml", "syn 2.0.74", ] [[package]] name = "rust-i18n-support" -version = "3.1.1" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33410d4f5d19e193c2f34c4210c6646dcbc68cd823f147a790556e53ad7d13b7" +checksum = "75d2844d36f62b5d6b66f9cf8f8cbdbbbdcdb5fd37a473a9cc2fb45fdcf485d2" dependencies = [ "arc-swap", "base62", @@ -5500,18 +5493,6 @@ dependencies = [ "syn 2.0.74", ] -[[package]] -name = "serde_yaml" -version = "0.8.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" -dependencies = [ - "indexmap 1.9.3", - "ryu", - "serde", - "yaml-rust", -] - [[package]] name = "serde_yml" version = "0.0.11" @@ -7936,15 +7917,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - [[package]] name = "yasna" version = "0.5.2" diff --git a/easytier/Cargo.toml b/easytier/Cargo.toml index 8d02494..4f484d3 100644 --- a/easytier/Cargo.toml +++ b/easytier/Cargo.toml @@ -174,8 +174,7 @@ parking_lot = { version = "0.12.0", optional = true } wildmatch = "2.3.4" -rust-i18n = "=3.0.1" -rust-i18n-macro = "=3.0.0" +rust-i18n = "3" sys-locale = "0.3" [target.'cfg(windows)'.dependencies]