diff --git a/Cargo.lock b/Cargo.lock index f3e48391..b84a37ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -154,20 +154,19 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "3.0.7" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" +checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" dependencies = [ "anstyle", - "once_cell", "windows-sys 0.59.0", ] [[package]] name = "anyhow" -version = "1.0.95" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" +checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" [[package]] name = "anymap2" @@ -214,40 +213,40 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] name = "async-trait" -version = "0.1.86" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "644dd749086bf3771a2fbc5f256fdb982d53f011c7d5d560304eafeecebce79d" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] name = "auth-git2" -version = "0.5.5" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3810b5af212b013fe7302b12d86616c6c39a48e18f2e4b812a5a9e5710213791" +checksum = "d55eead120c93036f531829cf9b85830a474e75ce71169680879d28078321ddc" dependencies = [ - "dirs", + "dirs 6.0.0", "git2", "terminal-prompt", ] [[package]] name = "auto_impl" -version = "1.2.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e12882f59de5360c748c4cbf569a042d5fb0eb515f7bea9c1f470b47f6ffbd73" +checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -284,7 +283,7 @@ dependencies = [ "serde_path_to_error", "serde_urlencoded", "sha1", - "sync_wrapper", + "sync_wrapper 1.0.2", "tokio", "tokio-tungstenite", "tower", @@ -308,7 +307,7 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "sync_wrapper", + "sync_wrapper 1.0.2", "tower-layer", "tower-service", "tracing", @@ -373,9 +372,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.8.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bitvec" @@ -411,9 +410,9 @@ dependencies = [ [[package]] name = "brotli-decompressor" -version = "4.0.2" +version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74fa05ad7d803d413eb8380983b092cbbaf9a85f151b871360e7b00cd7060b37" +checksum = "9a45bd2e4095a8b518033b128020dd4a55aab1c0a381ba4404a472630f4bc362" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -428,7 +427,7 @@ dependencies = [ "ahash 0.8.11", "chrono", "either", - "indexmap 2.7.1", + "indexmap 2.7.0", "itertools 0.13.0", "nom", "once_cell", @@ -446,7 +445,7 @@ dependencies = [ "ahash 0.8.11", "chrono", "either", - "indexmap 2.7.1", + "indexmap 2.7.0", "itertools 0.13.0", "nom", "serde", @@ -456,9 +455,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.11.3" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0" +checksum = "786a307d683a5bf92e6fd5fd69a7eb613751668d1d8d67d802846dfe367c62c8" dependencies = [ "memchr", "regex-automata", @@ -467,9 +466,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.17.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" dependencies = [ "allocator-api2", ] @@ -504,9 +503,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.10.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61dac84819c6588b558454b194026eb1f09c293b9036ae9b159e74e73ab6cf9" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "camino" @@ -537,7 +536,7 @@ dependencies = [ "heck 0.5.0", "home", "ignore", - "indexmap 2.7.1", + "indexmap 2.7.0", "indicatif", "liquid", "liquid-core", @@ -551,10 +550,10 @@ dependencies = [ "remove_dir_all", "rhai", "sanitize-filename", - "semver 1.0.25", + "semver 1.0.23", "serde", "tempfile", - "thiserror 2.0.11", + "thiserror 2.0.6", "time", "toml", "walkdir", @@ -575,11 +574,12 @@ dependencies = [ "cargo_metadata", "clap", "derive_more", - "dirs", + "dirs 5.0.1", "dotenvy", "dunce", "flate2", "flexi_logger", + "ignore", "insta", "itertools 0.13.0", "lazy_static", @@ -592,7 +592,7 @@ dependencies = [ "pathdiff", "reqwest", "seahash", - "semver 1.0.25", + "semver 1.0.23", "serde", "serde_json", "shlex", @@ -622,7 +622,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26a31f1bb58068aa01b7809533b02c26b1e64a7810ae99131da5af1a4b8e7fc2" dependencies = [ - "semver 1.0.25", + "semver 1.0.23", "serde", "serde-untagged", "serde-value", @@ -641,17 +641,26 @@ dependencies = [ "camino", "cargo-platform", "derive_builder", - "semver 1.0.25", + "semver 1.0.23", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.6", +] + +[[package]] +name = "castaway" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5" +dependencies = [ + "rustversion", ] [[package]] name = "cc" -version = "1.2.13" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7777341816418c02e033934a09f20dc0ccaf65a5201ef8a450ae0105a573fda" +checksum = "27f657647bcff5394bf56c7317665bbf790a137a50eaaa5c6bfbb9e27a518f2d" dependencies = [ "jobserver", "libc", @@ -684,9 +693,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.28" +version = "4.5.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e77c3243bd94243c03672cb5154667347c457ca271254724f9f393aee1c05ff" +checksum = "8acebd8ad879283633b343856142139f2da2317c96b05b4dd6181c61e2480184" dependencies = [ "clap_builder", "clap_derive", @@ -694,9 +703,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.27" +version = "4.5.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7" +checksum = "f6ba32cbda51c7e1dfd49acc1457ba1a7dec5b64fe360e828acb13ca8dc9c2f9" dependencies = [ "anstream", "anstyle", @@ -714,7 +723,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -739,17 +748,30 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +[[package]] +name = "compact_str" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "ryu", + "static_assertions", +] + [[package]] name = "console" -version = "0.15.10" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea3c6ecd8059b57859df5c69830340ed3c41d30e3da0c1cbed90a96ac853041b" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode", + "lazy_static", "libc", - "once_cell", - "unicode-width 0.2.0", - "windows-sys 0.59.0", + "unicode-width 0.1.14", + "windows-sys 0.52.0", ] [[package]] @@ -818,9 +840,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.17" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" dependencies = [ "libc", ] @@ -836,9 +858,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.6" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ "crossbeam-epoch", "crossbeam-utils", @@ -855,9 +877,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.21" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crunchy" @@ -904,7 +926,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331" dependencies = [ "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -941,7 +963,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -954,7 +976,7 @@ dependencies = [ "codespan-reporting", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -972,7 +994,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -996,7 +1018,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -1007,7 +1029,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -1031,9 +1053,9 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.8.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "575f75dfd25738df5b91b8e43e14d44bda14637a58fae779fd2b064f8bf3e010" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "data-url" @@ -1071,7 +1093,7 @@ checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -1082,7 +1104,7 @@ checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -1103,7 +1125,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -1113,7 +1135,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" dependencies = [ "derive_builder_core", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -1133,7 +1155,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", "unicode-xid", ] @@ -1166,7 +1188,16 @@ version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" dependencies = [ - "dirs-sys", + "dirs-sys 0.4.1", +] + +[[package]] +name = "dirs" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" +dependencies = [ + "dirs-sys 0.5.0", ] [[package]] @@ -1177,10 +1208,22 @@ checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", "option-ext", - "redox_users", + "redox_users 0.4.6", "windows-sys 0.48.0", ] +[[package]] +name = "dirs-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" +dependencies = [ + "libc", + "option-ext", + "redox_users 0.5.0", + "windows-sys 0.59.0", +] + [[package]] name = "displaydoc" version = "0.2.5" @@ -1189,7 +1232,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -1227,9 +1270,9 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "encode_unicode" -version = "1.0.0" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] name = "env_filter" @@ -1241,12 +1284,6 @@ dependencies = [ "regex", ] -[[package]] -name = "env_home" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7f84e12ccf0a7ddc17a6c41c93326024c42920d7ee630d04950e6926645c0fe" - [[package]] name = "env_logger" version = "0.11.6" @@ -1334,15 +1371,15 @@ dependencies = [ [[package]] name = "flexi_logger" -version = "0.29.8" +version = "0.29.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a5a6882b2e137c4f2664562995865084eb5a00611fba30c582ef10354c4ad8" +checksum = "d26948e37cfcb1f2c2cd38e0602d3a8ab6b9472c0c6eff4516fc8def9a3124d7" dependencies = [ "chrono", "log", "nu-ansi-term", "regex", - "thiserror 2.0.11", + "thiserror 1.0.69", ] [[package]] @@ -1374,7 +1411,7 @@ checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5" dependencies = [ "proc-macro2", "swc_macros_common", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -1511,7 +1548,7 @@ version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b903b73e45dc0c6c596f2d37eccece7c1c8bb6e4407b001096387c63d0d93724" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "libc", "libgit2-sys", "log", @@ -1561,11 +1598,11 @@ version = "0.14.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11365144ef93082f3403471dbaa94cfe4b5e72743bdb9560719a251d439f4cee" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "bstr", "gix-path", "libc", - "thiserror 2.0.11", + "thiserror 2.0.6", ] [[package]] @@ -1577,7 +1614,7 @@ dependencies = [ "bstr", "itoa", "jiff", - "thiserror 2.0.11", + "thiserror 2.0.6", ] [[package]] @@ -1612,7 +1649,7 @@ version = "0.16.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74908b4bbc0a0a40852737e5d7889f676f081e340d5451a16e5b4c50d592f111" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "bstr", "gix-features", "gix-path", @@ -1668,7 +1705,7 @@ dependencies = [ "gix-trace", "home", "once_cell", - "thiserror 2.0.11", + "thiserror 2.0.6", ] [[package]] @@ -1698,7 +1735,7 @@ version = "0.10.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d84dae13271f4313f8d60a166bf27e54c968c7c33e2ffd31c48cafe5da649875" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "gix-path", "libc", "windows-sys 0.52.0", @@ -1740,7 +1777,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9eaa01c3337d885617c0a42e92823922a2aea71f4caeace6fe87002bdcadbd90" dependencies = [ "bstr", - "thiserror 2.0.11", + "thiserror 2.0.6", ] [[package]] @@ -1811,11 +1848,11 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "home" -version = "0.5.11" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -1868,9 +1905,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.10.0" +version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2d708df4e7140240a16cd6ab0ab65c972d7433ab77819ea693fde9c43811e2a" +checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" [[package]] name = "httpdate" @@ -1886,9 +1923,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "1.6.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" +checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" dependencies = [ "bytes", "futures-channel", @@ -1906,9 +1943,9 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.5" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" +checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" dependencies = [ "futures-util", "http", @@ -2079,7 +2116,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -2152,9 +2189,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.7.1" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" +checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" dependencies = [ "equivalent", "hashbrown 0.15.2", @@ -2196,14 +2233,13 @@ dependencies = [ [[package]] name = "insta" -version = "1.42.1" +version = "1.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71c1b125e30d93896b365e156c33dadfffab45ee8400afcbba4752f59de08a86" +checksum = "7e9ffc4d4892617c50a928c52b2961cb5174b6fc6ebf252b2fac9d21955c48b8" dependencies = [ "console", + "lazy_static", "linked-hash-map", - "once_cell", - "pin-project", "serde", "similar", ] @@ -2219,9 +2255,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.11.0" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" +checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" [[package]] name = "is-macro" @@ -2232,7 +2268,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -2375,27 +2411,27 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "leptos_hot_reload" -version = "0.7.5" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba37d76693fc6228554e0bb06a9aa41c59e2b5180caf423c7913557b81d01dd" +checksum = "0445f3a62696d2d66bef288911af34405718880b4b8dd6c5cfb7751fd8ffcc6b" dependencies = [ "anyhow", "camino", - "indexmap 2.7.1", + "indexmap 2.7.0", "parking_lot", "proc-macro2", "quote", "rstml", "serde", - "syn 2.0.98", + "syn 2.0.90", "walkdir", ] [[package]] name = "libc" -version = "0.2.169" +version = "0.2.168" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d" [[package]] name = "libflate" @@ -2441,7 +2477,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "libc", "redox_syscall", ] @@ -2474,12 +2510,12 @@ dependencies = [ [[package]] name = "lightningcss" -version = "1.0.0-alpha.63" +version = "1.0.0-alpha.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a75fcbcdbcc84fc1ae7c60c31f99337560b620757a9bfc1c9f84df3cff8ac24" +checksum = "20c9e1f991b3861d25bf872ecca2eb6a73f7a9fe671da047cd1f9b49c65cbc40" dependencies = [ "ahash 0.8.11", - "bitflags 2.8.0", + "bitflags 2.6.0", "browserslist-rs 0.16.0", "const-str", "cssparser", @@ -2487,7 +2523,7 @@ dependencies = [ "dashmap", "data-encoding", "getrandom", - "indexmap 2.7.1", + "indexmap 2.7.0", "itertools 0.10.5", "lazy_static", "lightningcss-derive", @@ -2529,9 +2565,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.4.15" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "liquid" @@ -2570,7 +2606,7 @@ checksum = "de66c928222984aea59fcaed8ba627f388aaac3c1f57dcb05cc25495ef8faefe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -2611,9 +2647,9 @@ checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" [[package]] name = "log" -version = "0.4.25" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" @@ -2663,9 +2699,9 @@ dependencies = [ [[package]] name = "miette" -version = "7.5.0" +version = "7.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a955165f87b37fd1862df2a59547ac542c77ef6d17c666f619d1ad22dd89484" +checksum = "317f146e2eb7021892722af37cf1b971f0a70c8406f487e24952667616192c64" dependencies = [ "cfg-if", "miette-derive", @@ -2677,13 +2713,13 @@ dependencies = [ [[package]] name = "miette-derive" -version = "7.5.0" +version = "7.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf45bf44ab49be92fd1227a3be6fc6f617f1a337c06af54981048574d8783147" +checksum = "23c9b935fbe1d6cbd1dac857b54a688145e2d93f48db36010514d0f612d0ad67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -2700,9 +2736,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8402cab7aefae129c6977bb0ff1b8fd9a04eb5b51efc50a70bea51cda0c7924" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" dependencies = [ "adler2", ] @@ -2740,7 +2776,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "cfg-if", "cfg_aliases", "libc", @@ -2780,7 +2816,7 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "filetime", "fsevent-sys", "inotify", @@ -2795,9 +2831,9 @@ dependencies = [ [[package]] name = "notify-types" -version = "1.0.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585d3cb5e12e01aed9e8a1f70d5c6b5e86fe2a6e48fc8cd0b3e0b8df6f6eb174" +checksum = "7393c226621f817964ffb3dc5704f9509e107a8b024b489cc2c1b217378785df" dependencies = [ "instant", ] @@ -2864,18 +2900,18 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "object" -version = "0.36.7" +version = "0.36.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" dependencies = [ "memchr", ] [[package]] name = "once_cell" -version = "1.20.3" +version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" dependencies = [ "portable-atomic", ] @@ -2927,17 +2963,17 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "parcel_selectors" -version = "0.28.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dccbc6fb560df303a44e511618256029410efbc87779018f751ef12c488271fe" +checksum = "7645c578d3a5c4cdf667af1ad39765f5f751c4883d251e050d5e1204b5cad0a9" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "cssparser", "log", "phf", "phf_codegen", "precomputed-hash", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "smallvec", ] @@ -3036,7 +3072,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" dependencies = [ "memchr", - "thiserror 2.0.11", + "thiserror 2.0.6", "ucd-trie", ] @@ -3060,7 +3096,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -3081,14 +3117,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.7.1", + "indexmap 2.7.0", ] [[package]] name = "phf" -version = "0.11.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" dependencies = [ "phf_macros", "phf_shared", @@ -3096,9 +3132,9 @@ dependencies = [ [[package]] name = "phf_codegen" -version = "0.11.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" +checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" dependencies = [ "phf_generator", "phf_shared", @@ -3106,9 +3142,9 @@ dependencies = [ [[package]] name = "phf_generator" -version = "0.11.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" dependencies = [ "phf_shared", "rand", @@ -3116,51 +3152,31 @@ dependencies = [ [[package]] name = "phf_macros" -version = "0.11.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" +checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" dependencies = [ "phf_generator", "phf_shared", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] name = "phf_shared" -version = "0.11.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" dependencies = [ - "siphasher 1.0.1", -] - -[[package]] -name = "pin-project" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfe2e71e1471fe07709406bf725f710b02927c9c54b2b5b2ec0e8087d97c327d" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e859e6e5bd50440ab63c47e3ebabc90f26251f7c73c3d3e837b74a1cc3fa67" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.98", + "siphasher", ] [[package]] name = "pin-project-lite" -version = "0.2.16" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" +checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" [[package]] name = "pin-utils" @@ -3221,39 +3237,41 @@ dependencies = [ "dashmap", "from_variant", "once_cell", - "rustc-hash 2.1.1", - "semver 1.0.25", + "rustc-hash 2.1.0", + "semver 1.0.23", "serde", "st-map", "tracing", ] [[package]] -name = "proc-macro-error-attr2" -version = "2.0.0" +name = "proc-macro-error" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ + "proc-macro-error-attr", "proc-macro2", "quote", + "version_check", ] [[package]] -name = "proc-macro-error2" -version = "2.0.1" +name = "proc-macro-error-attr" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro-error-attr2", "proc-macro2", "quote", + "version_check", ] [[package]] name = "proc-macro2" -version = "1.0.93" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -3266,7 +3284,7 @@ checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", "version_check", "yansi", ] @@ -3323,7 +3341,7 @@ checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -3336,10 +3354,10 @@ dependencies = [ "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "rustls", "socket2", - "thiserror 2.0.11", + "thiserror 2.0.6", "tokio", "tracing", ] @@ -3354,11 +3372,11 @@ dependencies = [ "getrandom", "rand", "ring", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.11", + "thiserror 2.0.6", "tinyvec", "tracing", "web-time", @@ -3366,9 +3384,9 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.9" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" +checksum = "52cd4b1eff68bf27940dd39811292c49e007f4d0b4c357358dc9b0197be6b527" dependencies = [ "cfg_aliases", "libc", @@ -3380,9 +3398,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.38" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -3451,11 +3469,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", ] [[package]] @@ -3469,6 +3487,17 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "redox_users" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b" +dependencies = [ + "getrandom", + "libredox", + "thiserror 2.0.6", +] + [[package]] name = "regex" version = "1.11.1" @@ -3523,9 +3552,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.12.12" +version = "0.12.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da" +checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" dependencies = [ "base64 0.22.1", "bytes", @@ -3552,10 +3581,9 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 1.0.2", "tokio", "tokio-rustls", - "tower", "tower-service", "url", "wasm-bindgen", @@ -3572,7 +3600,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0277a46f29fe3b3eb10821ca2c65a4751b686b6c84422aae31695ba167b0fbc" dependencies = [ "ahash 0.8.11", - "bitflags 2.8.0", + "bitflags 2.6.0", "instant", "num-traits", "once_cell", @@ -3590,7 +3618,7 @@ checksum = "a5a11a05ee1ce44058fa3d5961d05194fdbe3ad6b40f904af764d81b86450e6b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -3645,17 +3673,17 @@ checksum = "3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422" [[package]] name = "rstml" -version = "0.12.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61cf4616de7499fc5164570d40ca4e1b24d231c6833a88bff0fe00725080fd56" +checksum = "51187e564f12336ef40cd04f6f4d805d6919188001dcf1e0a021898ea0fe28ce" dependencies = [ "derive-where", "proc-macro2", "proc-macro2-diagnostics", "quote", - "syn 2.0.98", + "syn 2.0.90", "syn_derive", - "thiserror 2.0.11", + "thiserror 1.0.69", ] [[package]] @@ -3672,9 +3700,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.1.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" +checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" [[package]] name = "rustc_version" @@ -3687,11 +3715,11 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.44" +version = "0.38.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "errno", "libc", "linux-raw-sys", @@ -3700,9 +3728,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.22" +version = "0.23.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb9263ab4eb695e42321db096e3b8fbd715a59b154d5c88d82db2175b681ba7" +checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1" dependencies = [ "once_cell", "ring", @@ -3723,9 +3751,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.11.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" +checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" dependencies = [ "web-time", ] @@ -3743,15 +3771,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.19" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" [[package]] name = "ryu" -version = "1.0.19" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "ryu-js" @@ -3813,9 +3841,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.25" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ "serde", ] @@ -3828,9 +3856,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.217" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" +checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" dependencies = [ "serde_derive", ] @@ -3858,20 +3886,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.217" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" +checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] name = "serde_json" -version = "1.0.138" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d434192e7da787e94a6ea7e9670b26a036d0ca41e0b7efb2676dd32bae872949" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", "memchr", @@ -3982,9 +4010,9 @@ checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" [[package]] name = "similar" -version = "2.7.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" +checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e" [[package]] name = "siphasher" @@ -3992,12 +4020,6 @@ version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" -[[package]] -name = "siphasher" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" - [[package]] name = "slab" version = "0.4.9" @@ -4077,9 +4099,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "stacker" -version = "0.1.18" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d08feb8f695b465baed819b03c128dc23f57a694510ab1f06c77f763975685e" +checksum = "799c883d55abdb5e98af1a7b3f23b9b6de8ecada0ecac058672d7635eb48ca7b" dependencies = [ "cc", "cfg-if", @@ -4096,7 +4118,7 @@ checksum = "710e9696ef338691287aeb937ee6ffe60022f579d3c8d2fd9d58973a9a10a466" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -4114,7 +4136,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -4158,14 +4180,14 @@ dependencies = [ "base64 0.21.7", "dashmap", "either", - "indexmap 2.7.1", + "indexmap 2.7.0", "jsonc-parser", "lru", "once_cell", "parking_lot", "pathdiff", "regex", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "serde_json", "sourcemap", @@ -4207,7 +4229,7 @@ dependencies = [ "bumpalo", "hashbrown 0.14.5", "ptr_meta 0.3.0", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "triomphe", ] @@ -4219,7 +4241,7 @@ checksum = "c24077f986f0bc1c07823f850f688dd9be91b186efdb03fe1d52f7c2f2a4a346" dependencies = [ "hstr", "once_cell", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", ] @@ -4233,15 +4255,15 @@ dependencies = [ "dashmap", "once_cell", "regex", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", ] [[package]] name = "swc_common" -version = "6.1.0" +version = "6.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4247defb6017aa8799c43e03da35a5ef7ce737189001392083619711c6d4811e" +checksum = "7327d132e85f8a50e0a9e2458a7b44726b2db2f7f9c8b8a556f07f359c42a461" dependencies = [ "ast_node", "better_scoped_tls", @@ -4252,9 +4274,9 @@ dependencies = [ "num-bigint", "once_cell", "parking_lot", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", - "siphasher 0.3.11", + "siphasher", "sourcemap", "swc_allocator", "swc_atoms", @@ -4275,7 +4297,7 @@ dependencies = [ "base64 0.21.7", "once_cell", "pathdiff", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "serde_json", "sourcemap", @@ -4298,7 +4320,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb63364aebd1a8490a80fa8933825c6916d4df55d5472312d5adb62c9fb4e4ba" dependencies = [ "anyhow", - "indexmap 2.7.1", + "indexmap 2.7.0", "serde", "serde_json", "sourcemap", @@ -4315,7 +4337,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -4324,7 +4346,7 @@ version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbd513dab5fb1181e66ac34c4c959e9e8824d8d2c8bd50f698f5f2943794c0cc" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.6.0", "is-macro", "num-bigint", "phf", @@ -4339,16 +4361,17 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b342d4f7b09d2bc669c92e53748bc3db134ecb2473e4f16bc3eec6ec473ba49a" +checksum = "fa6bdce26d910981128bc709a997292a5d1c98d54a9832154a1083d1adb6fdd7" dependencies = [ "ascii", + "compact_str", "memchr", "num-bigint", "once_cell", "regex", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "sourcemap", "swc_allocator", @@ -4368,7 +4391,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -4377,7 +4400,7 @@ version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08d54d4480e63535bf8aa2f56e5e43e682e02c703d2dd419aefca20c991c167" dependencies = [ - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "swc_atoms", "swc_common", "swc_ecma_ast", @@ -4409,9 +4432,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e043d59b56f54f5799e6a04400286804434f39feba82dc7f00fe870d122caa55" dependencies = [ "arrayvec", - "indexmap 2.7.1", + "indexmap 2.7.0", "is-macro", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "serde_derive", "smallvec", @@ -4539,7 +4562,7 @@ version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55de1bcd911804365e7f12d0f32ea38874cee7d8f5c44b17b0d05410094ef214" dependencies = [ - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "swc_atoms", "swc_common", "swc_ecma_ast", @@ -4592,7 +4615,7 @@ dependencies = [ "dashmap", "parking_lot", "regex", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "swc_atoms", "swc_common", @@ -4617,7 +4640,7 @@ dependencies = [ "parking_lot", "path-clean 0.1.0", "pathdiff", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "serde_json", "swc_atoms", @@ -4628,12 +4651,12 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "10.2.0" +version = "10.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da67643e5f58e678f6228e45bddfe7550009972da331bd7927b252796c4aa764" +checksum = "d2e2f07c54b61c282ffc1563e0e7683fc4943ff2021f9026017c2a2fe5ce5f5b" dependencies = [ "arrayvec", - "indexmap 2.7.1", + "indexmap 2.7.0", "num-bigint", "num_cpus", "once_cell", @@ -4641,7 +4664,7 @@ dependencies = [ "phf", "radix_fmt", "regex", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "ryu-js", "serde", "serde_json", @@ -4664,16 +4687,16 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "8.0.1" +version = "8.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a3e9d2f5091bb851423ca66c239802212e2c80451242ff29941bc21058376ef" +checksum = "1a359eaebed82e5e13e1004d1e4003931b66d8b8edab8884f3d02ed827df7530" dependencies = [ "either", "new_debug_unreachable", "num-bigint", "num-traits", "phf", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "smallvec", "smartstring", @@ -4693,11 +4716,11 @@ checksum = "22b32544046c3eb22865e0ca5d01987652bf2792ced0e3c63c108aaa709613b8" dependencies = [ "anyhow", "dashmap", - "indexmap 2.7.1", + "indexmap 2.7.0", "once_cell", "preset_env_base", - "rustc-hash 2.1.1", - "semver 1.0.25", + "rustc-hash 2.1.0", + "semver 1.0.23", "serde", "serde_json", "st-map", @@ -4737,11 +4760,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b696e003dd095ae8b8dba00f601040f756273c9af0fd67cb1c57115785cb5ec" dependencies = [ "better_scoped_tls", - "bitflags 2.8.0", - "indexmap 2.7.1", + "bitflags 2.6.0", + "indexmap 2.7.0", "once_cell", "phf", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "smallvec", "swc_atoms", @@ -4775,7 +4798,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c933a35718a42dde2873120f0f4768d9054125e9c56f7b7223f35efac21bd76" dependencies = [ "arrayvec", - "indexmap 2.7.1", + "indexmap 2.7.0", "is-macro", "num-bigint", "serde", @@ -4813,7 +4836,7 @@ dependencies = [ "proc-macro2", "quote", "swc_macros_common", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -4824,13 +4847,13 @@ checksum = "461ad2212af7c681e46b4beb91ca25b84a29467f327cd0c09e33f5908b73384f" dependencies = [ "Inflector", "anyhow", - "bitflags 2.8.0", - "indexmap 2.7.1", + "bitflags 2.6.0", + "indexmap 2.7.0", "is-macro", "path-clean 1.0.1", "pathdiff", "regex", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "swc_atoms", "swc_cached", @@ -4851,10 +4874,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26d05cd8942bb58b4676d8189e82942504004555957cb87a563bc4938f2440ab" dependencies = [ "dashmap", - "indexmap 2.7.1", + "indexmap 2.7.0", "once_cell", "petgraph", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde_json", "swc_atoms", "swc_common", @@ -4875,7 +4898,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08f82905f3d824bbe0555961df6c0f19807c6460ce49b3ddafec49493dc95b3e" dependencies = [ "either", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "smallvec", "swc_atoms", @@ -4896,9 +4919,9 @@ checksum = "3dee5ef36740d62b3f69c777385067e0fe6e10fd87e4107e5495b74b15e0a0b7" dependencies = [ "base64 0.21.7", "dashmap", - "indexmap 2.7.1", + "indexmap 2.7.0", "once_cell", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "serde", "sha1", "string_enum", @@ -4921,7 +4944,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "693f6e9683ae814930fa17f21b6915c795ab5d1883dd351753a18b689a78492f" dependencies = [ "once_cell", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "ryu-js", "serde", "swc_atoms", @@ -4939,8 +4962,8 @@ version = "10.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c339a654c31223690a0733f268e4ab497ca6d02b4b76aa0dde71ff5ad395d30b" dependencies = [ - "indexmap 2.7.1", - "rustc-hash 2.1.1", + "indexmap 2.7.0", + "rustc-hash 2.1.0", "swc_atoms", "swc_common", "swc_ecma_ast", @@ -4956,10 +4979,10 @@ version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3c217edaa22c98537e09ed3189e723feed3d889eeb7e02a0b3d48cbb91ba7e4" dependencies = [ - "indexmap 2.7.1", + "indexmap 2.7.0", "num_cpus", "once_cell", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "ryu-js", "swc_atoms", "swc_common", @@ -4993,7 +5016,7 @@ checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -5015,9 +5038,9 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebf3efc1b14392006675682cfb8bab282bf88dbdfee65235a81b8a7b30af805" dependencies = [ - "indexmap 2.7.1", + "indexmap 2.7.0", "petgraph", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "swc_common", ] @@ -5029,7 +5052,7 @@ checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -5039,7 +5062,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca0fdc3b404de25c08d5ed201b54db27d39c5f41e0389b6231910c50e76b1682" dependencies = [ "dashmap", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "swc_atoms", "swc_common", ] @@ -5070,18 +5093,18 @@ checksum = "4c78717a841565df57f811376a3d19c9156091c55175e12d378f3a522de70cef" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] name = "swc_transform_common" -version = "1.0.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79319c2165695896119f0cb22847dedfb0bd7f77acd98dbc5bc1f081105db6f3" +checksum = "f23ade45bb0d8b5299022dc0f674c2125512412f5b26f42cfaffa16dcc00d56b" dependencies = [ "better_scoped_tls", "once_cell", - "rustc-hash 2.1.1", + "rustc-hash 1.1.0", "serde", "serde_json", ] @@ -5093,7 +5116,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3fbac6fb2bac25fd3b3aa49ad19001f5e6f7be1b9971dd34f8e7649f939e39c8" dependencies = [ "petgraph", - "rustc-hash 2.1.1", + "rustc-hash 2.1.0", "swc_atoms", "swc_common", "swc_ecma_ast", @@ -5125,9 +5148,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.98" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -5136,16 +5159,22 @@ dependencies = [ [[package]] name = "syn_derive" -version = "0.2.0" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb066a04799e45f5d582e8fc6ec8e6d6896040d00898eb4e6a835196815b219" +checksum = "1329189c02ff984e9736652b1631330da25eaa6bc639089ed4915d25446cbe7b" dependencies = [ - "proc-macro-error2", + "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] +[[package]] +name = "sync_wrapper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" + [[package]] name = "sync_wrapper" version = "1.0.2" @@ -5163,7 +5192,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -5258,11 +5287,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.11" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +checksum = "8fec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47" dependencies = [ - "thiserror-impl 2.0.11", + "thiserror-impl 2.0.6", ] [[package]] @@ -5273,18 +5302,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] name = "thiserror-impl" -version = "2.0.11" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +checksum = "d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -5339,9 +5368,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.8.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "022db8904dfa342efe721985167e9fcd16c29b226db4397ed752a761cfce81e8" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -5354,9 +5383,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.43.0" +version = "1.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" +checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" dependencies = [ "backtrace", "bytes", @@ -5372,13 +5401,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -5409,7 +5438,7 @@ version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd87a5cdd6ffab733b2f74bc4fd7ee5fff6634124999ac278c35fc78c6120148" dependencies = [ - "indexmap 2.7.1", + "indexmap 2.7.0", "serde", "serde_spanned", "toml_datetime", @@ -5431,7 +5460,7 @@ version = "0.22.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" dependencies = [ - "indexmap 2.7.1", + "indexmap 2.7.0", "serde", "serde_spanned", "toml_datetime", @@ -5440,14 +5469,14 @@ dependencies = [ [[package]] name = "tower" -version = "0.5.2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" dependencies = [ "futures-core", "futures-util", "pin-project-lite", - "sync_wrapper", + "sync_wrapper 0.1.2", "tokio", "tower-layer", "tower-service", @@ -5486,7 +5515,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -5576,9 +5605,9 @@ checksum = "2f322b60f6b9736017344fa0635d64be2f458fbc04eef65f6be22976dd1ffd5b" [[package]] name = "unicode-ident" -version = "1.0.16" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-linebreak" @@ -5662,9 +5691,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.13.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced87ca4be083373936a67f8de945faa23b6b42384bd5b64434850802c6dccd0" +checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" [[package]] name = "vcpkg" @@ -5696,9 +5725,9 @@ dependencies = [ [[package]] name = "walrus" -version = "0.23.3" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6481311b98508f4bc2d0abbfa5d42172e7a54b4b24d8f15e28b0dc650be0c59f" +checksum = "031bc51853697a6a01731f1c2d6d56989c3a742d63316f59918c90b709a6edd9" dependencies = [ "anyhow", "gimli 0.26.2", @@ -5720,7 +5749,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -5760,7 +5789,7 @@ dependencies = [ "log", "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", "wasm-bindgen-shared", ] @@ -5828,7 +5857,7 @@ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -5945,10 +5974,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5309c1090e3e84dad0d382f42064e9933fdaedb87e468cc239f0eabea73ddcb6" dependencies = [ "ahash 0.8.11", - "bitflags 2.8.0", + "bitflags 2.6.0", "hashbrown 0.14.5", - "indexmap 2.7.1", - "semver 1.0.25", + "indexmap 2.7.0", + "semver 1.0.23", "serde", ] @@ -5974,21 +6003,21 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.8" +version = "0.26.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2210b291f7ea53617fbafcc4939f10914214ec15aace5ba62293a668f322c5c9" +checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" dependencies = [ "rustls-pki-types", ] [[package]] name = "which" -version = "7.0.2" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2774c861e1f072b3aadc02f8ba886c26ad6321567ecc294c935434cad06f1283" +checksum = "c9cad3279ade7346b96e38731a641d7343dd6a53d55083dd54eadfa5a1b38c6b" dependencies = [ "either", - "env_home", + "home", "rustix", "winsafe", ] @@ -6258,9 +6287,9 @@ dependencies = [ [[package]] name = "xattr" -version = "1.4.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e105d177a3871454f754b33bb0ee637ecaaac997446375fd3e5d43a2ed00c909" +checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" dependencies = [ "libc", "linux-raw-sys", @@ -6293,7 +6322,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", "synstructure", ] @@ -6315,7 +6344,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] @@ -6335,7 +6364,7 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", "synstructure", ] @@ -6364,23 +6393,23 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.98", + "syn 2.0.90", ] [[package]] name = "zip" -version = "2.2.2" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9c1ea7b3a5e1f4b922ff856a129881167511563dc219869afe3787fc0c1a45" +checksum = "99d52293fc86ea7cf13971b3bb81eb21683636e7ae24c729cdaf1b7c4157a352" dependencies = [ "arbitrary", "crc32fast", "crossbeam-utils", "displaydoc", "flate2", - "indexmap 2.7.1", + "indexmap 2.7.0", "memchr", - "thiserror 2.0.11", + "thiserror 2.0.6", "zopfli", ] diff --git a/Cargo.toml b/Cargo.toml index 9d2bfb40..eb702ff5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,6 +97,7 @@ swc_common = "6.0" shlex = "1.3.0" cargo-generate = "0.22" wasm-opt = "0.116.1" +ignore = "0.4.23" [dev-dependencies] insta = { version = "1.40.0", features = ["yaml"] } diff --git a/src/command/watch.rs b/src/command/watch.rs index a074057b..728feef6 100644 --- a/src/command/watch.rs +++ b/src/command/watch.rs @@ -29,11 +29,7 @@ pub async fn watch(proj: &Arc) -> Result<()> { None }; - let _watch = service::notify::spawn(proj).await?; - if let Some(view_macros) = view_macros { - let _patch = service::patch::spawn(proj, &view_macros).await?; - } - + service::notify::spawn(proj, view_macros).await?; service::serve::spawn(proj).await; service::reload::spawn(proj).await; diff --git a/src/service/mod.rs b/src/service/mod.rs index 0ba3806f..17b4539b 100644 --- a/src/service/mod.rs +++ b/src/service/mod.rs @@ -1,5 +1,4 @@ pub mod notify; -pub mod patch; pub mod reload; pub mod serve; pub mod site; diff --git a/src/service/notify.rs b/src/service/notify.rs index 316ba99d..2ab4e0cf 100644 --- a/src/service/notify.rs +++ b/src/service/notify.rs @@ -1,73 +1,50 @@ -use crate::compile::Change; -use crate::config::Project; -use crate::ext::anyhow::{anyhow, Result}; -use crate::ext::Paint; -use crate::signal::Interrupt; use crate::{ - ext::{remove_nested, PathBufExt, PathExt}, + compile::Change, + config::Project, + ext::{ + anyhow::{anyhow, Result}, + PathBufExt, PathExt, + }, logger::GRAY, + signal::{Interrupt, ReloadSignal}, }; use camino::Utf8PathBuf; -use itertools::Itertools; -use notify::event::ModifyKind; -use notify::{Event, EventKind, RecursiveMode, Watcher}; -use std::collections::HashSet; -use std::path::Path; -use std::sync::Arc; -use std::time::Duration; +use ignore::gitignore::Gitignore; +use leptos_hot_reload::ViewMacros; +use notify::{event::ModifyKind, Event, EventKind, RecursiveMode, Watcher}; +use std::{ + path::{Path, PathBuf}, + sync::Arc, + time::Duration, +}; use tokio::task::JoinHandle; pub(crate) const FALLBACK_POLLING_TIMEOUT: Duration = Duration::from_millis(200); -pub async fn spawn(proj: &Arc) -> Result> { - let mut set: HashSet = HashSet::from_iter(vec![]); - - set.extend(proj.lib.src_paths.clone()); - set.extend(proj.bin.src_paths.clone()); - set.extend(proj.watch_additional_files.clone()); - set.insert(proj.js_dir.clone()); - - if let Some(file) = &proj.style.file { - set.insert(file.source.clone().without_last()); - } - - if let Some(tailwind) = &proj.style.tailwind { - if let Some(config_file) = tailwind.config_file.as_ref() { - set.insert(config_file.clone()); - } - set.insert(tailwind.input_file.clone()); - } - - if let Some(assets) = &proj.assets { - set.insert(assets.dir.clone()); - } - - let paths = remove_nested(set.into_iter().filter(|path| Path::new(path).exists())); - - log::info!( - "Notify watching paths {}", - GRAY.paint(paths.iter().join(", ")) - ); +pub async fn spawn(proj: &Arc, view_macros: Option) -> Result> { let proj = proj.clone(); - Ok(tokio::spawn(async move { run(&paths, proj).await })) + Ok(tokio::spawn(async move { run(proj, view_macros).await })) } -async fn run(paths: &[Utf8PathBuf], proj: Arc) { +async fn run(proj: Arc, view_macros: Option) { let (sync_tx, sync_rx) = std::sync::mpsc::channel(); - let proj = proj.clone(); - tokio::task::spawn_blocking(move || { - while let Ok(event) = sync_rx.recv() { - match event { - Ok(event) => handle(event, proj.clone()), - Err(err) => { - log::trace!("Notify error: {err:?}"); - return; + tokio::task::spawn_blocking({ + let proj = proj.clone(); + move || { + let mut gitignore = create_gitignore_instance(&proj); + while let Ok(event) = sync_rx.recv() { + match event { + Ok(event) => handle(event, proj.clone(), &view_macros, &mut gitignore), + Err(err) => { + log::trace!("Notify error: {err:?}"); + return; + } } } + log::debug!("Notify stopped"); } - log::debug!("Notify stopped"); }); let mut watcher = notify::RecommendedWatcher::new( @@ -76,9 +53,12 @@ async fn run(paths: &[Utf8PathBuf], proj: Arc) { ) .expect("failed to build file system watcher"); + let mut paths = proj.watch_additional_files.clone(); + paths.push(proj.working_dir.clone()); + for path in paths { - if let Err(e) = watcher.watch(Path::new(path), RecursiveMode::Recursive) { - log::error!("Notify could not watch {path:?} due to {e:?}"); + if let Err(e) = watcher.watch(path.as_std_path(), RecursiveMode::Recursive) { + log::error!("Notify could not watch {:?} due to {e:?}", proj.working_dir); } } @@ -87,7 +67,12 @@ async fn run(paths: &[Utf8PathBuf], proj: Arc) { } } -fn handle(event: Event, proj: Arc) { +fn handle( + event: Event, + proj: Arc, + view_macros: &Option, + gitignore: &mut Gitignore, +) { if event.paths.is_empty() { return; } @@ -100,23 +85,23 @@ fn handle(event: Event, proj: Arc) { return; }; - log::trace!("Notify handle {}", GRAY.paint(format!("{:?}", event.paths))); + let paths = ignore_paths(&proj, &event.paths, gitignore); - let paths: Vec<_> = event - .paths - .into_iter() - .filter_map(|p| match convert(&p, &proj) { - Ok(p) => Some(p), - Err(e) => { - log::info!("{e}"); - None - } - }) - .collect(); + if paths.is_empty() { + return; + } let mut changes = Vec::new(); + log::trace!("Notify handle {}", GRAY.paint(format!("{paths:?}"))); + for path in paths { + if path.starts_with(".gitignore") { + *gitignore = create_gitignore_instance(&proj); + log::debug!("Notify .gitignore change {}", GRAY.paint(path.to_string())); + continue; + } + if let Some(assets) = &proj.assets { if path.starts_with(&assets.dir) { log::debug!("Notify asset change {}", GRAY.paint(path.as_str())); @@ -133,7 +118,15 @@ fn handle(event: Event, proj: Arc) { } if path.starts_with_any(&proj.bin.src_paths) && path.is_ext_any(&["rs"]) { - log::debug!("Notify bin source change {}", GRAY.paint(path.as_str())); + if let Some(view_macros) = view_macros { + // Check if it's possible to patch + let patches = view_macros.patch(&path); + if let Ok(Some(patch)) = patches { + log::debug!("Patching view."); + ReloadSignal::send_view_patches(&patch); + } + } + log::debug!("Notify bin source change {}", GRAY.paint(path.to_string())); changes.push(Change::BinSource); } @@ -164,16 +157,58 @@ fn handle(event: Event, proj: Arc) { ); changes.push(Change::Additional); } + } - if !changes.is_empty() { - Interrupt::send(&changes); - } else { - log::trace!( - "Notify changed but not watched: {}", - GRAY.paint(path.as_str()) - ); - } + if !changes.is_empty() { + Interrupt::send(&changes); + } +} + +pub(crate) fn create_gitignore_instance(proj: &Project) -> Gitignore { + log::info!("Creating ignore list from '.gitignore' file"); + + let (gi, err) = Gitignore::new(proj.working_dir.join(".gitignore")); + + if let Some(err) = err { + log::error!("Failed reading '.gitignore' file in the working directory: {err}\nThis causes the watcher to work expensively on file changes like changes in the 'target' path.\nCreate a '.gitignore' file and exclude common build and cache paths like 'target'"); } + + gi +} + +pub(crate) fn ignore_paths( + proj: &Project, + event_paths: &[PathBuf], + gitignore: &Gitignore, +) -> Vec { + event_paths + .iter() + .filter_map(|p| { + let p = match convert(p, proj) { + Ok(p) => p, + Err(e) => { + log::info!("{e}"); + return None; + } + }; + + // Check if the file excluded + let matched = gitignore.matched(p.as_std_path(), p.is_dir()); + if matches!(matched, ignore::Match::Ignore(_)) { + return None; + } + + // Check if the parent directories excluded + let mut parent = p.as_std_path(); + while let Some(par) = parent.parent() { + if matches!(gitignore.matched(par, true), ignore::Match::Ignore(_)) { + return None; + } + parent = par; + } + Some(p) + }) + .collect() } pub(crate) fn convert(p: &Path, proj: &Project) -> Result { diff --git a/src/service/patch.rs b/src/service/patch.rs deleted file mode 100644 index 5918ff7d..00000000 --- a/src/service/patch.rs +++ /dev/null @@ -1,107 +0,0 @@ -use crate::config::Project; -use crate::ext::anyhow::Result; -use crate::ext::{Paint, PathBufExt}; -use crate::signal::{Interrupt, ReloadSignal}; -use crate::{ext::remove_nested, logger::GRAY}; -use camino::Utf8PathBuf; -use itertools::Itertools; -use leptos_hot_reload::ViewMacros; -use notify::event::ModifyKind; -use notify::{Event, EventKind, RecursiveMode, Watcher}; -use std::collections::HashSet; -use std::path::Path; -use std::sync::Arc; -use tokio::task::JoinHandle; - -pub async fn spawn(proj: &Arc, view_macros: &ViewMacros) -> Result> { - let view_macros = view_macros.to_owned(); - let mut set: HashSet = HashSet::from_iter(vec![]); - - set.extend(proj.lib.src_paths.clone()); - - let paths = remove_nested(set.into_iter()); - - log::info!( - "Patch watching folders {}", - GRAY.paint(paths.iter().join(", ")) - ); - let proj = proj.clone(); - - Ok(tokio::spawn( - async move { run(&paths, proj, view_macros).await }, - )) -} - -async fn run(paths: &[Utf8PathBuf], proj: Arc, view_macros: ViewMacros) { - let (sync_tx, sync_rx) = std::sync::mpsc::channel(); - - let proj = proj.clone(); - tokio::task::spawn_blocking(move || { - while let Ok(event) = sync_rx.recv() { - match event { - Ok(event) => handle(event, proj.clone(), view_macros.clone()), - Err(err) => { - log::trace!("Notify error: {err:?}"); - return; - } - } - } - log::debug!("Notify stopped"); - }); - - let mut watcher = notify::RecommendedWatcher::new( - sync_tx, - notify::Config::default().with_poll_interval(super::notify::FALLBACK_POLLING_TIMEOUT), - ) - .expect("failed to build file system watcher"); - - for path in paths { - if let Err(e) = watcher.watch(Path::new(path), RecursiveMode::Recursive) { - log::error!("Notify could not watch {path:?} due to {e:?}"); - } - } - - if let Err(e) = Interrupt::subscribe_shutdown().recv().await { - log::trace!("Notify stopped due to: {e:?}"); - } -} - -fn handle(event: Event, proj: Arc, view_macros: ViewMacros) { - if event.paths.is_empty() { - return; - } - - if let EventKind::Any - | EventKind::Other - | EventKind::Access(_) - | EventKind::Modify(ModifyKind::Any | ModifyKind::Other | ModifyKind::Metadata(_)) = - event.kind - { - return; - }; - - log::trace!("Notify handle {}", GRAY.paint(format!("{:?}", event.paths))); - - let paths: Vec<_> = event - .paths - .into_iter() - .filter_map(|p| match super::notify::convert(&p, &proj) { - Ok(p) => Some(p), - Err(e) => { - log::info!("{e}"); - None - } - }) - .collect(); - - for path in paths { - if path.starts_with_any(&proj.lib.src_paths) && path.is_ext_any(&["rs"]) { - // Check if it's possible to patch - let patches = view_macros.patch(&path); - if let Ok(Some(patch)) = patches { - log::debug!("Patching view."); - ReloadSignal::send_view_patches(&patch); - } - } - } -}