diff --git a/Cargo.lock b/Cargo.lock index cc8e26e..bb0a40a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,18 +31,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "0.7.19" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e" -dependencies = [ - "memchr", -] - -[[package]] -name = "aho-corasick" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" +checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783" dependencies = [ "memchr", ] @@ -62,17 +53,31 @@ dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", - "anstyle-wincon", + "anstyle-wincon 1.0.1", "colorchoice", "is-terminal", "utf8parse", ] [[package]] -name = "anstyle" -version = "1.0.0" +name = "anstream" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d" +checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon 2.1.0", + "colorchoice", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" [[package]] name = "anstyle-parse" @@ -102,6 +107,16 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "anstyle-wincon" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" +dependencies = [ + "anstyle", + "windows-sys 0.48.0", +] + [[package]] name = "anyhow" version = "1.0.66" @@ -162,12 +177,11 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bstr" -version = "1.5.0" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" +checksum = "4c2f7349907b712260e64b0afe2f84692af14a454be26187d9df565c7f69266a" dependencies = [ "memchr", - "once_cell", "regex-automata", "serde", ] @@ -242,13 +256,12 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.0" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93aae7a4192245f70fe75dd9157fc7b4a5bf53e88d30bd4396f7d8f9284d5acc" +checksum = "6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6" dependencies = [ "clap_builder", - "clap_derive 4.3.0", - "once_cell", + "clap_derive 4.4.2", ] [[package]] @@ -257,19 +270,18 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23e2b6c3dcdb73299f48ae05b294da14e2f560b3ed2c09e742269eb1b22af231" dependencies = [ - "clap 4.3.0", + "clap 4.4.2", "log", ] [[package]] name = "clap_builder" -version = "4.3.0" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f423e341edefb78c9caba2d9c7f7687d0e72e89df3ce3394554754393ac3990" +checksum = "2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08" dependencies = [ - "anstream", + "anstream 0.5.0", "anstyle", - "bitflags", "clap_lex 0.5.0", "strsim 0.10.0", ] @@ -289,9 +301,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.3.0" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "191d9573962933b4027f932c600cd252ce27a8ad5979418fe78e43c07996f27b" +checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" dependencies = [ "heck", "proc-macro2", @@ -346,11 +358,11 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "colorchoice-clap" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "412e88a3a3a3f52e436909b49beb467a05649e8b0dda0e6202bd05c1b63dbc49" +checksum = "6afb91776a1ed84bebf6f3d13948c262e5d2694d4a689cd48808ccf84f25b251" dependencies = [ - "clap 4.3.0", + "clap 4.4.2", "colorchoice", ] @@ -378,7 +390,7 @@ dependencies = [ "anes", "cast", "ciborium", - "clap 4.3.0", + "clap 4.4.2", "criterion-plot", "is-terminal", "itertools", @@ -577,9 +589,9 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "encoding_rs" -version = "0.8.32" +version = "0.8.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" dependencies = [ "cfg-if", ] @@ -705,11 +717,11 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.10" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" +checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" dependencies = [ - "aho-corasick 0.7.19", + "aho-corasick", "bstr", "fnv", "log", @@ -777,11 +789,11 @@ checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" [[package]] name = "human-panic" -version = "1.1.4" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c16465f6227e18e5a64eba488245d7b2974d4db0c4404ca5a69b550defa18d0a" +checksum = "eb2df2fb4e13fa697d21d93061ebcbbd876f5ef643b48ff59cfab57a726ef140" dependencies = [ - "anstream", + "anstream 0.5.0", "anstyle", "backtrace", "os_info", @@ -957,9 +969,9 @@ checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" [[package]] name = "memchr" -version = "2.5.0" +version = "2.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "5486aed0026218e61b8a01d5fbd5a0a134649abb71a0e53b7bc088529dced86e" [[package]] name = "memoffset" @@ -1027,9 +1039,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.2" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "oorandom" @@ -1269,26 +1281,32 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.3" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" +checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29" dependencies = [ - "aho-corasick 1.0.1", + "aho-corasick", "memchr", + "regex-automata", "regex-syntax", ] [[package]] name = "regex-automata" -version = "0.1.10" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] [[package]] name = "regex-syntax" -version = "0.7.2" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "rustc-demangle" @@ -1403,9 +1421,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d" +checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" dependencies = [ "serde", ] @@ -1436,11 +1454,11 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "snapbox" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6bccd62078347f89a914e3004d94582e13824d4e3d8a816317862884c423835" +checksum = "ad90eb3a2e3a8031d636d45bd4832751aefd58a291b553f7305a2bacae21aff3" dependencies = [ - "anstream", + "anstream 0.5.0", "anstyle", "content_inspector", "dunce", @@ -1453,16 +1471,16 @@ dependencies = [ "tempfile", "wait-timeout", "walkdir", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] name = "snapbox-macros" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaaf09df9f0eeae82be96290918520214530e738a7fe5a351b0f24cf77c0ca31" +checksum = "95f4ffd811b87da98d0e48285134b7847954bd76e843bb794a893b47ca3ee325" dependencies = [ - "anstream", + "anstream 0.5.0", ] [[package]] @@ -1581,9 +1599,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec" +checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" dependencies = [ "serde", "serde_spanned", @@ -1593,31 +1611,31 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.10" +version = "0.19.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" +checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" dependencies = [ - "indexmap 1.9.2", + "indexmap 2.0.0", "serde", "serde_spanned", "toml_datetime", - "winnow 0.4.9", + "winnow", ] [[package]] name = "trycmd" -version = "0.14.16" +version = "0.14.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2925e71868a12b173c1eb166018c2d2f9dfaedfcaec747bdb6ea2246785d258e" +checksum = "bc6a42f89ccf3c6ee115608a68e256c172734d525a4ac36d4a17a6d4a8108149" dependencies = [ "glob", "humantime", @@ -1648,7 +1666,7 @@ dependencies = [ "thiserror", "unicode-segmentation", "unicode-xid", - "winnow 0.5.0", + "winnow", ] [[package]] @@ -1656,13 +1674,13 @@ name = "typos-cli" version = "1.16.9" dependencies = [ "ahash", - "anstream", + "anstream 0.3.2", "anstyle", "anyhow", "assert_fs", "atty", "bstr", - "clap 4.3.0", + "clap 4.4.2", "clap-verbosity-flag", "colorchoice-clap", "content_inspector", @@ -1772,9 +1790,9 @@ dependencies = [ [[package]] name = "unicase" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" +checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" dependencies = [ "version_check", ] @@ -1832,7 +1850,7 @@ name = "varcon-core" version = "4.0.0" dependencies = [ "enumflags2", - "winnow 0.5.0", + "winnow", ] [[package]] @@ -2122,18 +2140,9 @@ checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] name = "winnow" -version = "0.4.9" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81a2094c43cc94775293eaa0e499fbc30048a6d824ac82c0351a8c0bf9112529" -dependencies = [ - "memchr", -] - -[[package]] -name = "winnow" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fac9742fd1ad1bd9643b991319f72dd031016d44b77039a26977eb667141e7" +checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" dependencies = [ "memchr", ] diff --git a/crates/codespell-dict/Cargo.toml b/crates/codespell-dict/Cargo.toml index 2c9c999..d87a037 100644 --- a/crates/codespell-dict/Cargo.toml +++ b/crates/codespell-dict/Cargo.toml @@ -16,13 +16,13 @@ include.workspace = true release = false [dependencies] -unicase = "2.6" +unicase = "2.7" dictgen = { version = "^0.2", path = "../dictgen" } [dev-dependencies] -unicase = "2.6" +unicase = "2.7" itertools = "0.10" codegenrs = "2.0" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } -snapbox = { version = "0.4.11", features = ["path"] } +snapbox = { version = "0.4.12", features = ["path"] } typos = { path = "../typos" } diff --git a/crates/dictgen/Cargo.toml b/crates/dictgen/Cargo.toml index 1343b4d..a6e312c 100644 --- a/crates/dictgen/Cargo.toml +++ b/crates/dictgen/Cargo.toml @@ -17,7 +17,7 @@ codegen = ["std", "dep:phf_codegen"] map = ["dep:phf", "dep:phf_shared"] [dependencies] -unicase = "2.6" +unicase = "2.7" phf = { version = "0.11", features = ["unicase"], optional = true } phf_codegen = { version = "0.11", optional = true } phf_shared = { version = "0.11", optional = true } diff --git a/crates/misspell-dict/Cargo.toml b/crates/misspell-dict/Cargo.toml index a0402c9..ce4b9e2 100644 --- a/crates/misspell-dict/Cargo.toml +++ b/crates/misspell-dict/Cargo.toml @@ -15,13 +15,13 @@ include.workspace = true release = false [dependencies] -unicase = "2.6" +unicase = "2.7" dictgen = { version = "^0.2", path = "../dictgen" } [dev-dependencies] -unicase = "2.6" +unicase = "2.7" itertools = "0.10" codegenrs = "2.0" regex = "1" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } -snapbox = { version = "0.4.11", features = ["path"] } +snapbox = { version = "0.4.12", features = ["path"] } diff --git a/crates/typos-cli/Cargo.toml b/crates/typos-cli/Cargo.toml index ba11b0a..1f92431 100644 --- a/crates/typos-cli/Cargo.toml +++ b/crates/typos-cli/Cargo.toml @@ -43,22 +43,22 @@ typos = { version = "^0.10", path = "../typos" } varcon-core = { version = "^4.0.0", path = "../varcon-core" } typos-dict = { version = "^0.10", path = "../typos-dict", optional = true } typos-vars = { version = "^0.8", path = "../typos-vars", optional = true } -unicase = "2.6" +unicase = "2.7" anyhow = "1.0" -clap = { version = "4.3.0", features = ["derive"] } +clap = { version = "4.4.2", features = ["derive"] } clap-verbosity-flag = "2.0" ignore = "0.4" serde = { version = "1.0", features = ["derive"] } -toml = "0.7.4" +toml = "0.7.6" log = "0.4" env_logger = { version = "0.10", default-features = false, features = ["auto-color"] } atty = "0.2.14" -bstr = "1.5" -once_cell = "1.17.2" +bstr = "1.6" +once_cell = "1.18.0" ahash = "0.8" difflib = "0.4" proc-exit = "2.0" -human-panic = "1.1.4" +human-panic = "1.2.0" content_inspector = "0.2.4" unicode-segmentation = "1.10.1" derive_more = "0.99.17" @@ -71,19 +71,19 @@ maplit = "1.0" unicode-width = "0.1.10" unic-emoji-char = "0.9.0" thread_local = "1.1.7" -globset = "0.4.10" -anstyle = "1.0.0" +globset = "0.4.13" +anstyle = "1.0.2" anstream = "0.3.2" -colorchoice-clap = "1.0.0" +colorchoice-clap = "1.0.2" serde_regex = "1.1.0" -regex = "1.8.3" -encoding_rs = "0.8.32" +regex = "1.9.4" +encoding_rs = "0.8.33" [dev-dependencies] assert_fs = "1.0" -trycmd = "0.14.16" +trycmd = "0.14.17" criterion = "0.5" -snapbox = "0.4.11" +snapbox = "0.4.12" [[bench]] name = "checks" diff --git a/crates/typos-dict/Cargo.toml b/crates/typos-dict/Cargo.toml index 56711dc..f27c70e 100644 --- a/crates/typos-dict/Cargo.toml +++ b/crates/typos-dict/Cargo.toml @@ -12,16 +12,16 @@ rust-version.workspace = true include.workspace = true [dependencies] -unicase = "2.6" +unicase = "2.7" dictgen = { version = "^0.2", path = "../dictgen" } [dev-dependencies] csv = "1.2" itertools = "0.10" edit-distance = "2.1" -unicase = "2.6" +unicase = "2.7" codegenrs = "2.0" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } varcon = { version = "^0.7", path = "../varcon" } -snapbox = { version = "0.4.11", features = ["path"] } +snapbox = { version = "0.4.12", features = ["path"] } indexmap = "2.0.0" diff --git a/crates/typos-vars/Cargo.toml b/crates/typos-vars/Cargo.toml index 6eb1d55..ac03e6b 100644 --- a/crates/typos-vars/Cargo.toml +++ b/crates/typos-vars/Cargo.toml @@ -12,7 +12,7 @@ rust-version.workspace = true include.workspace = true [dependencies] -unicase = "2.6" +unicase = "2.7" dictgen = { version = "^0.2", path = "../dictgen" } varcon-core = { version = "^4.0", path = "../varcon-core", features = ["flags"] } @@ -20,8 +20,8 @@ varcon-core = { version = "^4.0", path = "../varcon-core", features = ["flags"] varcon = { version = "^0.7", path = "../varcon", features = ["flags"] } varcon-core = { version = "^4.0", path = "../varcon-core", features = ["flags"] } typos = { version = "^0.10", path = "../typos" } -unicase = "2.6" +unicase = "2.7" codegenrs = "2.0" itertools = "0.10" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } -snapbox = { version = "0.4.11", features = ["path"] } +snapbox = { version = "0.4.12", features = ["path"] } diff --git a/crates/typos/Cargo.toml b/crates/typos/Cargo.toml index 30fc01b..ff26d16 100644 --- a/crates/typos/Cargo.toml +++ b/crates/typos/Cargo.toml @@ -14,11 +14,11 @@ include.workspace = true [dependencies] anyhow = "1.0" thiserror = "1.0" -winnow = "0.5.0" +winnow = "0.5.15" unicode-xid = "0.2.4" -once_cell = "1.17.2" +once_cell = "1.18.0" serde = { version = "1.0", features = ["derive"] } simdutf8 = "0.1.4" itertools = "0.10" unicode-segmentation = "1.10.1" -bstr = "1.5" +bstr = "1.6" diff --git a/crates/varcon-core/Cargo.toml b/crates/varcon-core/Cargo.toml index be4f5e7..c093de7 100644 --- a/crates/varcon-core/Cargo.toml +++ b/crates/varcon-core/Cargo.toml @@ -16,7 +16,7 @@ parser = ["dep:winnow"] flags = ["dep:enumflags2"] [dependencies] -winnow = { version = "0.5.0", optional = true } +winnow = { version = "0.5.15", optional = true } enumflags2 = { version = "0.7", optional = true } [package.metadata.docs.rs] diff --git a/crates/varcon/Cargo.toml b/crates/varcon/Cargo.toml index 618eb0e..5847c67 100644 --- a/crates/varcon/Cargo.toml +++ b/crates/varcon/Cargo.toml @@ -22,4 +22,4 @@ varcon-core = { version = "^4.0", path = "../varcon-core" } [dev-dependencies] codegenrs = "2.0" varcon-core = { version = "^4.0", path = "../varcon-core", features = ["parser"] } -snapbox = { version = "0.4.11", features = ["path"] } +snapbox = { version = "0.4.12", features = ["path"] } diff --git a/crates/wikipedia-dict/Cargo.toml b/crates/wikipedia-dict/Cargo.toml index ecd618c..9857990 100644 --- a/crates/wikipedia-dict/Cargo.toml +++ b/crates/wikipedia-dict/Cargo.toml @@ -16,12 +16,12 @@ include.workspace = true release = false [dependencies] -unicase = "2.6" +unicase = "2.7" dictgen = { version = "^0.2", path = "../dictgen" } [dev-dependencies] -unicase = "2.6" +unicase = "2.7" itertools = "0.10" codegenrs = "2.0" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } -snapbox = { version = "0.4.11", features = ["path"] } +snapbox = { version = "0.4.12", features = ["path"] }