diff --git a/Cargo.lock b/Cargo.lock index a7b72d9..4ae1f4a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -70,7 +70,7 @@ version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ - "hermit-abi", + "hermit-abi 0.1.19", "libc", "winapi", ] @@ -202,14 +202,14 @@ dependencies = [ [[package]] name = "clap" -version = "4.0.18" +version = "4.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "335867764ed2de42325fafe6d18b8af74ba97ee0c590fa016f157535b42ab04b" +checksum = "4d63b9e9c07271b9957ad22c173bae2a4d9a81127680962039296abcd2f8251d" dependencies = [ - "atty", "bitflags", - "clap_derive 4.0.18", + "clap_derive 4.0.21", "clap_lex 0.3.0", + "is-terminal", "once_cell", "strsim 0.10.0", "termcolor", @@ -221,7 +221,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23e2b6c3dcdb73299f48ae05b294da14e2f560b3ed2c09e742269eb1b22af231" dependencies = [ - "clap 4.0.18", + "clap 4.0.29", "log", ] @@ -240,9 +240,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.0.18" +version = "4.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16a1b0f6422af32d5da0c58e2703320f379216ee70198241c84173a8c5ac28f3" +checksum = "0177313f9f02afc995627906bbd8967e2be069f5261954222dac78290c2b9014" dependencies = [ "heck", "proc-macro-error", @@ -302,17 +302,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "concolor" -version = "0.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "015267563b1df20adccdd00cb05257b1dfbea70a04928e9cf88ffb850c1a40af" -dependencies = [ - "atty", - "bitflags", - "concolor-query 0.0.5", -] - [[package]] name = "concolor" version = "0.0.9" @@ -321,7 +310,18 @@ checksum = "b90f9dcd9490a97db91a85ccd79e38a87e14323f0bb824659ee3274e9143ba37" dependencies = [ "atty", "bitflags", - "concolor-query 0.1.0", + "concolor-query", +] + +[[package]] +name = "concolor" +version = "0.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "318d6c16e73b3a900eb212ad6a82fc7d298c5ab8184c7a9998646455bc474a16" +dependencies = [ + "bitflags", + "concolor-query", + "is-terminal", ] [[package]] @@ -330,16 +330,10 @@ version = "0.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a384cbd2fa7c6e31abf8df89a38c977780f684d61dee1e20531e8dd7c8122a8e" dependencies = [ - "clap 4.0.18", + "clap 4.0.29", "concolor 0.0.9", ] -[[package]] -name = "concolor-query" -version = "0.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6417fe6fc03a8b533fd2177742eeb39a90c7233eedec7bac96d4d6b69a09449" - [[package]] name = "concolor-query" version = "0.1.0" @@ -662,6 +656,27 @@ dependencies = [ "termcolor", ] +[[package]] +name = "errno" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" +dependencies = [ + "errno-dragonfly", + "libc", + "winapi", +] + +[[package]] +name = "errno-dragonfly" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +dependencies = [ + "cc", + "libc", +] + [[package]] name = "fastrand" version = "1.8.0" @@ -763,6 +778,15 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" +dependencies = [ + "libc", +] + [[package]] name = "human-panic" version = "1.0.3" @@ -837,6 +861,28 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "io-lifetimes" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "is-terminal" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "927609f78c2913a6f6ac3c27a4fe87f43e2a35367c0c4b0f8265e8f49a104330" +dependencies = [ + "hermit-abi 0.2.6", + "io-lifetimes", + "rustix", + "windows-sys", +] + [[package]] name = "itertools" version = "0.10.5" @@ -889,6 +935,12 @@ version = "0.2.137" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" +[[package]] +name = "linux-raw-sys" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f9f08d8963a6c613f4b1a78f4f4a4dbfadf8e6545b2d72861731e4858b8b47f" + [[package]] name = "log" version = "0.4.17" @@ -977,7 +1029,7 @@ version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" dependencies = [ - "hermit-abi", + "hermit-abi 0.1.19", "libc", ] @@ -1279,6 +1331,20 @@ dependencies = [ "semver", ] +[[package]] +name = "rustix" +version = "0.36.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb93e85278e08bb5788653183213d3a60fc242b10cb9be96586f5a73dcb67c23" +dependencies = [ + "bitflags", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys", + "windows-sys", +] + [[package]] name = "ryu" version = "1.0.11" @@ -1363,14 +1429,15 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "snapbox" -version = "0.4.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98a96656eecd1621c5830831b48eb6903a9f86aaeb61b9f358a9bd462414ddd" +checksum = "efbd7b250c7243273b5aec4ca366fced84ad716d110bb7baae4814678952ebde" dependencies = [ - "concolor 0.0.8", + "concolor 0.0.11", "content_inspector", "dunce", "filetime", + "libc", "normalize-line-endings", "os_pipe", "similar", @@ -1378,6 +1445,7 @@ dependencies = [ "tempfile", "wait-timeout", "walkdir", + "windows-sys", "yansi", ] @@ -1523,9 +1591,9 @@ dependencies = [ [[package]] name = "trycmd" -version = "0.14.1" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ea164949c690a45580a50ebb8b4d5e3f907b134d26009dbe45878225ebb0374" +checksum = "e381af441e13a3635303d26769620a9454aef05ec3303711efc3f1dd785a33af" dependencies = [ "glob", "humantime", @@ -1568,7 +1636,7 @@ dependencies = [ "assert_fs", "atty", "bstr 1.0.1", - "clap 4.0.18", + "clap 4.0.29", "clap-verbosity-flag", "concolor 0.0.9", "concolor-clap", diff --git a/Cargo.toml b/Cargo.toml index 25faea4..1816b7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,7 +65,7 @@ typos-dict = { version = "^0.9", path = "crates/typos-dict", optional = true } typos-vars = { version = "^0.8", path = "crates/typos-vars", optional = true } unicase = "2.6" anyhow = "1.0" -clap = { version = "4.0.18", features = ["derive"] } +clap = { version = "4.0.29", features = ["derive"] } clap-verbosity-flag = "2.0" ignore = "0.4" serde = { version = "1.0", features = ["derive"] } @@ -99,7 +99,7 @@ globset = "0.4.9" [dev-dependencies] assert_fs = "1.0" -trycmd = "0.14.1" +trycmd = "0.14.5" criterion = "0.4" [profile.dev] diff --git a/crates/codespell-dict/Cargo.toml b/crates/codespell-dict/Cargo.toml index 1373835..a6c9f18 100644 --- a/crates/codespell-dict/Cargo.toml +++ b/crates/codespell-dict/Cargo.toml @@ -24,4 +24,4 @@ unicase = "2.6" itertools = "0.10" codegenrs = "2.0" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } -snapbox = { version = "0.4.0", features = ["path"] } +snapbox = { version = "0.4.3", features = ["path"] } diff --git a/crates/misspell-dict/Cargo.toml b/crates/misspell-dict/Cargo.toml index f39262b..c2c9a79 100644 --- a/crates/misspell-dict/Cargo.toml +++ b/crates/misspell-dict/Cargo.toml @@ -24,4 +24,4 @@ itertools = "0.10" codegenrs = "2.0" regex = "1" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } -snapbox = { version = "0.4.0", features = ["path"] } +snapbox = { version = "0.4.3", features = ["path"] } diff --git a/crates/typos-dict/Cargo.toml b/crates/typos-dict/Cargo.toml index 2731549..cf8ca3c 100644 --- a/crates/typos-dict/Cargo.toml +++ b/crates/typos-dict/Cargo.toml @@ -23,4 +23,4 @@ unicase = "2.6" codegenrs = "2.0" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } varcon = { version = "^0.6", path = "../varcon" } -snapbox = { version = "0.4.0", features = ["path"] } +snapbox = { version = "0.4.3", features = ["path"] } diff --git a/crates/typos-vars/Cargo.toml b/crates/typos-vars/Cargo.toml index 690daab..47e6159 100644 --- a/crates/typos-vars/Cargo.toml +++ b/crates/typos-vars/Cargo.toml @@ -24,4 +24,4 @@ unicase = "2.6" codegenrs = "2.0" itertools = "0.10" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } -snapbox = { version = "0.4.0", features = ["path"] } +snapbox = { version = "0.4.3", features = ["path"] } diff --git a/crates/varcon/Cargo.toml b/crates/varcon/Cargo.toml index 299fb92..c2ed464 100644 --- a/crates/varcon/Cargo.toml +++ b/crates/varcon/Cargo.toml @@ -22,4 +22,4 @@ varcon-core = { version = "^2.2", path = "../varcon-core" } [dev-dependencies] codegenrs = "2.0" varcon-core = { version = "^2.2", path = "../varcon-core", features = ["parser"] } -snapbox = { version = "0.4.0", features = ["path"] } +snapbox = { version = "0.4.3", features = ["path"] } diff --git a/crates/wikipedia-dict/Cargo.toml b/crates/wikipedia-dict/Cargo.toml index 37add1f..5b0061c 100644 --- a/crates/wikipedia-dict/Cargo.toml +++ b/crates/wikipedia-dict/Cargo.toml @@ -24,4 +24,4 @@ unicase = "2.6" itertools = "0.10" codegenrs = "2.0" dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } -snapbox = { version = "0.4.0", features = ["path"] } +snapbox = { version = "0.4.3", features = ["path"] }