diff --git a/Cargo.lock b/Cargo.lock index 59d165d..4d50c12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -116,9 +116,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca0852af221f458706eb0725c03e4ed6c46af9ac98e6a689d5e634215d594dd" +checksum = "b45ea9b00a7b3f2988e9a65ad3917e62123c38dba709b666506207be96d1790b" dependencies = [ "memchr", "once_cell", @@ -202,9 +202,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.0.29" +version = "4.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d63b9e9c07271b9957ad22c173bae2a4d9a81127680962039296abcd2f8251d" +checksum = "a7db700bc935f9e43e88d00b0850dae18a63773cfbec6d8e070fccf7fef89a39" dependencies = [ "bitflags", "clap_derive 4.0.21", @@ -221,7 +221,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23e2b6c3dcdb73299f48ae05b294da14e2f560b3ed2c09e742269eb1b22af231" dependencies = [ - "clap 4.0.29", + "clap 4.0.32", "log", ] @@ -319,7 +319,7 @@ version = "0.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64a9572308414bfdbda25e41cdd4a15a90e68d93f2d5a66e3ff6e1cdc856f923" dependencies = [ - "clap 4.0.29", + "clap 4.0.32", "concolor", ] @@ -998,6 +998,15 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nom8" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae01545c9c7fc4486ab7debaf2aad7003ac19431791868fb2e8066df97fad2f8" +dependencies = [ + "memchr", +] + [[package]] name = "normalize-line-endings" version = "0.3.0" @@ -1034,9 +1043,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" +checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "oorandom" @@ -1580,10 +1589,23 @@ dependencies = [ ] [[package]] -name = "trycmd" -version = "0.14.5" +name = "toml_edit" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e381af441e13a3635303d26769620a9454aef05ec3303711efc3f1dd785a33af" +checksum = "dd30deba9a1cd7153c22aecf93e86df639e7b81c622b0af8d9255e989991a7b7" +dependencies = [ + "indexmap", + "itertools", + "nom8", + "serde", + "toml_datetime", +] + +[[package]] +name = "trycmd" +version = "0.14.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b37ad14571d245340fb1d56cec65507bd73571005adc63dc968aa38fa9d49" dependencies = [ "glob", "humantime", @@ -1592,7 +1614,7 @@ dependencies = [ "serde", "shlex", "snapbox", - "toml_edit", + "toml_edit 0.16.2", ] [[package]] @@ -1606,7 +1628,7 @@ name = "typos" version = "0.10.6" dependencies = [ "anyhow", - "bstr 1.0.1", + "bstr 1.1.0", "itertools", "nom", "once_cell", @@ -1625,8 +1647,8 @@ dependencies = [ "anyhow", "assert_fs", "atty", - "bstr 1.0.1", - "clap 4.0.29", + "bstr 1.1.0", + "clap 4.0.32", "clap-verbosity-flag", "concolor", "concolor-clap", @@ -1649,7 +1671,7 @@ dependencies = [ "serde", "serde_json", "thread_local", - "toml_edit", + "toml_edit 0.15.0", "trycmd", "typed-arena", "typos", diff --git a/Cargo.toml b/Cargo.toml index aef42b7..89f85d2 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.29", features = ["derive"] } +clap = { version = "4.0.32", features = ["derive"] } clap-verbosity-flag = "2.0" ignore = "0.4" serde = { version = "1.0", features = ["derive"] } @@ -76,8 +76,8 @@ atty = "0.2.14" yansi = "0.5.1" concolor = { version = "0.0.11" } concolor-clap = { version = "0.0.13", features = ["api_unstable"] } -bstr = "1.0" -once_cell = "1.16.0" +bstr = "1.1" +once_cell = "1.17.0" ahash = "0.8" difflib = "0.4" proc-exit = "2.0" @@ -99,7 +99,7 @@ globset = "0.4.9" [dev-dependencies] assert_fs = "1.0" -trycmd = "0.14.5" +trycmd = "0.14.6" criterion = "0.4" [profile.dev] diff --git a/crates/typos/Cargo.toml b/crates/typos/Cargo.toml index 296b146..a52a369 100644 --- a/crates/typos/Cargo.toml +++ b/crates/typos/Cargo.toml @@ -16,9 +16,9 @@ anyhow = "1.0" thiserror = "1.0" nom = "7.1" unicode-xid = "0.2.4" -once_cell = "1.16.0" +once_cell = "1.17.0" serde = { version = "1.0", features = ["derive"] } simdutf8 = "0.1.4" itertools = "0.10" unicode-segmentation = "1.10.0" -bstr = "1.0" +bstr = "1.1"