From ecdbfab467d6037f796c649e7616aee4a6a16c5a Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 17 Mar 2026 15:16:26 -0500 Subject: [PATCH] chore: Update dependencies --- Cargo.lock | 93 +++++++++++++++++--------------- crates/codespell-dict/Cargo.toml | 2 +- crates/misspell-dict/Cargo.toml | 2 +- crates/typos-cli/Cargo.toml | 14 ++--- crates/typos-dict/Cargo.toml | 2 +- crates/typos-vars/Cargo.toml | 2 +- crates/typos/Cargo.toml | 4 +- crates/typos/src/tokens.rs | 16 +++--- crates/varcon-core/Cargo.toml | 4 +- crates/varcon/Cargo.toml | 2 +- crates/wikipedia-dict/Cargo.toml | 2 +- 11 files changed, 77 insertions(+), 66 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4a0d8560..7db50b59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -51,9 +51,9 @@ dependencies = [ [[package]] name = "annotate-snippets" -version = "0.12.12" +version = "0.12.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86cd1c51b95d71dde52bca69ed225008f6ff4c8cc825b08042aa1ef823e1980" +checksum = "74fc7650eedcb2fee505aad48491529e408f0e854c2d9f63eb86c1361b9b3f93" dependencies = [ "anstyle", "memchr", @@ -92,9 +92,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" [[package]] name = "anstyle-parse" @@ -206,9 +206,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "clap" -version = "4.5.60" +version = "4.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2797f34da339ce31042b27d23607e051786132987f595b02ba4f6a6dffb7030a" +checksum = "b193af5b67834b676abd72466a96c1024e6a6ad978a1f484bd90b85c94041351" dependencies = [ "clap_builder", "clap_derive", @@ -236,11 +236,11 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.60" +version = "4.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24a241312cea5059b13574bb9b3861cabf758b879c15190b37b6d6fd63ab6876" +checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" dependencies = [ - "anstream 0.6.21", + "anstream 1.0.0", "anstyle", "clap_lex", "strsim", @@ -249,9 +249,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.55" +version = "4.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5" +checksum = "1110bd8a634a1ab8cb04345d8d878267d57c3cf1b38d91b71af6686408bbca6a" dependencies = [ "heck", "proc-macro2", @@ -294,9 +294,9 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "colorchoice-clap" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ff31f4fe290e780fe3bbec6b2eb9dbfdccd1630e79a104c221d99243de81493" +checksum = "cb349f1be51d537c77d89ba5d1ba4344385175446eb01dacde8e1eace4094226" dependencies = [ "clap", "colorchoice", @@ -814,9 +814,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" -version = "0.2.182" +version = "0.2.183" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" +checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d" [[package]] name = "libredox" @@ -920,9 +920,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.21.3" +version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" [[package]] name = "once_cell_polyfill" @@ -1055,9 +1055,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.44" +version = "1.0.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" dependencies = [ "proc-macro2", ] @@ -1380,9 +1380,9 @@ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" [[package]] name = "snapbox" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f78b4289d8cf6ba326f76a6ec65d13f353a7e9ad3d2c497b086b0b8a7266a7" +checksum = "b7a2e43da79cf7c50d938bd15e4b17e7fc450113e5ace6e6e9acfe022facbf8d" dependencies = [ "anstream 1.0.0", "anstyle", @@ -1485,9 +1485,9 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.26.0" +version = "3.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82a72c767771b47409d2345987fda8628641887d5466101319899796367354a0" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", "getrandom 0.3.4", @@ -1555,17 +1555,17 @@ dependencies = [ [[package]] name = "toml" -version = "1.0.3+spec-1.1.0" +version = "1.0.7+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7614eaf19ad818347db24addfa201729cf2a9b6fdfd9eb0ab870fcacc606c0c" +checksum = "dd28d57d8a6f6e458bc0b8784f8fdcc4b99a437936056fa122cb234f18656a96" dependencies = [ "indexmap", "serde_core", "serde_spanned", - "toml_datetime 1.0.0+spec-1.1.0", + "toml_datetime 1.0.1+spec-1.1.0", "toml_parser", "toml_writer", - "winnow", + "winnow 1.0.0", ] [[package]] @@ -1579,9 +1579,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "1.0.0+spec-1.1.0" +version = "1.0.1+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32c2555c699578a4f59f0cc68e5116c8d7cabbd45e1409b989d4be085b53f13e" +checksum = "9b320e741db58cac564e26c607d3cc1fdc4a88fd36c879568c07856ed83ff3e9" dependencies = [ "serde_core", ] @@ -1598,29 +1598,29 @@ dependencies = [ "toml_datetime 0.7.5+spec-1.1.0", "toml_parser", "toml_writer", - "winnow", + "winnow 0.7.15", ] [[package]] name = "toml_parser" -version = "1.0.9+spec-1.1.0" +version = "1.0.10+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702d4415e08923e7e1ef96cd5727c0dfed80b4d2fa25db9647fe5eb6f7c5a4c4" +checksum = "7df25b4befd31c4816df190124375d5a20c6b6921e2cad937316de3fccd63420" dependencies = [ - "winnow", + "winnow 1.0.0", ] [[package]] name = "toml_writer" -version = "1.0.6+spec-1.1.0" +version = "1.0.7+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab16f14aed21ee8bfd8ec22513f7287cd4a91aa92e44edfe2c17ddd004e92607" +checksum = "f17aaa1c6e3dc22b1da4b6bba97d066e354c7945cac2f7852d4e4e7ca7a6b56d" [[package]] name = "trycmd" -version = "1.0.1" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd9e82c21f778ad3f9cd7d5729ef739caabacca790df693578da9df113a79abd" +checksum = "738e7ec9aa3a7f8bc0e229dc6fe490060a350570b68a1bf82a74d7ae04d2a93d" dependencies = [ "anstream 1.0.0", "automod", @@ -1670,7 +1670,7 @@ dependencies = [ "simdutf8", "snapbox", "unicode-ident", - "winnow", + "winnow 1.0.0", ] [[package]] @@ -1713,7 +1713,7 @@ dependencies = [ "supports-unicode", "terminal_size", "thread_local", - "toml 1.0.3+spec-1.1.0", + "toml 1.0.7+spec-1.1.0", "trycmd", "typed-arena", "typos", @@ -1824,7 +1824,7 @@ version = "5.0.6" dependencies = [ "enumflags2", "snapbox", - "winnow", + "winnow 1.0.0", ] [[package]] @@ -2146,9 +2146,18 @@ checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winnow" -version = "0.7.14" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a90e88e4667264a994d34e6d1ab2d26d398dcdca8b7f52bec8668957517fc7d8" dependencies = [ "memchr", ] diff --git a/crates/codespell-dict/Cargo.toml b/crates/codespell-dict/Cargo.toml index 291c493a..17e47556 100644 --- a/crates/codespell-dict/Cargo.toml +++ b/crates/codespell-dict/Cargo.toml @@ -21,7 +21,7 @@ dictgen = { version = "^0.5", path = "../dictgen" } [dev-dependencies] codegenrs = "3.0" dictgen = { version = "^0.5", path = "../dictgen", features = ["codegen"] } -snapbox = "1.0.1" +snapbox = "1.1.0" typos = { path = "../typos" } [lints] diff --git a/crates/misspell-dict/Cargo.toml b/crates/misspell-dict/Cargo.toml index 20db793c..010955b2 100644 --- a/crates/misspell-dict/Cargo.toml +++ b/crates/misspell-dict/Cargo.toml @@ -20,7 +20,7 @@ dictgen = { version = "^0.5", path = "../dictgen" } codegenrs = "3.0" regex = "1" dictgen = { version = "^0.5", path = "../dictgen", features = ["codegen"] } -snapbox = "1.0.1" +snapbox = "1.1.0" serde_json = "1.0.149" typos = { path = "../typos" } diff --git a/crates/typos-cli/Cargo.toml b/crates/typos-cli/Cargo.toml index 25fc723e..41ecc6c3 100644 --- a/crates/typos-cli/Cargo.toml +++ b/crates/typos-cli/Cargo.toml @@ -47,12 +47,12 @@ typos-dict = { version = "^0.13", path = "../typos-dict", optional = true } typos-vars = { version = "^0.10", path = "../typos-vars", optional = true } unicase = "2.9.0" anyhow = "1.0" -clap = { version = "4.5.60", features = ["derive"] } +clap = { version = "4.6.0", features = ["derive"] } clap-cargo = "0.18.3" clap-verbosity-flag = "3.0" ignore = "0.4" serde = { version = "1.0", features = ["derive"] } -toml = "1.0.3" +toml = "1.0.7" log = "0.4" env_logger = { version = "0.11", default-features = false, features = ["auto-color"] } bstr = "1.12" @@ -69,15 +69,15 @@ kstring = { version = "2.0.2", features = ["serde"] } typed-arena = "2.0.2" thread_local = "1.1.9" globset = "0.4.18" -anstyle = "1.0.13" +anstyle = "1.0.14" anstream = "1.0.0" -colorchoice-clap = "1.0.7" +colorchoice-clap = "1.0.8" serde_regex = "1.1.0" regex = "1.12.3" encoding_rs = "0.8.35" serde-sarif = "0.8.0" schemars = { version = "1.2.1", features = ["preserve_order","semver1"], optional = true } -annotate-snippets = "0.12.12" +annotate-snippets = "0.12.13" terminal_size = "0.4.3" supports-unicode = "3.0.0" @@ -85,8 +85,8 @@ supports-unicode = "3.0.0" assert_fs = "1.1" divan = "0.1.21" maplit = "1.0" -snapbox = { version = "1.0.1", features = ["json"] } -trycmd = "1.0.1" +snapbox = { version = "1.1.0", features = ["json"] } +trycmd = "1.1.1" [[bench]] name = "check_file" diff --git a/crates/typos-dict/Cargo.toml b/crates/typos-dict/Cargo.toml index ffac9f87..524dc9f6 100644 --- a/crates/typos-dict/Cargo.toml +++ b/crates/typos-dict/Cargo.toml @@ -27,7 +27,7 @@ unicase = "2.9.0" codegenrs = "3.0" dictgen = { version = "^0.5", path = "../dictgen", features = ["codegen", "map", "aho-corasick"] } varcon = { version = "^1.0", path = "../varcon" } -snapbox = "1.0.1" +snapbox = "1.1.0" indexmap = "2.13.0" divan = "0.1.21" heck = "0.5.0" diff --git a/crates/typos-vars/Cargo.toml b/crates/typos-vars/Cargo.toml index 20705843..3878f817 100644 --- a/crates/typos-vars/Cargo.toml +++ b/crates/typos-vars/Cargo.toml @@ -26,7 +26,7 @@ typos = { version = "^0.10", path = "../typos" } codegenrs = "3.0" itertools = "0.14" dictgen = { version = "^0.5", path = "../dictgen", features = ["codegen"] } -snapbox = "1.0.1" +snapbox = "1.1.0" [lints] workspace = true diff --git a/crates/typos/Cargo.toml b/crates/typos/Cargo.toml index 76a451dc..784512a3 100644 --- a/crates/typos/Cargo.toml +++ b/crates/typos/Cargo.toml @@ -16,7 +16,7 @@ all-features = true rustdoc-args = ["--generate-link-to-definition"] [dependencies] -winnow = "0.7.14" +winnow = "1.0.0" unicode-ident = "1.0.24" serde = { version = "1.0", features = ["derive"] } simdutf8 = "0.1.5" @@ -27,4 +27,4 @@ bstr = "1.12" workspace = true [dev-dependencies] -snapbox = "1.0.1" +snapbox = "1.1.0" diff --git a/crates/typos/src/tokens.rs b/crates/typos/src/tokens.rs index 1640ecfa..e6793040 100644 --- a/crates/typos/src/tokens.rs +++ b/crates/typos/src/tokens.rs @@ -194,13 +194,15 @@ mod parser { terminated(url_literal, sep1), terminated(jwt, sep1), terminated(base64_literal, sep1), // base64 should be quoted or something - terminated(hash_literal, sep1), - terminated(ordinal_literal, sep1), - terminated(hex_literal, sep1), - terminated(dec_literal, sep1), // Allow digit-prefixed words - terminated(css_color, sep1), - terminated(c_escape, sep1), - terminated(printf, sep1), + alt(( + terminated(hash_literal, sep1), + terminated(ordinal_literal, sep1), + terminated(hex_literal, sep1), + terminated(dec_literal, sep1), // Allow digit-prefixed words + terminated(css_color, sep1), + terminated(c_escape, sep1), + terminated(printf, sep1), + )), other, ))), ) diff --git a/crates/varcon-core/Cargo.toml b/crates/varcon-core/Cargo.toml index 233b0d9e..19ebb109 100644 --- a/crates/varcon-core/Cargo.toml +++ b/crates/varcon-core/Cargo.toml @@ -20,11 +20,11 @@ parser = ["dep:winnow"] flags = ["dep:enumflags2"] [dependencies] -winnow = { version = "0.7.14", optional = true } +winnow = { version = "1.0.0", optional = true } enumflags2 = { version = "0.7", optional = true } [lints] workspace = true [dev-dependencies] -snapbox = "1.0.1" +snapbox = "1.1.0" diff --git a/crates/varcon/Cargo.toml b/crates/varcon/Cargo.toml index 69666937..ed69e33f 100644 --- a/crates/varcon/Cargo.toml +++ b/crates/varcon/Cargo.toml @@ -26,7 +26,7 @@ varcon-core = { version = "^5.0", path = "../varcon-core" } [dev-dependencies] codegenrs = "3.0" varcon-core = { version = "^5.0", path = "../varcon-core", features = ["parser"] } -snapbox = "1.0.1" +snapbox = "1.1.0" [lints] workspace = true diff --git a/crates/wikipedia-dict/Cargo.toml b/crates/wikipedia-dict/Cargo.toml index 92301dad..69c67e9d 100644 --- a/crates/wikipedia-dict/Cargo.toml +++ b/crates/wikipedia-dict/Cargo.toml @@ -20,7 +20,7 @@ dictgen = { version = "^0.5", path = "../dictgen" } [dev-dependencies] codegenrs = "3.0" dictgen = { version = "^0.5", path = "../dictgen", features = ["codegen"] } -snapbox = "1.0.1" +snapbox = "1.1.0" [lints] workspace = true