diff --git a/Cargo.lock b/Cargo.lock index d23827c..9e14439 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -129,9 +129,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "4.5.2" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" dependencies = [ "clap_builder", "clap_derive", @@ -151,9 +151,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.0" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" dependencies = [ "heck", "proc-macro2", @@ -230,6 +230,26 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "getopts" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5" +dependencies = [ + "unicode-width", +] + +[[package]] +name = "getrandom" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + [[package]] name = "glob" version = "0.3.1" @@ -261,9 +281,9 @@ dependencies = [ [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "indexmap" @@ -342,12 +362,56 @@ version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +[[package]] +name = "phf" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" +dependencies = [ + "phf_shared", +] + +[[package]] +name = "phf_codegen" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" +dependencies = [ + "phf_generator", + "phf_shared", +] + +[[package]] +name = "phf_generator" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" +dependencies = [ + "phf_shared", + "rand", +] + +[[package]] +name = "phf_shared" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" +dependencies = [ + "siphasher", +] + [[package]] name = "pin-project-lite" version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + [[package]] name = "proc-macro2" version = "1.0.79" @@ -366,6 +430,36 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom", +] + [[package]] name = "redox_syscall" version = "0.4.1" @@ -413,7 +507,7 @@ checksum = "e898588f33fdd5b9420719948f9f2a32c922a246964576f71ba7f24f80610fbc" [[package]] name = "ruff_cache" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "filetime", "glob", @@ -463,7 +557,7 @@ dependencies = [ [[package]] name = "ruff_formatter" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "drop_bomb", "ruff_cache", @@ -479,7 +573,7 @@ dependencies = [ [[package]] name = "ruff_macros" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "itertools", "proc-macro2", @@ -491,7 +585,7 @@ dependencies = [ [[package]] name = "ruff_python_ast" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "aho-corasick", "bitflags 2.4.2", @@ -508,10 +602,9 @@ dependencies = [ [[package]] name = "ruff_python_formatter" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "anyhow", - "bitflags 2.4.2", "clap", "countme", "itertools", @@ -539,7 +632,7 @@ dependencies = [ [[package]] name = "ruff_python_index" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "ruff_python_ast", "ruff_python_parser", @@ -551,7 +644,7 @@ dependencies = [ [[package]] name = "ruff_python_parser" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "anyhow", "bitflags 2.4.2", @@ -566,13 +659,14 @@ dependencies = [ "static_assertions", "tiny-keccak", "unicode-ident", - "unicode_names2", + "unicode-normalization", + "unicode_names2 1.2.2", ] [[package]] name = "ruff_python_trivia" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "itertools", "ruff_source_file", @@ -583,7 +677,7 @@ dependencies = [ [[package]] name = "ruff_source_file" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "memchr", "once_cell", @@ -594,7 +688,7 @@ dependencies = [ [[package]] name = "ruff_text_size" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.2#a892fc755d6d4342c2f5a768aa50a401d704ae2c" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "serde", ] @@ -660,6 +754,12 @@ dependencies = [ "serde", ] +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + [[package]] name = "smallvec" version = "1.13.1" @@ -734,6 +834,21 @@ dependencies = [ "crunchy", ] +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + [[package]] name = "tracing" version = "0.1.40" @@ -771,6 +886,15 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +[[package]] +name = "unicode-normalization" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +dependencies = [ + "tinyvec", +] + [[package]] name = "unicode-width" version = "0.1.11" @@ -781,6 +905,28 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" name = "unicode_names2" version = "1.2.1" +[[package]] +name = "unicode_names2" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "addeebf294df7922a1164f729fb27ebbbcea99cc32b3bf08afab62757f707677" +dependencies = [ + "phf", + "unicode_names2_generator", +] + +[[package]] +name = "unicode_names2_generator" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f444b8bba042fe3c1251ffaca35c603f2dc2ccc08d595c65a8c4f76f3e8426c0" +dependencies = [ + "getopts", + "log", + "phf_codegen", + "rand", +] + [[package]] name = "utf8parse" version = "0.2.1" @@ -793,6 +939,12 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + [[package]] name = "wasm-bindgen" version = "0.2.92" diff --git a/Cargo.toml b/Cargo.toml index 1a45ceb..d4a6865 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,8 +17,8 @@ resolver = "2" [workspace.dependencies] ruff_fmt_config = { path = "crates/ruff_fmt_config" } - ruff_formatter = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.3.2" } - ruff_python_formatter = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.3.2" } + ruff_formatter = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.3.4" } + ruff_python_formatter = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.3.4" } serde = { version = "1.0" } serde_json = { version = "1.0" } wasm-bindgen = "0.2.92"