From 0198354961ea65198dd6f821dfa4bf589cb925fc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2025 14:56:23 +0100 Subject: [PATCH] chore(deps): update rust crate oxc crates to 0.38 (dev) (#12122) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars --- Cargo.lock | 134 +++++++++++++++++++++--------------- crates/tauri-cli/Cargo.toml | 9 +-- 2 files changed, 85 insertions(+), 58 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c2bdc9295..7f209fe9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -139,9 +139,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "android-tzdata" @@ -1823,7 +1823,7 @@ dependencies = [ "encode_unicode", "lazy_static", "libc", - "unicode-width", + "unicode-width 0.1.14", "windows-sys 0.52.0", ] @@ -1942,6 +1942,12 @@ dependencies = [ "libm", ] +[[package]] +name = "cow-utils" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79" + [[package]] name = "cpio" version = "0.4.0" @@ -5073,31 +5079,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "miette" -version = "7.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4edc8853320c2a0dab800fbda86253c8938f6ea88510dc92c5f1ed20e794afc1" -dependencies = [ - "cfg-if", - "miette-derive", - "owo-colors", - "textwrap", - "thiserror 1.0.68", - "unicode-width", -] - -[[package]] -name = "miette-derive" -version = "7.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.94", -] - [[package]] name = "mime" version = "0.3.17" @@ -5986,10 +5967,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] -name = "oxc_allocator" -version = "0.25.0" +name = "oxc-miette" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "466379b9ab2e05996bfedfae9c96753a633bb5a53aaf0898eb0e0ab09e169514" +checksum = "e03e63fd113c068b82d07c9c614b0b146c08a3ac0a4dface3ea1d1a9d14d549e" +dependencies = [ + "cfg-if", + "owo-colors", + "oxc-miette-derive", + "textwrap", + "thiserror 1.0.68", + "unicode-width 0.2.0", +] + +[[package]] +name = "oxc-miette-derive" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e21f680e8c5f1900297d394627d495351b9e37761f7bbf90116bd5eeb6e80967" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.94", +] + +[[package]] +name = "oxc_allocator" +version = "0.36.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "931f734a61f63a0571163b160b764d90d83077c4d2631d15b26fe1b66763dad8" dependencies = [ "allocator-api2", "bumpalo", @@ -5997,23 +6003,27 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.25.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34bd4f56fe32adea489153f6d681d9ee01f0336b9b6a89f062611488d8f80797" +checksum = "b9a771175e84c2324c841fe7ca3ddacb5df8102f043e2fc3e96d0bfee039c13d" dependencies = [ "bitflags 2.6.0", + "cow-utils", "num-bigint", + "num-traits", "oxc_allocator", "oxc_ast_macros", + "oxc_estree", + "oxc_regular_expression", "oxc_span", "oxc_syntax", ] [[package]] name = "oxc_ast_macros" -version = "0.25.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "197b36739db0e80919e19a90785233eea5664697d4cd829bd49af34838ec43d2" +checksum = "ed71131e79889e226fb6510b90fa1a4a7495c8fdac43a4f505334fb0f1324e3e" dependencies = [ "proc-macro2", "quote", @@ -6022,30 +6032,35 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.25.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cd4bb48b9527f5825c84acb688ec1485df4a5edadc17b3582626bb49736752b" +checksum = "e37049d46eb02a97e4cc0900672a921666393c642c1ad419a20d483285f5b590" dependencies = [ - "miette", - "owo-colors", - "textwrap", - "unicode-width", + "oxc-miette", + "rustc-hash", ] [[package]] -name = "oxc_index" -version = "0.25.0" +name = "oxc_estree" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9aa9446f6d2a64d0baa02fe20dc3d64e3e112083854b84fdacb82261be2b84" +checksum = "7fa45c638ccfd88b5c26147b0a98e1e8dd49542327dda94445b940ef91920d6a" + +[[package]] +name = "oxc_index" +version = "0.36.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae76739229d0cc5e834e0e3b9e8c4078a86828ff47f5bc71138e4571ce528f83" [[package]] name = "oxc_parser" -version = "0.25.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3432e80a58cfb38f9a138203e64d0f9a621d4c4e9d18e3e3bd870b51ce1f0e" +checksum = "0106e10cd67a59d91a75232d4c40f188b8532efea9b9bbed110bce157e7d3b9a" dependencies = [ "assert-unchecked", "bitflags 2.6.0", + "cow-utils", "memchr", "num-bigint", "num-traits", @@ -6061,12 +6076,14 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.25.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc6d05fec98ad6cc864ba8cfe7ece2e258106059a9a57e35b02450650b06979" +checksum = "f1bd0d5b1b943173378a5f61d6a4c49edc7e8c9157241e9bbba54594d7449b4c" dependencies = [ "oxc_allocator", + "oxc_ast_macros", "oxc_diagnostics", + "oxc_estree", "oxc_span", "phf 0.11.2", "rustc-hash", @@ -6075,27 +6092,30 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.25.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a862a896ac3abd269863a19d4f77302b019458d90513705c7a017b138c8449b" +checksum = "c7b5d7caf8a20611f34c5c9ebdf232b6b42498e5424d02ef1e2dffe31553b49f" dependencies = [ "compact_str", - "miette", + "oxc-miette", "oxc_allocator", "oxc_ast_macros", + "oxc_estree", ] [[package]] name = "oxc_syntax" -version = "0.25.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d50c7ea034fb12f65376cfffc8ae4bfde3cda0a1e14407f82ffba1d26431703d" +checksum = "3135d5ddd0dc8ca535c0ac517a526ace8cac2699bb1345064c9fe046ca761dfa" dependencies = [ + "assert-unchecked", "bitflags 2.6.0", "dashmap", "nonmax", "oxc_allocator", "oxc_ast_macros", + "oxc_estree", "oxc_index", "oxc_span", "phf 0.11.2", @@ -9656,7 +9676,7 @@ dependencies = [ "smawk", "terminal_size", "unicode-linebreak", - "unicode-width", + "unicode-width 0.1.14", ] [[package]] @@ -10316,6 +10336,12 @@ version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" +[[package]] +name = "unicode-width" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" + [[package]] name = "unicode-xid" version = "0.2.6" diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 8c5445a5c..4bb5da99a 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -101,10 +101,11 @@ css-color = "0.2" resvg = "0.43.0" dunce = "1" glob = "0.3" -oxc_parser = "0.25" -oxc_span = "0.25" -oxc_allocator = "0.25" -oxc_ast = "0.25" +# 0.39 raised msrv to above 1.78 but 0.37+ can't compile on 1.77.2 either. +oxc_parser = "0.36" +oxc_span = "0.36" +oxc_allocator = "0.36" +oxc_ast = "0.36" magic_string = "0.3" phf = { version = "0.11", features = ["macros"] } walkdir = "2"