Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

fix: warn about clashing linter names (#2374)

Andrew Dunbar5e2afcdad4ba
diff --git a/Cargo.lock b/Cargo.lock
index 07cc4bf44..495845aee 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -22,9 +22,9 @@ dependencies = [
[[package]]
name = "aho-corasick"
-version = "1.1.4"
+version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
+checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
dependencies = [
"memchr",
]
@@ -74,9 +74,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[package]]
name = "anstream"
-version = "0.6.21"
+version = "0.6.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
+checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933"
dependencies = [
"anstyle",
"anstyle-parse",
@@ -89,9 +89,9 @@ dependencies = [
[[package]]
name = "anstyle"
-version = "1.0.13"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
+checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd"
[[package]]
name = "anstyle-parse"
@@ -104,22 +104,22 @@ dependencies = [
[[package]]
name = "anstyle-query"
-version = "1.1.5"
+version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
+checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9"
dependencies = [
- "windows-sys 0.61.2",
+ "windows-sys 0.59.0",
]
[[package]]
name = "anstyle-wincon"
-version = "3.0.11"
+version = "3.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
+checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882"
dependencies = [
"anstyle",
"once_cell_polyfill",
- "windows-sys 0.61.2",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -130,9 +130,12 @@ checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
[[package]]
name = "arbitrary"
-version = "1.4.2"
+version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1"
+checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
+dependencies = [
+ "derive_arbitrary",
+]
[[package]]
name = "ariadne"
@@ -283,9 +286,9 @@ dependencies = [
[[package]]
name = "bstr"
-version = "1.12.1"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab"
+checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4"
dependencies = [
"memchr",
"serde",
@@ -293,9 +296,9 @@ dependencies = [
[[package]]
name = "bumpalo"
-version = "3.20.2"
+version = "3.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb"
+checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
[[package]]
name = "burn"
@@ -655,9 +658,9 @@ dependencies = [
[[package]]
name = "bytemuck"
-version = "1.25.0"
+version = "1.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec"
+checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4"
dependencies = [
"bytemuck_derive",
]
@@ -720,25 +723,24 @@ checksum = "ade8366b8bd5ba243f0a58f036cc0ca8a2f069cff1a2351ef1cac6b083e16fc0"
[[package]]
name = "candle-core"
-version = "0.9.2"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c15b675b80d994b2eadb20a4bbe434eabeb454eac3ee5e2b4cf6f147ee9be091"
+checksum = "a9f51e2ecf6efe9737af8f993433c839f956d2b6ed4fd2dd4a7c6d8b0fa667ff"
dependencies = [
"byteorder",
- "float8 0.6.1",
- "gemm",
+ "gemm 0.17.1",
"half",
- "libm",
"memmap2",
"num-traits",
"num_cpus",
"rand 0.9.2",
"rand_distr",
"rayon",
- "safetensors 0.7.0",
- "thiserror 2.0.18",
- "yoke",
- "zip 7.2.0",
+ "safetensors 0.4.5",
+ "thiserror 1.0.69",
+ "ug",
+ "yoke 0.7.5",
+ "zip 1.1.4",
]
[[package]]
@@ -758,9 +760,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
[[package]]
name = "cc"
-version = "1.2.56"
+version = "1.2.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2"
+checksum = "739eb0f94557554b3ca9a86d2d37bebd49c5e6d0c1d2bda35ba5bdac830befc2"
dependencies = [
"find-msvc-tools",
"jobserver",
@@ -779,9 +781,9 @@ dependencies = [
[[package]]
name = "cfg-if"
-version = "1.0.4"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
+checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
[[package]]
name = "cfg_aliases"
@@ -799,7 +801,7 @@ dependencies = [
"js-sys",
"num-traits",
"wasm-bindgen",
- "windows-link 0.2.1",
+ "windows-link 0.2.0",
]
[[package]]
@@ -899,11 +901,11 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
[[package]]
name = "colored"
-version = "3.1.1"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34"
+checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e"
dependencies = [
- "windows-sys 0.61.2",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -954,17 +956,11 @@ version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"
dependencies = [
- "getrandom 0.2.17",
+ "getrandom 0.2.16",
"once_cell",
"tiny-keccak",
]
-[[package]]
-name = "constcat"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "136d3e02915a2cea4d74caa8681e2d44b1c3254bdbf17d11d41d587ff858832c"
-
[[package]]
name = "convert_case"
version = "0.8.0"
@@ -974,15 +970,6 @@ dependencies = [
"unicode-segmentation",
]
-[[package]]
-name = "convert_case"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9"
-dependencies = [
- "unicode-segmentation",
-]
-
[[package]]
name = "core-foundation"
version = "0.10.1"
@@ -1109,9 +1096,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
[[package]]
name = "crypto-common"
-version = "0.1.7"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
+checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
dependencies = [
"generic-array",
"typenum",
@@ -1142,21 +1129,21 @@ dependencies = [
[[package]]
name = "csv"
-version = "1.4.0"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52cd9d68cf7efc6ddfaaee42e7288d3a99d613d4b50f76ce9827ae0c6e14f938"
+checksum = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf"
dependencies = [
"csv-core",
"itoa",
"ryu",
- "serde_core",
+ "serde",
]
[[package]]
name = "csv-core"
-version = "0.1.13"
+version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "704a3c26996a80471189265814dbc2c257598b96b8a7feae2d31ace646bb9782"
+checksum = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d"
dependencies = [
"memchr",
]
@@ -1191,12 +1178,12 @@ dependencies = [
"cfg-if",
"cfg_aliases",
"derive-new",
- "derive_more 2.1.1",
+ "derive_more 2.0.1",
"dirs 6.0.0",
"embassy-futures",
"embassy-time",
"float4",
- "float8 0.4.2",
+ "float8",
"futures-lite",
"half",
"hashbrown 0.15.5",
@@ -1247,7 +1234,7 @@ dependencies = [
"cubecl-macros",
"cubecl-runtime",
"derive-new",
- "derive_more 2.1.1",
+ "derive_more 2.0.1",
"enumset",
"half",
"hashbrown 0.15.5",
@@ -1340,9 +1327,9 @@ dependencies = [
[[package]]
name = "cubecl-hip-sys"
-version = "7.1.5280200"
+version = "7.0.5183101"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bcdd98f72d6f17836a0477bcd5ae5dd6b57a80fb62a3c0919f867a231f897f28"
+checksum = "59ef087b59445fda47d2177370886351eb923ad1a541086d4919268574cd9558"
dependencies = [
"libc",
"regex",
@@ -1357,7 +1344,7 @@ dependencies = [
"cubecl-common",
"cubecl-macros-internal",
"derive-new",
- "derive_more 2.1.1",
+ "derive_more 2.0.1",
"float-ord",
"fnv",
"half",
@@ -1375,7 +1362,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5200fb619be424749901e3c6e8e66ae71146c8f83636a74f171bd980cba379d7"
dependencies = [
"cubecl-common",
- "darling 0.21.3",
+ "darling 0.21.0",
"derive-new",
"ident_case",
"prettyplease",
@@ -1386,11 +1373,11 @@ dependencies = [
[[package]]
name = "cubecl-macros-internal"
-version = "0.8.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a1b673f303396fba18df83368aa4eced474584f1bca34852dccc42bd4ff050c"
+checksum = "7287548e87dcb8226852c3fbd503b2c3b9a7e9f311b0ea14b7e8123a41012824"
dependencies = [
- "darling 0.21.3",
+ "darling 0.21.0",
"proc-macro2",
"quote",
"syn",
@@ -1501,7 +1488,7 @@ dependencies = [
"serde_json",
"spin",
"thiserror 2.0.18",
- "toml 0.9.12+spec-1.1.0",
+ "toml 0.9.2",
"variadics_please",
"wasm-bindgen-futures",
]
@@ -1537,7 +1524,7 @@ dependencies = [
"cubecl-core",
"cubecl-runtime",
"derive-new",
- "derive_more 2.1.1",
+ "derive_more 2.0.1",
"half",
"hashbrown 0.15.5",
"log",
@@ -1547,9 +1534,9 @@ dependencies = [
[[package]]
name = "cudarc"
-version = "0.17.8"
+version = "0.17.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0bf99ab37ee7072d64d906aa2dada9a3422f1d975cdf8c8055a573bc84897ed8"
+checksum = "ff0da1a70ec91e66731c1752deb9fda3044f1154fe4ceb5873e3f96ed34cafa3"
dependencies = [
"libloading",
]
@@ -1566,12 +1553,12 @@ dependencies = [
[[package]]
name = "darling"
-version = "0.21.3"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0"
+checksum = "a79c4acb1fd5fa3d9304be4c76e031c54d2e92d172a393e24b19a14fe8532fe9"
dependencies = [
- "darling_core 0.21.3",
- "darling_macro 0.21.3",
+ "darling_core 0.21.0",
+ "darling_macro 0.21.0",
]
[[package]]
@@ -1590,9 +1577,9 @@ dependencies = [
[[package]]
name = "darling_core"
-version = "0.21.3"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4"
+checksum = "74875de90daf30eb59609910b84d4d368103aaec4c924824c6799b28f77d6a1d"
dependencies = [
"fnv",
"ident_case",
@@ -1615,11 +1602,11 @@ dependencies = [
[[package]]
name = "darling_macro"
-version = "0.21.3"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81"
+checksum = "e79f8e61677d5df9167cd85265f8e5f64b215cdea3fb55eebc3e622e44c7a146"
dependencies = [
- "darling_core 0.21.3",
+ "darling_core 0.21.0",
"quote",
"syn",
]
@@ -1640,15 +1627,15 @@ dependencies = [
[[package]]
name = "data-encoding"
-version = "2.10.0"
+version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7a1e2f27636f116493b8b860f5546edb47c8d8f8ea73e1d2a20be88e28d1fea"
+checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
[[package]]
name = "deranged"
-version = "0.5.8"
+version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
+checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587"
dependencies = [
"powerfmt",
]
@@ -1664,6 +1651,17 @@ dependencies = [
"syn",
]
+[[package]]
+name = "derive_arbitrary"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
[[package]]
name = "derive_more"
version = "1.0.0"
@@ -1675,11 +1673,11 @@ dependencies = [
[[package]]
name = "derive_more"
-version = "2.1.1"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
+checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678"
dependencies = [
- "derive_more-impl 2.1.1",
+ "derive_more-impl 2.0.1",
]
[[package]]
@@ -1696,14 +1694,12 @@ dependencies = [
[[package]]
name = "derive_more-impl"
-version = "2.1.1"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
+checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3"
dependencies = [
- "convert_case 0.10.0",
"proc-macro2",
"quote",
- "rustc_version",
"syn",
"unicode-xid",
]
@@ -1767,8 +1763,8 @@ checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab"
dependencies = [
"libc",
"option-ext",
- "redox_users 0.5.2",
- "windows-sys 0.61.2",
+ "redox_users 0.5.0",
+ "windows-sys 0.61.1",
]
[[package]]
@@ -1784,18 +1780,18 @@ dependencies = [
[[package]]
name = "document-features"
-version = "0.2.12"
+version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
+checksum = "95249b50c6c185bee49034bcb378a49dc2b5dff0be90ff6616d31d64febab05d"
dependencies = [
"litrs",
]
[[package]]
name = "dtoa"
-version = "1.0.11"
+version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
+checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04"
[[package]]
name = "dtoa-short"
@@ -1808,25 +1804,28 @@ dependencies = [
[[package]]
name = "dyn-stack"
-version = "0.13.2"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c4713e43e2886ba72b8271aa66c93d722116acf7a75555cce11dcde84388fe8"
+checksum = "56e53799688f5632f364f8fb387488dd05db9fe45db7011be066fc20e7027f8b"
dependencies = [
"bytemuck",
- "dyn-stack-macros",
+ "reborrow",
]
[[package]]
-name = "dyn-stack-macros"
-version = "0.1.3"
+name = "dyn-stack"
+version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1d926b4d407d372f141f93bb444696142c29d32962ccbd3531117cf3aa0bfa9"
+checksum = "490bd48eb68fffcfed519b4edbfd82c69cbe741d175b84f0e0cbe8c57cbe0bdd"
+dependencies = [
+ "bytemuck",
+]
[[package]]
name = "ecow"
-version = "0.2.6"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78e4f79b296fbaab6ce2e22d52cb4c7f010fe0ebe7a32e34fa25885fd797bd02"
+checksum = "b92b481eb5d59fd8e80e92ff11d057d1ca8d144b2cd8c66cc8d5bd177a3c0dc5"
dependencies = [
"serde",
]
@@ -1839,9 +1838,9 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
[[package]]
name = "embassy-futures"
-version = "0.1.2"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc2d050bdc5c21e0862a89256ed8029ae6c290a93aecefc73084b3002cdebb01"
+checksum = "1f878075b9794c1e4ac788c95b728f26aa6366d32eeb10c7051389f898f7d067"
[[package]]
name = "embassy-time"
@@ -1861,9 +1860,9 @@ dependencies = [
[[package]]
name = "embassy-time-driver"
-version = "0.2.1"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0a244c7dc22c8d0289379c8d8830cae06bb93d8f990194d0de5efb3b5ae7ba6"
+checksum = "8d45f5d833b6d98bd2aab0c2de70b18bfaa10faf661a1578fd8e5dfb15eb7eba"
dependencies = [
"document-features",
]
@@ -1938,7 +1937,7 @@ version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f43e744e4ea338060faee68ed933e46e722fb7f3617e722a5772d7e856d8b3ce"
dependencies = [
- "darling 0.21.3",
+ "darling 0.21.0",
"proc-macro2",
"quote",
"syn",
@@ -1972,19 +1971,19 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]]
name = "errno"
-version = "0.3.14"
+version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
+checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
dependencies = [
"libc",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
name = "event-listener"
-version = "5.4.1"
+version = "5.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab"
+checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae"
dependencies = [
"concurrent-queue",
"parking",
@@ -2018,20 +2017,21 @@ dependencies = [
[[package]]
name = "filetime"
-version = "0.2.27"
+version = "0.2.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f98844151eee8917efc50bd9e8318cb963ae8b297431495d3f758616ea5c57db"
+checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed"
dependencies = [
"cfg-if",
"libc",
"libredox",
+ "windows-sys 0.60.2",
]
[[package]]
name = "find-msvc-tools"
-version = "0.1.9"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127"
[[package]]
name = "fixedbitset"
@@ -2041,13 +2041,13 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flate2"
-version = "1.1.9"
+version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
+checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb"
dependencies = [
"crc32fast",
+ "libz-rs-sys",
"miniz_oxide",
- "zlib-rs",
]
[[package]]
@@ -2071,18 +2071,6 @@ dependencies = [
"half",
]
-[[package]]
-name = "float8"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "719a903cc23e4a89e87962c2a80fdb45cdaad0983a89bd150bb57b4c8571a7d5"
-dependencies = [
- "half",
- "num-traits",
- "rand 0.9.2",
- "rand_distr",
-]
-
[[package]]
name = "fluent-uri"
version = "0.1.4"
@@ -2139,9 +2127,9 @@ checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
[[package]]
name = "form_urlencoded"
-version = "1.2.2"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
+checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
dependencies = [
"percent-encoding",
]
@@ -2283,128 +2271,246 @@ dependencies = [
[[package]]
name = "gemm"
-version = "0.19.0"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ab24cc62135b40090e31a76a9b2766a501979f3070fa27f689c27ec04377d32"
+dependencies = [
+ "dyn-stack 0.10.0",
+ "gemm-c32 0.17.1",
+ "gemm-c64 0.17.1",
+ "gemm-common 0.17.1",
+ "gemm-f16 0.17.1",
+ "gemm-f32 0.17.1",
+ "gemm-f64 0.17.1",
+ "num-complex",
+ "num-traits",
+ "paste",
+ "raw-cpuid 10.7.0",
+ "seq-macro",
+]
+
+[[package]]
+name = "gemm"
+version = "0.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa0673db364b12263d103b68337a68fbecc541d6f6b61ba72fe438654709eacb"
+checksum = "ab96b703d31950f1aeddded248bc95543c9efc7ac9c4a21fda8703a83ee35451"
dependencies = [
- "dyn-stack",
- "gemm-c32",
- "gemm-c64",
- "gemm-common",
- "gemm-f16",
- "gemm-f32",
- "gemm-f64",
+ "dyn-stack 0.13.0",
+ "gemm-c32 0.18.2",
+ "gemm-c64 0.18.2",
+ "gemm-common 0.18.2",
+ "gemm-f16 0.18.2",
+ "gemm-f32 0.18.2",
+ "gemm-f64 0.18.2",
"num-complex",
"num-traits",
"paste",
- "raw-cpuid",
+ "raw-cpuid 11.5.0",
"seq-macro",
]
[[package]]
name = "gemm-c32"
-version = "0.19.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "086936dbdcb99e37aad81d320f98f670e53c1e55a98bee70573e83f95beb128c"
+checksum = "b9c030d0b983d1e34a546b86e08f600c11696fde16199f971cd46c12e67512c0"
dependencies = [
- "dyn-stack",
- "gemm-common",
+ "dyn-stack 0.10.0",
+ "gemm-common 0.17.1",
"num-complex",
"num-traits",
"paste",
- "raw-cpuid",
+ "raw-cpuid 10.7.0",
+ "seq-macro",
+]
+
+[[package]]
+name = "gemm-c32"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6db9fd9f40421d00eea9dd0770045a5603b8d684654816637732463f4073847"
+dependencies = [
+ "dyn-stack 0.13.0",
+ "gemm-common 0.18.2",
+ "num-complex",
+ "num-traits",
+ "paste",
+ "raw-cpuid 11.5.0",
"seq-macro",
]
[[package]]
name = "gemm-c64"
-version = "0.19.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20c8aeeeec425959bda4d9827664029ba1501a90a0d1e6228e48bef741db3a3f"
+checksum = "fbb5f2e79fefb9693d18e1066a557b4546cd334b226beadc68b11a8f9431852a"
dependencies = [
- "dyn-stack",
- "gemm-common",
+ "dyn-stack 0.10.0",
+ "gemm-common 0.17.1",
"num-complex",
"num-traits",
"paste",
- "raw-cpuid",
+ "raw-cpuid 10.7.0",
"seq-macro",
]
+[[package]]
+name = "gemm-c64"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dfcad8a3d35a43758330b635d02edad980c1e143dc2f21e6fd25f9e4eada8edf"
+dependencies = [
+ "dyn-stack 0.13.0",
+ "gemm-common 0.18.2",
+ "num-complex",
+ "num-traits",
+ "paste",
+ "raw-cpuid 11.5.0",
+ "seq-macro",
+]
+
+[[package]]
+name = "gemm-common"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2e7ea062c987abcd8db95db917b4ffb4ecdfd0668471d8dc54734fdff2354e8"
+dependencies = [
+ "bytemuck",
+ "dyn-stack 0.10.0",
+ "half",
+ "num-complex",
+ "num-traits",
+ "once_cell",
+ "paste",
+ "pulp 0.18.22",
+ "raw-cpuid 10.7.0",
+ "rayon",
+ "seq-macro",
+ "sysctl 0.5.5",
+]
+
[[package]]
name = "gemm-common"
-version = "0.19.0"
+version = "0.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88027625910cc9b1085aaaa1c4bc46bb3a36aad323452b33c25b5e4e7c8e2a3e"
+checksum = "a352d4a69cbe938b9e2a9cb7a3a63b7e72f9349174a2752a558a8a563510d0f3"
dependencies = [
"bytemuck",
- "dyn-stack",
+ "dyn-stack 0.13.0",
"half",
"libm",
"num-complex",
"num-traits",
"once_cell",
"paste",
- "pulp",
- "raw-cpuid",
+ "pulp 0.21.5",
+ "raw-cpuid 11.5.0",
"rayon",
"seq-macro",
- "sysctl",
+ "sysctl 0.6.0",
]
[[package]]
name = "gemm-f16"
-version = "0.19.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3df7a55202e6cd6739d82ae3399c8e0c7e1402859b30e4cb780e61525d9486e"
+checksum = "7ca4c06b9b11952071d317604acb332e924e817bd891bec8dfb494168c7cedd4"
dependencies = [
- "dyn-stack",
- "gemm-common",
- "gemm-f32",
+ "dyn-stack 0.10.0",
+ "gemm-common 0.17.1",
+ "gemm-f32 0.17.1",
"half",
"num-complex",
"num-traits",
"paste",
- "raw-cpuid",
+ "raw-cpuid 10.7.0",
"rayon",
"seq-macro",
]
+[[package]]
+name = "gemm-f16"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cff95ae3259432f3c3410eaa919033cd03791d81cebd18018393dc147952e109"
+dependencies = [
+ "dyn-stack 0.13.0",
+ "gemm-common 0.18.2",
+ "gemm-f32 0.18.2",
+ "half",
+ "num-complex",
+ "num-traits",
+ "paste",
+ "raw-cpuid 11.5.0",
+ "rayon",
+ "seq-macro",
+]
+
+[[package]]
+name = "gemm-f32"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e9a69f51aaefbd9cf12d18faf273d3e982d9d711f60775645ed5c8047b4ae113"
+dependencies = [
+ "dyn-stack 0.10.0",
+ "gemm-common 0.17.1",
+ "num-complex",
+ "num-traits",
+ "paste",
+ "raw-cpuid 10.7.0",
+ "seq-macro",
+]
+
[[package]]
name = "gemm-f32"
-version = "0.19.0"
+version = "0.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02e0b8c9da1fbec6e3e3ab2ce6bc259ef18eb5f6f0d3e4edf54b75f9fd41a81c"
+checksum = "bc8d3d4385393304f407392f754cd2dc4b315d05063f62cf09f47b58de276864"
dependencies = [
- "dyn-stack",
- "gemm-common",
+ "dyn-stack 0.13.0",
+ "gemm-common 0.18.2",
"num-complex",
"num-traits",
"paste",
- "raw-cpuid",
+ "raw-cpuid 11.5.0",
"seq-macro",
]
[[package]]
name = "gemm-f64"
-version = "0.19.0"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "056131e8f2a521bfab322f804ccd652520c79700d81209e9d9275bbdecaadc6a"
+checksum = "aa397a48544fadf0b81ec8741e5c0fba0043008113f71f2034def1935645d2b0"
dependencies = [
- "dyn-stack",
- "gemm-common",
+ "dyn-stack 0.10.0",
+ "gemm-common 0.17.1",
"num-complex",
"num-traits",
"paste",
- "raw-cpuid",
+ "raw-cpuid 10.7.0",
+ "seq-macro",
+]
+
+[[package]]
+name = "gemm-f64"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "35b2a4f76ce4b8b16eadc11ccf2e083252d8237c1b589558a49b0183545015bd"
+dependencies = [
+ "dyn-stack 0.13.0",
+ "gemm-common 0.18.2",
+ "num-complex",
+ "num-traits",
+ "paste",
+ "raw-cpuid 11.5.0",
"seq-macro",
]
[[package]]
name = "generic-array"
-version = "0.14.7"
+version = "0.14.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2"
dependencies = [
"typenum",
"version_check",
@@ -2412,18 +2518,18 @@ dependencies = [
[[package]]
name = "getopts"
-version = "0.2.24"
+version = "0.2.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df"
+checksum = "cba6ae63eb948698e300f645f87c70f76630d505f23b8907cf1e193ee85048c1"
dependencies = [
"unicode-width",
]
[[package]]
name = "getrandom"
-version = "0.2.17"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
+checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
dependencies = [
"cfg-if",
"js-sys",
@@ -2473,9 +2579,9 @@ dependencies = [
[[package]]
name = "glob"
-version = "0.3.3"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
+checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
[[package]]
name = "globset"
@@ -2564,9 +2670,9 @@ dependencies = [
[[package]]
name = "h2"
-version = "0.4.13"
+version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54"
+checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386"
dependencies = [
"atomic-waker",
"bytes",
@@ -2899,7 +3005,7 @@ dependencies = [
"serde",
"serde-wasm-bindgen",
"serde_json",
- "sysinfo 0.38.3",
+ "sysinfo 0.38.4",
"tracing",
"tracing-wasm",
"wasm-bindgen",
@@ -2976,11 +3082,12 @@ dependencies = [
[[package]]
name = "http"
-version = "1.4.0"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a"
+checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
dependencies = [
"bytes",
+ "fnv",
"itoa",
]
@@ -3015,9 +3122,9 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
name = "hyper"
-version = "1.8.1"
+version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11"
+checksum = "eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e"
dependencies = [
"atomic-waker",
"bytes",
@@ -3054,13 +3161,14 @@ dependencies = [
[[package]]
name = "hyper-util"
-version = "0.1.20"
+version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
+checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8"
dependencies = [
"base64",
"bytes",
"futures-channel",
+ "futures-core",
"futures-util",
"http",
"http-body",
@@ -3077,9 +3185,9 @@ dependencies = [
[[package]]
name = "iana-time-zone"
-version = "0.1.65"
+version = "0.1.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
+checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
dependencies = [
"android_system_properties",
"core-foundation-sys",
@@ -3087,7 +3195,7 @@ dependencies = [
"js-sys",
"log",
"wasm-bindgen",
- "windows-core 0.62.2",
+ "windows-core 0.61.2",
]
[[package]]
@@ -3101,22 +3209,22 @@ dependencies = [
[[package]]
name = "icu_collections"
-version = "2.1.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43"
+checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47"
dependencies = [
"displaydoc",
"potential_utf",
- "yoke",
+ "yoke 0.8.0",
"zerofrom",
"zerovec",
]
[[package]]
name = "icu_locale_core"
-version = "2.1.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6"
+checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a"
dependencies = [
"displaydoc",
"litemap",
@@ -3127,10 +3235,11 @@ dependencies = [
[[package]]
name = "icu_normalizer"
-version = "2.1.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599"
+checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979"
dependencies = [
+ "displaydoc",
"icu_collections",
"icu_normalizer_data",
"icu_properties",
@@ -3141,40 +3250,44 @@ dependencies = [
[[package]]
name = "icu_normalizer_data"
-version = "2.1.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a"
+checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
[[package]]
name = "icu_properties"
-version = "2.1.2"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec"
+checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b"
dependencies = [
+ "displaydoc",
"icu_collections",
"icu_locale_core",
"icu_properties_data",
"icu_provider",
+ "potential_utf",
"zerotrie",
"zerovec",
]
[[package]]
name = "icu_properties_data"
-version = "2.1.2"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af"
+checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632"
[[package]]
name = "icu_provider"
-version = "2.1.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614"
+checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af"
dependencies = [
"displaydoc",
"icu_locale_core",
+ "stable_deref_trait",
+ "tinystr",
"writeable",
- "yoke",
+ "yoke 0.8.0",
"zerofrom",
"zerotrie",
"zerovec",
@@ -3194,9 +3307,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
[[package]]
name = "idna"
-version = "1.1.0"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
+checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
dependencies = [
"idna_adapter",
"smallvec",
@@ -3233,9 +3346,9 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
[[package]]
name = "iri-string"
-version = "0.7.10"
+version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c91338f0783edbd6195decb37bae672fd3b165faffb89bf7b9e6942f8b1a731a"
+checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2"
dependencies = [
"memchr",
"serde",
@@ -3274,9 +3387,9 @@ dependencies = [
[[package]]
name = "is_terminal_polyfill"
-version = "1.70.2"
+version = "1.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
+checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
[[package]]
name = "itertools"
@@ -3298,9 +3411,9 @@ dependencies = [
[[package]]
name = "itoa"
-version = "1.0.17"
+version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
+checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "jni-sys"
@@ -3320,9 +3433,9 @@ dependencies = [
[[package]]
name = "js-sys"
-version = "0.3.91"
+version = "0.3.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b49715b7073f385ba4bc528e5747d02e66cb39c6146efb66b781f131f0fb399c"
+checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8"
dependencies = [
"once_cell",
"wasm-bindgen",
@@ -3368,9 +3481,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.182"
+version = "0.2.174"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112"
+checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
[[package]]
name = "libfuzzer-sys"
@@ -3384,19 +3497,19 @@ dependencies = [
[[package]]
name = "libloading"
-version = "0.8.9"
+version = "0.8.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
+checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
dependencies = [
"cfg-if",
- "windows-link 0.2.1",
+ "windows-targets 0.53.3",
]
[[package]]
name = "liblzma"
-version = "0.4.6"
+version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6033b77c21d1f56deeae8014eb9fbe7bdf1765185a6c508b5ca82eeaed7f899"
+checksum = "73c36d08cad03a3fbe2c4e7bb3a9e84c57e4ee4135ed0b065cade3d98480c648"
dependencies = [
"liblzma-sys",
"num_cpus",
@@ -3404,9 +3517,9 @@ dependencies = [
[[package]]
name = "liblzma-sys"
-version = "0.4.5"
+version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f2db66f3268487b5033077f266da6777d057949b8f93c8ad82e441df25e6186"
+checksum = "01b9596486f6d60c3bbe644c0e1be1aa6ccc472ad630fe8927b456973d7cb736"
dependencies = [
"cc",
"libc",
@@ -3415,39 +3528,47 @@ dependencies = [
[[package]]
name = "libm"
-version = "0.2.16"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
+checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
[[package]]
name = "libredox"
-version = "0.1.14"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1744e39d1d6a9948f4f388969627434e31128196de472883b39f148769bfe30a"
+checksum = "360e552c93fa0e8152ab463bc4c4837fce76a225df11dfaeea66c313de5e61f7"
dependencies = [
"bitflags 2.11.0",
"libc",
- "plain",
- "redox_syscall 0.7.3",
+ "redox_syscall",
+]
+
+[[package]]
+name = "libz-rs-sys"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c10501e7805cee23da17c7790e59df2870c0d4043ec6d03f67d31e2b53e77415"
+dependencies = [
+ "zlib-rs",
]
[[package]]
name = "linux-raw-sys"
-version = "0.12.1"
+version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
+checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
[[package]]
name = "litemap"
-version = "0.8.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77"
+checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
[[package]]
name = "litrs"
-version = "1.0.0"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"
+checksum = "f5e54036fe321fd421e10d732f155734c4e4afd610dd556d9a82833ab3ee0bed"
[[package]]
name = "lock_api"
@@ -3460,9 +3581,9 @@ dependencies = [
[[package]]
name = "log"
-version = "0.4.29"
+version = "0.4.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
+checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
[[package]]
name = "louds-rs"
@@ -3509,9 +3630,9 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
[[package]]
name = "macerator"
-version = "0.2.10"
+version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84b0b2dbe8b22f9e96ba12e29964889010117f92e6bd006010887320ae58e2f0"
+checksum = "8ac9c19702c37bae1a53d130a326b1c4f58cb17d472538cf547d44b46dbbe3aa"
dependencies = [
"bytemuck",
"cfg_aliases",
@@ -3525,9 +3646,9 @@ dependencies = [
[[package]]
name = "macerator-macros"
-version = "0.1.4"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23ee1819976b67f4d782390c55a75c13401c7a988517f7f8e60a33484dc2e00a"
+checksum = "8cd48b535b9b37a25a2589ab8d4f997886a2c68f59960ce06588525f38dd4944"
dependencies = [
"darling 0.20.11",
"proc-macro2",
@@ -3593,15 +3714,15 @@ checksum = "ae960838283323069879657ca3de837e9f7bbb4c7bf6ea7f1b290d5e9476d2e0"
[[package]]
name = "memchr"
-version = "2.8.0"
+version = "2.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
+checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
[[package]]
name = "memmap2"
-version = "0.9.10"
+version = "0.9.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "714098028fe011992e1c3962653c96b2d578c4b4bce9036e15ff220319b1e0e3"
+checksum = "483758ad303d734cec05e5c12b41d7e93e6a6390c5e9dae6bdeb7c1259012d28"
dependencies = [
"libc",
"stable_deref_trait",
@@ -3640,13 +3761,13 @@ dependencies = [
[[package]]
name = "mio"
-version = "1.1.1"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc"
+checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c"
dependencies = [
"libc",
"wasi",
- "windows-sys 0.61.2",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -3745,20 +3866,20 @@ dependencies = [
[[package]]
name = "ntapi"
-version = "0.4.3"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae"
+checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4"
dependencies = [
"winapi",
]
[[package]]
name = "nu-ansi-term"
-version = "0.50.3"
+version = "0.50.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
+checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399"
dependencies = [
- "windows-sys 0.61.2",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -3852,6 +3973,28 @@ dependencies = [
"libc",
]
+[[package]]
+name = "num_enum"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a973b4e44ce6cad84ce69d797acf9a044532e4184c4f267913d1b546a0727b7a"
+dependencies = [
+ "num_enum_derive",
+ "rustversion",
+]
+
+[[package]]
+name = "num_enum_derive"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d"
+dependencies = [
+ "proc-macro-crate",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
[[package]]
name = "objc"
version = "0.2.7"
@@ -3863,18 +4006,18 @@ dependencies = [
[[package]]
name = "objc2-core-foundation"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c10c2894a6fed806ade6027bcd50662746363a9589d3ec9d9bef30a4e4bc166"
+checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
dependencies = [
"bitflags 2.11.0",
]
[[package]]
name = "objc2-io-kit"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71c1c64d6120e51cd86033f67176b1cb66780c2efe34dec55176f77befd93c0a"
+checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15"
dependencies = [
"libc",
"objc2-core-foundation",
@@ -3888,9 +4031,9 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
[[package]]
name = "once_cell_polyfill"
-version = "1.70.2"
+version = "1.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
+checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
[[package]]
name = "oorandom"
@@ -3969,9 +4112,9 @@ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
dependencies = [
"cfg-if",
"libc",
- "redox_syscall 0.5.18",
+ "redox_syscall",
"smallvec",
- "windows-link 0.2.1",
+ "windows-link 0.2.0",
]
[[package]]
@@ -3988,9 +4131,9 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
[[package]]
name = "percent-encoding"
-version = "2.3.2"
+version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
+checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "petgraph"
@@ -4056,9 +4199,9 @@ dependencies = [
[[package]]
name = "pin-project-lite"
-version = "0.2.17"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
+checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
[[package]]
name = "pin-utils"
@@ -4072,35 +4215,29 @@ version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
-[[package]]
-name = "plain"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
-
[[package]]
name = "portable-atomic"
-version = "1.13.1"
+version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
+checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
dependencies = [
"serde",
]
[[package]]
name = "portable-atomic-util"
-version = "0.2.5"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a9db96d7fa8782dd8c15ce32ffe8680bbd1e978a43bf51a34d39483540495f5"
+checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
dependencies = [
"portable-atomic",
]
[[package]]
name = "potential_utf"
-version = "0.1.4"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77"
+checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
dependencies = [
"zerovec",
]
@@ -4144,9 +4281,9 @@ dependencies = [
[[package]]
name = "prettyplease"
-version = "0.2.37"
+version = "0.2.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
+checksum = "ff24dfcda44452b9816fff4cd4227e1bb73ff5a2f1bc1105aa92fb8565ce44d2"
dependencies = [
"proc-macro2",
"syn",
@@ -4154,18 +4291,18 @@ dependencies = [
[[package]]
name = "proc-macro-crate"
-version = "3.4.0"
+version = "3.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983"
+checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35"
dependencies = [
- "toml_edit 0.23.10+spec-1.0.0",
+ "toml_edit",
]
[[package]]
name = "proc-macro2"
-version = "1.0.106"
+version = "1.0.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
+checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
dependencies = [
"unicode-ident",
]
@@ -4197,26 +4334,29 @@ checksum = "007d8adb5ddab6f8e3f491ac63566a7d5002cc7ed73901f72057943fa71ae1ae"
[[package]]
name = "pulp"
-version = "0.22.2"
+version = "0.18.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e205bb30d5b916c55e584c22201771bcf2bad9aabd5d4127f38387140c38632"
+checksum = "a0a01a0dc67cf4558d279f0c25b0962bd08fc6dec0137699eae304103e882fe6"
dependencies = [
"bytemuck",
- "cfg-if",
"libm",
"num-complex",
- "paste",
- "pulp-wasm-simd-flag",
- "raw-cpuid",
"reborrow",
- "version_check",
]
[[package]]
-name = "pulp-wasm-simd-flag"
-version = "0.1.0"
+name = "pulp"
+version = "0.21.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40e24eee682d89fb193496edf918a7f407d30175b2e785fe057e4392dfd182e0"
+checksum = "96b86df24f0a7ddd5e4b95c94fc9ed8a98f1ca94d3b01bdce2824097e7835907"
+dependencies = [
+ "bytemuck",
+ "cfg-if",
+ "libm",
+ "num-complex",
+ "reborrow",
+ "version_check",
+]
[[package]]
name = "quickcheck"
@@ -4262,9 +4402,9 @@ dependencies = [
[[package]]
name = "quinn-proto"
-version = "0.11.14"
+version = "0.11.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098"
+checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31"
dependencies = [
"bytes",
"getrandom 0.3.4",
@@ -4297,9 +4437,9 @@ dependencies = [
[[package]]
name = "quote"
-version = "1.0.44"
+version = "1.0.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
+checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
dependencies = [
"proc-macro2",
]
@@ -4329,7 +4469,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
dependencies = [
"rand_chacha 0.9.0",
- "rand_core 0.9.5",
+ "rand_core 0.9.3",
]
[[package]]
@@ -4359,7 +4499,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
dependencies = [
"ppv-lite86",
- "rand_core 0.9.5",
+ "rand_core 0.9.3",
]
[[package]]
@@ -4368,15 +4508,15 @@ version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
- "getrandom 0.2.17",
+ "getrandom 0.2.16",
"serde",
]
[[package]]
name = "rand_core"
-version = "0.9.5"
+version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
+checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
dependencies = [
"getrandom 0.3.4",
]
@@ -4399,15 +4539,24 @@ dependencies = [
[[package]]
name = "range-alloc"
-version = "0.1.5"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca45419789ae5a7899559e9512e58ca889e41f04f1f2445e9f4b290ceccd1d08"
+checksum = "c3d6831663a5098ea164f89cff59c6284e95f4e3c76ce9848d4529f5ccca9bde"
[[package]]
name = "raw-cpuid"
-version = "11.6.0"
+version = "10.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186"
+checksum = "6c297679cb867470fa8c9f67dbba74a78d78e3e98d7cf2b08d6d71540f797332"
+dependencies = [
+ "bitflags 1.3.2",
+]
+
+[[package]]
+name = "raw-cpuid"
+version = "11.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6df7ab838ed27997ba19a4664507e6f82b41fe6e20be42929332156e5e85146"
dependencies = [
"bitflags 2.11.0",
]
@@ -4452,18 +4601,9 @@ checksum = "03251193000f4bd3b042892be858ee50e8b3719f2b08e5833ac4353724632430"
[[package]]
name = "redox_syscall"
-version = "0.5.18"
+version = "0.5.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
-dependencies = [
- "bitflags 2.11.0",
-]
-
-[[package]]
-name = "redox_syscall"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ce70a74e890531977d37e532c34d45e9055d2409ed08ddba14529471ed0be16"
+checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
dependencies = [
"bitflags 2.11.0",
]
@@ -4474,18 +4614,18 @@ version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
dependencies = [
- "getrandom 0.2.17",
+ "getrandom 0.2.16",
"libredox",
"thiserror 1.0.69",
]
[[package]]
name = "redox_users"
-version = "0.5.2"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac"
+checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b"
dependencies = [
- "getrandom 0.2.17",
+ "getrandom 0.2.16",
"libredox",
"thiserror 2.0.18",
]
@@ -4504,9 +4644,9 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.4.14"
+version = "0.4.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
+checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
dependencies = [
"aho-corasick",
"memchr",
@@ -4515,9 +4655,9 @@ dependencies = [
[[package]]
name = "regex-syntax"
-version = "0.8.10"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a"
+checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
[[package]]
name = "relative-path"
@@ -4533,9 +4673,9 @@ checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832"
[[package]]
name = "reqwest"
-version = "0.12.28"
+version = "0.12.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147"
+checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f"
dependencies = [
"base64",
"bytes",
@@ -4589,7 +4729,7 @@ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
dependencies = [
"cc",
"cfg-if",
- "getrandom 0.2.17",
+ "getrandom 0.2.16",
"libc",
"untrusted",
"windows-sys 0.52.0",
@@ -4597,19 +4737,22 @@ dependencies = [
[[package]]
name = "rmp"
-version = "0.8.15"
+version = "0.8.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ba8be72d372b2c9b35542551678538b562e7cf86c3315773cae48dfbfe7790c"
+checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4"
dependencies = [
+ "byteorder",
"num-traits",
+ "paste",
]
[[package]]
name = "rmp-serde"
-version = "1.3.1"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72f81bee8c8ef9b577d1681a70ebbc962c232461e397b22c208c43c04b67a155"
+checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db"
dependencies = [
+ "byteorder",
"rmp",
"serde",
]
@@ -4678,22 +4821,22 @@ dependencies = [
[[package]]
name = "rustix"
-version = "1.1.4"
+version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
+checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8"
dependencies = [
"bitflags 2.11.0",
"errno",
"libc",
"linux-raw-sys",
- "windows-sys 0.61.2",
+ "windows-sys 0.60.2",
]
[[package]]
name = "rustls"
-version = "0.23.37"
+version = "0.23.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4"
+checksum = "6a9586e9ee2b4f8fab52a0048ca7334d7024eef48e2cb9407e3497bb7cab7fa7"
dependencies = [
"once_cell",
"ring",
@@ -4705,9 +4848,9 @@ dependencies = [
[[package]]
name = "rustls-pki-types"
-version = "1.14.0"
+version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be040f8b0a225e40375822a563fa9524378b9d63112f53e19ffff34df5d33fdd"
+checksum = "94182ad936a0c91c324cd46c6511b9510ed16af436d7b5bab34beab0afd55f7a"
dependencies = [
"web-time",
"zeroize",
@@ -4715,9 +4858,9 @@ dependencies = [
[[package]]
name = "rustls-webpki"
-version = "0.103.9"
+version = "0.103.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53"
+checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
dependencies = [
"ring",
"rustls-pki-types",
@@ -4726,9 +4869,9 @@ dependencies = [
[[package]]
name = "rustversion"
-version = "1.0.22"
+version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
+checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
[[package]]
name = "ruzstd"
@@ -4741,15 +4884,15 @@ dependencies = [
[[package]]
name = "ryu"
-version = "1.0.23"
+version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
+checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
[[package]]
name = "safetensors"
-version = "0.6.2"
+version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "172dd94c5a87b5c79f945c863da53b2ebc7ccef4eca24ac63cca66a41aab2178"
+checksum = "44560c11236a6130a46ce36c836a62936dc81ebf8c36a37947423571be0e55b6"
dependencies = [
"serde",
"serde_json",
@@ -4757,11 +4900,10 @@ dependencies = [
[[package]]
name = "safetensors"
-version = "0.7.0"
+version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "675656c1eabb620b921efea4f9199f97fc86e36dd6ffd1fbbe48d0f59a4987f5"
+checksum = "172dd94c5a87b5c79f945c863da53b2ebc7ccef4eca24ac63cca66a41aab2178"
dependencies = [
- "hashbrown 0.16.1",
"serde",
"serde_json",
]
@@ -4792,9 +4934,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "semver"
-version = "1.0.27"
+version = "1.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
+checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
[[package]]
name = "seq-macro"
@@ -4889,11 +5031,11 @@ dependencies = [
[[package]]
name = "serde_spanned"
-version = "1.0.4"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8bbf91e5a4d6315eee45e704372590b30e260ee83af6639d64557f51b067776"
+checksum = "40734c41988f7306bb04f0ecf60ec0f3f1caa34290e4e8ea471dcd3346483b83"
dependencies = [
- "serde_core",
+ "serde",
]
[[package]]
@@ -4936,27 +5078,27 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "simd-adler32"
-version = "0.3.8"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
+checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
[[package]]
name = "siphasher"
-version = "1.0.2"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2aa850e253778c88a04c3d7323b043aeda9d3e30d5971937c1855769763678e"
+checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
[[package]]
name = "slab"
-version = "0.4.12"
+version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
+checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
[[package]]
name = "slotmap"
-version = "1.1.1"
+version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038"
+checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a"
dependencies = [
"version_check",
]
@@ -4982,12 +5124,12 @@ dependencies = [
[[package]]
name = "socket2"
-version = "0.6.2"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86f4aa3ad99f2088c990dfa82d367e19cb29268ed67c574d10d0a4bfe71f07e0"
+checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
dependencies = [
"libc",
- "windows-sys 0.60.2",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -5020,9 +5162,9 @@ dependencies = [
[[package]]
name = "stable_deref_trait"
-version = "1.2.1"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
+checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "static_assertions"
@@ -5114,9 +5256,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "syn"
-version = "2.0.117"
+version = "2.0.108"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
+checksum = "da58917d35242480a05c2897064da0a80589a2a0476c9a3f2fdc83b53502e917"
dependencies = [
"proc-macro2",
"quote",
@@ -5143,6 +5285,20 @@ dependencies = [
"syn",
]
+[[package]]
+name = "sysctl"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec7dddc5f0fee506baf8b9fdb989e242f17e4b11c61dfbb0635b705217199eea"
+dependencies = [
+ "bitflags 2.11.0",
+ "byteorder",
+ "enum-as-inner",
+ "libc",
+ "thiserror 1.0.69",
+ "walkdir",
+]
+
[[package]]
name = "sysctl"
version = "0.6.0"
@@ -5173,16 +5329,16 @@ dependencies = [
[[package]]
name = "sysinfo"
-version = "0.38.3"
+version = "0.38.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d03c61d2a49c649a15c407338afe7accafde9dac869995dccb73e5f7ef7d9034"
+checksum = "92ab6a2f8bfe508deb3c6406578252e491d299cbbf3bc0529ecc3313aee4a52f"
dependencies = [
"libc",
"memchr",
"ntapi",
"objc2-core-foundation",
"objc2-io-kit",
- "windows 0.62.2",
+ "windows 0.62.1",
]
[[package]]
@@ -5198,15 +5354,15 @@ dependencies = [
[[package]]
name = "tempfile"
-version = "3.26.0"
+version = "3.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82a72c767771b47409d2345987fda8628641887d5466101319899796367354a0"
+checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
dependencies = [
"fastrand",
- "getrandom 0.4.1",
+ "getrandom 0.3.4",
"once_cell",
"rustix",
- "windows-sys 0.61.2",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -5346,9 +5502,9 @@ dependencies = [
[[package]]
name = "tinystr"
-version = "0.8.2"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869"
+checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
dependencies = [
"displaydoc",
"zerovec",
@@ -5391,7 +5547,7 @@ dependencies = [
"pin-project-lite",
"socket2",
"tokio-macros",
- "windows-sys 0.61.2",
+ "windows-sys 0.61.1",
]
[[package]]
@@ -5417,9 +5573,9 @@ dependencies = [
[[package]]
name = "tokio-util"
-version = "0.7.18"
+version = "0.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
+checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df"
dependencies = [
"bytes",
"futures-core",
@@ -5437,19 +5593,19 @@ dependencies = [
"serde",
"serde_spanned 0.6.9",
"toml_datetime 0.6.11",
- "toml_edit 0.22.27",
+ "toml_edit",
]
[[package]]
name = "toml"
-version = "0.9.12+spec-1.1.0"
+version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863"
+checksum = "ed0aee96c12fa71097902e0bb061a5e1ebd766a6636bb605ba401c45c1650eac"
dependencies = [
"indexmap",
- "serde_core",
- "serde_spanned 1.0.4",
- "toml_datetime 0.7.5+spec-1.1.0",
+ "serde",
+ "serde_spanned 1.0.0",
+ "toml_datetime 0.7.0",
"toml_parser",
"toml_writer",
"winnow",
@@ -5466,11 +5622,11 @@ dependencies = [
[[package]]
name = "toml_datetime"
-version = "0.7.5+spec-1.1.0"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347"
+checksum = "bade1c3e902f58d73d3f294cd7f20391c1cb2fbcb643b73566bc773971df91e3"
dependencies = [
- "serde_core",
+ "serde",
]
[[package]]
@@ -5487,23 +5643,11 @@ dependencies = [
"winnow",
]
-[[package]]
-name = "toml_edit"
-version = "0.23.10+spec-1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269"
-dependencies = [
- "indexmap",
- "toml_datetime 0.7.5+spec-1.1.0",
- "toml_parser",
- "winnow",
-]
-
[[package]]
name = "toml_parser"
-version = "1.0.9+spec-1.1.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "702d4415e08923e7e1ef96cd5727c0dfed80b4d2fa25db9647fe5eb6f7c5a4c4"
+checksum = "97200572db069e74c512a14117b296ba0a80a30123fbbb5aa1f4a348f639ca30"
dependencies = [
"winnow",
]
@@ -5516,15 +5660,15 @@ checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801"
[[package]]
name = "toml_writer"
-version = "1.0.6+spec-1.1.0"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab16f14aed21ee8bfd8ec22513f7287cd4a91aa92e44edfe2c17ddd004e92607"
+checksum = "fcc842091f2def52017664b53082ecbbeb5c7731092bad69d2c63050401dfd64"
[[package]]
name = "tower"
-version = "0.5.3"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
+checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
dependencies = [
"futures-core",
"futures-util",
@@ -5537,9 +5681,9 @@ dependencies = [
[[package]]
name = "tower-http"
-version = "0.6.8"
+version = "0.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8"
+checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2"
dependencies = [
"bitflags 2.11.0",
"bytes",
@@ -5588,9 +5732,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
[[package]]
name = "tracel-llvm"
-version = "20.1.4-7"
+version = "20.1.4-5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "982535db9eb1a30ac0f2c50239a0eec3e5cf50993a88e92b04747bd2f4d365b2"
+checksum = "4627b8ecdb133afbab87c8123e2828cc9b62f059cdd7fc46f8d052cc62468a5a"
dependencies = [
"tracel-mlir-rs",
"tracel-mlir-sys",
@@ -5598,13 +5742,12 @@ dependencies = [
[[package]]
name = "tracel-llvm-bundler"
-version = "20.1.4-7"
+version = "20.1.4-5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c75b8e477cb8d49d907afab029ca74d48459f5b88c27bdb4c6cd6acb5e61977"
+checksum = "12b8462e833f4b781297588dd39687ecdd5e82130fcb779400d0309000d43768"
dependencies = [
"anyhow",
"bytes",
- "constcat",
"dirs 6.0.0",
"liblzma",
"regex",
@@ -5618,9 +5761,9 @@ dependencies = [
[[package]]
name = "tracel-mlir-rs"
-version = "20.1.4-7"
+version = "20.1.4-5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77a478a35efd68d0ba73f747adfb7923b121c64e7f5be9cd8364ca1dcb772d5c"
+checksum = "0231535210dfb18b6b402d108bcf5b1e5f4efb786d7fad6bfd18b38a1abd897e"
dependencies = [
"tracel-mlir-rs-macros",
"tracel-mlir-sys",
@@ -5628,12 +5771,12 @@ dependencies = [
[[package]]
name = "tracel-mlir-rs-macros"
-version = "20.1.4-7"
+version = "20.1.4-5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a94f36868c3b10b1825945223d99d106c73f4d249f063caa4651deeb9379344"
+checksum = "47f655409936fdd21d77319a8c18b3cfc7d2c61b32c7769e0d1ecc74551d09f5"
dependencies = [
"comrak",
- "convert_case 0.8.0",
+ "convert_case",
"proc-macro2",
"quote",
"regex",
@@ -5645,18 +5788,19 @@ dependencies = [
[[package]]
name = "tracel-mlir-sys"
-version = "20.1.4-7"
+version = "20.1.4-5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "02f26d31af0c225a6d2e3d65d012fd6de848c9fc776897b152ee83b7d1bd15c4"
+checksum = "89c805f361a6f927ba3c404866bd2e6568cb4ae638328305648917ff05ca2413"
dependencies = [
+ "bindgen",
"tracel-llvm-bundler",
]
[[package]]
name = "tracel-tblgen-rs"
-version = "20.1.4-7"
+version = "20.1.4-5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00d2581070380418ccc33b500f3739e4d4869421fdb477fcea51ff97c6253a52"
+checksum = "a8bbcec2bc5d8c8b5d0f02694e986296a997c49e9b4395a31a54327545556107"
dependencies = [
"bindgen",
"cc",
@@ -5678,12 +5822,12 @@ dependencies = [
[[package]]
name = "tracing-appender"
-version = "0.2.4"
+version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "786d480bce6247ab75f005b14ae1624ad978d3029d9113f0a22fa1ac773faeaf"
+checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf"
dependencies = [
"crossbeam-channel",
- "thiserror 2.0.18",
+ "thiserror 1.0.69",
"time",
"tracing-subscriber",
]
@@ -5922,9 +6066,9 @@ dependencies = [
[[package]]
name = "tree-sitter-language"
-version = "0.1.7"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "009994f150cc0cd50ff54917d5bc8bffe8cad10ca10d81c34da2ec421ae61782"
+checksum = "c4013970217383f67b18aef68f6fb2e8d409bc5755227092d32efb0422ba24b8"
[[package]]
name = "tree-sitter-lua"
@@ -6149,11 +6293,32 @@ dependencies = [
"unicode-math-class",
]
+[[package]]
+name = "ug"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90b70b37e9074642bc5f60bb23247fd072a84314ca9e71cdf8527593406a0dd3"
+dependencies = [
+ "gemm 0.18.2",
+ "half",
+ "libloading",
+ "memmap2",
+ "num",
+ "num-traits",
+ "num_cpus",
+ "rayon",
+ "safetensors 0.4.5",
+ "serde",
+ "thiserror 1.0.69",
+ "tracing",
+ "yoke 0.7.5",
+]
+
[[package]]
name = "unicase"
-version = "2.9.0"
+version = "2.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
+checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
[[package]]
name = "unicode-blocks"
@@ -6163,9 +6328,9 @@ checksum = "6b12e05d9e06373163a9bb6bb8c263c261b396643a99445fe6b9811fd376581b"
[[package]]
name = "unicode-ident"
-version = "1.0.24"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
[[package]]
name = "unicode-math-class"
@@ -6175,9 +6340,9 @@ checksum = "7d246cf599d5fae3c8d56e04b20eb519adb89a8af8d0b0fbcded369aa3647d65"
[[package]]
name = "unicode-normalization"
-version = "0.1.25"
+version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8"
+checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
dependencies = [
"tinyvec",
]
@@ -6238,14 +6403,13 @@ checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae"
[[package]]
name = "url"
-version = "2.5.8"
+version = "2.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
+checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
dependencies = [
"form_urlencoded",
"idna",
"percent-encoding",
- "serde",
]
[[package]]
@@ -6334,11 +6498,11 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
[[package]]
name = "wasip2"
-version = "1.0.2+wasi-0.2.9"
+version = "1.0.1+wasi-0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
+checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
dependencies = [
- "wit-bindgen",
+ "wit-bindgen 0.46.0",
]
[[package]]
@@ -6347,14 +6511,14 @@ version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
dependencies = [
- "wit-bindgen",
+ "wit-bindgen 0.51.0",
]
[[package]]
name = "wasm-bindgen"
-version = "0.2.114"
+version = "0.2.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6532f9a5c1ece3798cb1c2cfdba640b9b3ba884f5db45973a6f442510a87d38e"
+checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd"
dependencies = [
"cfg-if",
"once_cell",
@@ -6365,12 +6529,11 @@ dependencies = [
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.64"
+version = "0.4.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e9c5522b3a28661442748e09d40924dfb9ca614b21c00d3fd135720e48b67db8"
+checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c"
dependencies = [
"cfg-if",
- "futures-util",
"js-sys",
"once_cell",
"wasm-bindgen",
@@ -6379,9 +6542,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.114"
+version = "0.2.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18a2d50fcf105fb33bb15f00e7a77b772945a2ee45dcf454961fd843e74c18e6"
+checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -6389,9 +6552,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.114"
+version = "0.2.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03ce4caeaac547cdf713d280eda22a730824dd11e6b8c3ca9e42247b25c631e3"
+checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40"
dependencies = [
"bumpalo",
"proc-macro2",
@@ -6402,9 +6565,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.114"
+version = "0.2.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "75a326b8c223ee17883a4251907455a2431acc2791c98c26279376490c378c16"
+checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4"
dependencies = [
"unicode-ident",
]
@@ -6445,9 +6608,9 @@ dependencies = [
[[package]]
name = "web-sys"
-version = "0.3.91"
+version = "0.3.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "854ba17bb104abfb26ba36da9729addc7ce7f06f5c0f90f3c391f8461cca21f9"
+checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -6477,9 +6640,9 @@ dependencies = [
[[package]]
name = "webpki-roots"
-version = "1.0.6"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22cfaf3c063993ff62e73cb4311efde4db1efb31ab78a3e5c457939ad5cc0bed"
+checksum = "32b130c0d2d49f8b6889abc456e795e82525204f27c42cf767cf0d7734e089b8"
dependencies = [
"rustls-pki-types",
]
@@ -6651,11 +6814,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-util"
-version = "0.1.11"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
- "windows-sys 0.61.2",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -6689,14 +6852,14 @@ dependencies = [
[[package]]
name = "windows"
-version = "0.62.2"
+version = "0.62.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580"
+checksum = "49e6c4a1f363c8210c6f77ba24f645c61c6fb941eccf013da691f7e09515b8ac"
dependencies = [
- "windows-collections 0.3.2",
- "windows-core 0.62.2",
- "windows-future 0.3.2",
- "windows-numerics 0.3.1",
+ "windows-collections 0.3.1",
+ "windows-core 0.62.1",
+ "windows-future 0.3.1",
+ "windows-numerics 0.3.0",
]
[[package]]
@@ -6710,11 +6873,11 @@ dependencies = [
[[package]]
name = "windows-collections"
-version = "0.3.2"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610"
+checksum = "123e712f464a8a60ce1a13f4c446d2d43ab06464cb5842ff68f5c71b6fb7852e"
dependencies = [
- "windows-core 0.62.2",
+ "windows-core 0.62.1",
]
[[package]]
@@ -6745,15 +6908,15 @@ dependencies = [
[[package]]
name = "windows-core"
-version = "0.62.2"
+version = "0.62.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
+checksum = "6844ee5416b285084d3d3fffd743b925a6c9385455f64f6d4fa3031c4c2749a9"
dependencies = [
"windows-implement 0.60.2",
"windows-interface 0.59.3",
- "windows-link 0.2.1",
- "windows-result 0.4.1",
- "windows-strings 0.5.1",
+ "windows-link 0.2.0",
+ "windows-result 0.4.0",
+ "windows-strings 0.5.0",
]
[[package]]
@@ -6769,13 +6932,13 @@ dependencies = [
[[package]]
name = "windows-future"
-version = "0.3.2"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"
+checksum = "68f3db6b24b120200d649cd4811b4947188ed3a8d2626f7075146c5d178a9a4a"
dependencies = [
- "windows-core 0.62.2",
- "windows-link 0.2.1",
- "windows-threading 0.2.1",
+ "windows-core 0.62.1",
+ "windows-link 0.2.0",
+ "windows-threading 0.2.0",
]
[[package]]
@@ -6830,9 +6993,9 @@ checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
[[package]]
name = "windows-link"
-version = "0.2.1"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65"
[[package]]
name = "windows-numerics"
@@ -6846,12 +7009,12 @@ dependencies = [
[[package]]
name = "windows-numerics"
-version = "0.3.1"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"
+checksum = "2ce3498fe0aba81e62e477408383196b4b0363db5e0c27646f932676283b43d8"
dependencies = [
- "windows-core 0.62.2",
- "windows-link 0.2.1",
+ "windows-core 0.62.1",
+ "windows-link 0.2.0",
]
[[package]]
@@ -6874,11 +7037,11 @@ dependencies = [
[[package]]
name = "windows-result"
-version = "0.4.1"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
+checksum = "7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link 0.2.0",
]
[[package]]
@@ -6902,11 +7065,11 @@ dependencies = [
[[package]]
name = "windows-strings"
-version = "0.5.1"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
+checksum = "7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link 0.2.0",
]
[[package]]
@@ -6918,22 +7081,31 @@ dependencies = [
"windows-targets 0.52.6",
]
+[[package]]
+name = "windows-sys"
+version = "0.59.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+dependencies = [
+ "windows-targets 0.52.6",
+]
+
[[package]]
name = "windows-sys"
version = "0.60.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
dependencies = [
- "windows-targets 0.53.5",
+ "windows-targets 0.53.3",
]
[[package]]
name = "windows-sys"
-version = "0.61.2"
+version = "0.61.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+checksum = "6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link 0.2.0",
]
[[package]]
@@ -6954,19 +7126,19 @@ dependencies = [
[[package]]
name = "windows-targets"
-version = "0.53.5"
+version = "0.53.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
+checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
dependencies = [
- "windows-link 0.2.1",
- "windows_aarch64_gnullvm 0.53.1",
- "windows_aarch64_msvc 0.53.1",
- "windows_i686_gnu 0.53.1",
- "windows_i686_gnullvm 0.53.1",
- "windows_i686_msvc 0.53.1",
- "windows_x86_64_gnu 0.53.1",
- "windows_x86_64_gnullvm 0.53.1",
- "windows_x86_64_msvc 0.53.1",
+ "windows-link 0.1.3",
+ "windows_aarch64_gnullvm 0.53.0",
+ "windows_aarch64_msvc 0.53.0",
+ "windows_i686_gnu 0.53.0",
+ "windows_i686_gnullvm 0.53.0",
+ "windows_i686_msvc 0.53.0",
+ "windows_x86_64_gnu 0.53.0",
+ "windows_x86_64_gnullvm 0.53.0",
+ "windows_x86_64_msvc 0.53.0",
]
[[package]]
@@ -6980,11 +7152,11 @@ dependencies = [
[[package]]
name = "windows-threading"
-version = "0.2.1"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
+checksum = "ab47f085ad6932defa48855254c758cdd0e2f2d48e62a34118a268d8f345e118"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link 0.2.0",
]
[[package]]
@@ -6995,9 +7167,9 @@ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
name = "windows_aarch64_gnullvm"
-version = "0.53.1"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
+checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
[[package]]
name = "windows_aarch64_msvc"
@@ -7007,9 +7179,9 @@ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
name = "windows_aarch64_msvc"
-version = "0.53.1"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
+checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
[[package]]
name = "windows_i686_gnu"
@@ -7019,9 +7191,9 @@ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
name = "windows_i686_gnu"
-version = "0.53.1"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
+checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
[[package]]
name = "windows_i686_gnullvm"
@@ -7031,9 +7203,9 @@ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_gnullvm"
-version = "0.53.1"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
+checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
[[package]]
name = "windows_i686_msvc"
@@ -7043,9 +7215,9 @@ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_i686_msvc"
-version = "0.53.1"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
+checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
[[package]]
name = "windows_x86_64_gnu"
@@ -7055,9 +7227,9 @@ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnu"
-version = "0.53.1"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
+checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
[[package]]
name = "windows_x86_64_gnullvm"
@@ -7067,9 +7239,9 @@ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_gnullvm"
-version = "0.53.1"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
+checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
[[package]]
name = "windows_x86_64_msvc"
@@ -7079,19 +7251,25 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "windows_x86_64_msvc"
-version = "0.53.1"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
+checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
[[package]]
name = "winnow"
-version = "0.7.14"
+version = "0.7.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829"
+checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95"
dependencies = [
"memchr",
]
+[[package]]
+name = "wit-bindgen"
+version = "0.46.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
+
[[package]]
name = "wit-bindgen"
version = "0.51.0"
@@ -7182,9 +7360,9 @@ dependencies = [
[[package]]
name = "writeable"
-version = "0.6.2"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9"
+checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
[[package]]
name = "xattr"
@@ -7198,9 +7376,9 @@ dependencies = [
[[package]]
name = "xml-rs"
-version = "0.8.28"
+version = "0.8.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f"
+checksum = "6fd8403733700263c6eb89f192880191f1b83e332f7a20371ddcf421c4a337c7"
[[package]]
name = "yansi"
@@ -7210,20 +7388,45 @@ checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
[[package]]
name = "yoke"
-version = "0.8.1"
+version = "0.7.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
+dependencies = [
+ "serde",
+ "stable_deref_trait",
+ "yoke-derive 0.7.5",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954"
+checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc"
dependencies = [
+ "serde",
"stable_deref_trait",
- "yoke-derive",
+ "yoke-derive 0.8.0",
"zerofrom",
]
[[package]]
name = "yoke-derive"
-version = "0.8.1"
+version = "0.7.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "synstructure",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d"
+checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6"
dependencies = [
"proc-macro2",
"quote",
@@ -7233,18 +7436,18 @@ dependencies = [
[[package]]
name = "zerocopy"
-version = "0.8.40"
+version = "0.8.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5"
+checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f"
dependencies = [
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
-version = "0.8.40"
+version = "0.8.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953"
+checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
dependencies = [
"proc-macro2",
"quote",
@@ -7280,31 +7483,31 @@ checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
[[package]]
name = "zerotrie"
-version = "0.2.3"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851"
+checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595"
dependencies = [
"displaydoc",
- "yoke",
+ "yoke 0.8.0",
"zerofrom",
]
[[package]]
name = "zerovec"
-version = "0.11.5"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002"
+checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
dependencies = [
- "yoke",
+ "yoke 0.8.0",
"zerofrom",
"zerovec-derive",
]
[[package]]
name = "zerovec-derive"
-version = "0.11.2"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3"
+checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f"
dependencies = [
"proc-macro2",
"quote",
@@ -7313,14 +7516,17 @@ dependencies = [
[[package]]
name = "zip"
-version = "7.2.0"
+version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c42e33efc22a0650c311c2ef19115ce232583abbe80850bc8b66509ebef02de0"
+checksum = "9cc23c04387f4da0374be4533ad1208cbb091d5c11d070dfef13676ad6497164"
dependencies = [
+ "arbitrary",
"crc32fast",
+ "crossbeam-utils",
+ "displaydoc",
"indexmap",
- "memchr",
- "typed-path",
+ "num_enum",
+ "thiserror 1.0.69",
]
[[package]]
@@ -7339,15 +7545,15 @@ dependencies = [
[[package]]
name = "zlib-rs"
-version = "0.6.3"
+version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3be3d40e40a133f9c916ee3f9f4fa2d9d63435b5fbe1bfc6d9dae0aa0ada1513"
+checksum = "40990edd51aae2c2b6907af74ffb635029d5788228222c4bb811e9351c0caad3"
[[package]]
name = "zmij"
-version = "1.0.21"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
+checksum = "0f4a4e8e9dc5c62d159f04fcdbe07f4c3fb710415aab4754bf11505501e3251d"
[[package]]
name = "zopfli"
diff --git a/harper-cli/src/lint.rs b/harper-cli/src/lint.rs
index fbcddf714..7be5aa542 100644
--- a/harper-cli/src/lint.rs
+++ b/harper-cli/src/lint.rs
@@ -551,6 +551,14 @@ fn configure_lint_group(
.iter()
.for_each(|rule| lint_group.config.set_rule_enabled(rule, false));
}
+
+ // Have all rules been disabled somehow?
+ if !lint_group
+ .iter_keys()
+ .any(|rule| lint_group.config.is_rule_enabled(rule))
+ {
+ eprintln!("Warning: No rules are enabled.");
+ }
}
fn count_lint_kinds_and_rules(
diff --git a/harper-core/src/linting/closed_compounds.rs b/harper-core/src/linting/closed_compounds.rs
index 77a104c33..1ec310fde 100644
--- a/harper-core/src/linting/closed_compounds.rs
+++ b/harper-core/src/linting/closed_compounds.rs
@@ -53,7 +53,6 @@ pub fn lint_group() -> LintGroup {
"Multithreading" => ("multi threading", "multithreading"),
"Myself" => ("my self", "myself"),
"Nonetheless" => ("none the less", "nonetheless"),
- "Nobody" => ("no body", "nobody"),
"Nowhere" => ("no where", "nowhere"),
"Nothing" => ("no thing", "nothing"),
"Notwithstanding" => ("not with standing", "notwithstanding"),
@@ -89,7 +88,7 @@ pub fn lint_group() -> LintGroup {
#[cfg(test)]
mod tests {
- use crate::linting::tests::assert_suggestion_result;
+ use crate::linting::tests::{assert_no_lints, assert_suggestion_result};
use super::lint_group;
@@ -261,6 +260,18 @@ mod tests {
assert_suggestion_result(test_sentence, lint_group(), expected);
}
+ #[test]
+ fn in_tact() {
+ let test_sentence = "The code remains in tact after the merge.";
+ let expected = "The code remains intact after the merge.";
+ assert_suggestion_result(test_sentence, lint_group(), expected);
+ }
+
+ #[test]
+ fn intact_is_allowed() {
+ assert_no_lints("The data set remains intact.", lint_group());
+ }
+
#[test]
fn key_stokes() {
let test_sentence = "These key stokes are hard to memorize.";
diff --git a/harper-core/src/linting/its_contraction/general.rs b/harper-core/src/linting/its_contraction/general.rs
index 70e6c6f37..5003e3bf4 100644
--- a/harper-core/src/linting/its_contraction/general.rs
+++ b/harper-core/src/linting/its_contraction/general.rs
@@ -15,6 +15,12 @@ impl Default for General {
fn default() -> Self {
let positive = SequenceExpr::default().t_aco("its").then_whitespace().then(
UPOSSet::new(&[UPOS::VERB, UPOS::AUX, UPOS::DET, UPOS::PRON])
+ .or(WordSet::new(&[
+ "anywhere",
+ "everywhere",
+ "somewhere",
+ "nowhere",
+ ]))
.or(WordSet::new(&["because"])),
);
@@ -67,6 +73,73 @@ impl General {
let offender_chars = offender.span.get_content(source);
let modifier = toks.get(2)?;
+ let modifier_text = modifier.span.get_content_string(source);
+ let modifier_lower = modifier_text.to_ascii_lowercase();
+ let next_kind = toks.get(4).map(|tok| tok.kind.clone());
+
+ if preceding_word(source, offender.span.start).as_deref() == Some("at")
+ && matches!(
+ modifier_text.as_str(),
+ "highest" | "lowest" | "best" | "worst"
+ )
+ {
+ return None;
+ }
+
+ let exact_contraction_words = [
+ "anybody",
+ "anyone",
+ "anything",
+ "anywhere",
+ "everybody",
+ "everyone",
+ "everything",
+ "everywhere",
+ "nobody",
+ "nothing",
+ "nowhere",
+ "somebody",
+ "someone",
+ "something",
+ "somewhere",
+ "because",
+ ];
+
+ let determiner_like_words = [
+ "a", "an", "my", "your", "his", "her", "our", "their", "this", "that",
+ ];
+
+ let contraction_adjectives = ["common", "easy", "hard"];
+
+ let strong_predicative_verbs = [
+ "had", "been", "got", "called", "named", "known", "termed", "titled",
+ ];
+
+ let should_consider = if exact_contraction_words.contains(&modifier_lower.as_str())
+ || determiner_like_words.contains(&modifier_lower.as_str())
+ {
+ true
+ } else if modifier.kind.is_upos(UPOS::ADJ) {
+ contraction_adjectives.contains(&modifier_lower.as_str())
+ && next_kind
+ .is_some_and(|kind| kind.is_upos(UPOS::SCONJ) || kind.is_upos(UPOS::PART))
+ } else if modifier.kind.is_upos(UPOS::VERB) || modifier.kind.is_upos(UPOS::AUX) {
+ let blocks_contraction = !strong_predicative_verbs.contains(&modifier_lower.as_str())
+ && (next_non_whitespace_word(source, modifier.span.end).is_some_and(|word| {
+ matches!(
+ word.as_str(),
+ "is" | "was" | "were" | "be" | "been" | "being" | "to"
+ )
+ }) || next_kind.is_some_and(|kind| kind.is_noun() || kind.is_proper_noun()));
+
+ !blocks_contraction
+ } else {
+ false
+ };
+
+ if !should_consider {
+ return None;
+ }
if modifier.kind.is_upos(UPOS::VERB)
&& NominalPhrase.matches(&toks[2..], source).is_some()
@@ -132,3 +205,46 @@ impl General {
.any(|word| text.eq_ignore_ascii_case(word))
}
}
+
+fn preceding_word(source: &[char], offset: usize) -> Option<String> {
+ let prefix = source.get(..offset)?;
+ let mut i = prefix.len().checked_sub(1)?;
+
+ while prefix[i].is_whitespace() {
+ i = i.checked_sub(1)?;
+ }
+
+ let start = prefix[..=i]
+ .iter()
+ .rposition(|c| c.is_whitespace())
+ .map(|pos| pos + 1)
+ .unwrap_or(0);
+
+ Some(
+ prefix[start..=i]
+ .iter()
+ .collect::<String>()
+ .to_ascii_lowercase(),
+ )
+}
+
+fn next_non_whitespace_word(source: &[char], offset: usize) -> Option<String> {
+ let suffix = source.get(offset..)?;
+ let mut iter = suffix
+ .iter()
+ .enumerate()
+ .skip_while(|(_, c)| c.is_whitespace());
+ let start = iter.next()?.0;
+ let end = suffix[start..]
+ .iter()
+ .position(|c| c.is_whitespace() || c.is_ascii_punctuation())
+ .map(|len| start + len)
+ .unwrap_or(suffix.len());
+
+ Some(
+ suffix[start..end]
+ .iter()
+ .collect::<String>()
+ .to_ascii_lowercase(),
+ )
+}
diff --git a/harper-core/src/linting/its_contraction/mod.rs b/harper-core/src/linting/its_contraction/mod.rs
index 7b45f5c11..64780bea7 100644
--- a/harper-core/src/linting/its_contraction/mod.rs
+++ b/harper-core/src/linting/its_contraction/mod.rs
@@ -325,4 +325,190 @@ mod tests {
ItsContraction::default(),
);
}
+
+ #[test]
+ fn corrects_its_anybody() {
+ assert_suggestion_result(
+ "Its anybody who volunteers should speak up.",
+ ItsContraction::default(),
+ "It's anybody who volunteers should speak up.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_anyone() {
+ assert_suggestion_result(
+ "Its anyone you ping will be looped in automatically.",
+ ItsContraction::default(),
+ "It's anyone you ping will be looped in automatically.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_everyone() {
+ assert_suggestion_result(
+ "Its everyone on the thread noticed the spike.",
+ ItsContraction::default(),
+ "It's everyone on the thread noticed the spike.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_everything() {
+ assert_suggestion_result(
+ "Its everything we collect ends up in the archive.",
+ ItsContraction::default(),
+ "It's everything we collect ends up in the archive.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_somebody() {
+ assert_suggestion_result(
+ "Its somebody on call right now.",
+ ItsContraction::default(),
+ "It's somebody on call right now.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_somewhere() {
+ assert_suggestion_result(
+ "Its somewhere safe to stash the nightly dump.",
+ ItsContraction::default(),
+ "It's somewhere safe to stash the nightly dump.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_nobody() {
+ assert_suggestion_result(
+ "Its nobody left who can approve this.",
+ ItsContraction::default(),
+ "It's nobody left who can approve this.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_anywhere() {
+ assert_suggestion_result(
+ "Its anywhere the monitors blink red.",
+ ItsContraction::default(),
+ "It's anywhere the monitors blink red.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_anything() {
+ assert_suggestion_result(
+ "Its anything worth keeping should be archived.",
+ ItsContraction::default(),
+ "It's anything worth keeping should be archived.",
+ );
+ }
+
+ #[test]
+ fn corrects_its_something() {
+ assert_suggestion_result(
+ "Its something that keeps restarting the job.",
+ ItsContraction::default(),
+ "It's something that keeps restarting the job.",
+ );
+ }
+
+ #[test]
+ fn allows_its_tail() {
+ assert_no_lints(
+ "Its tail twitches every time I call it.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_release_pipeline() {
+ assert_no_lints(
+ "Its release pipeline is stable in production.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_nodes() {
+ assert_no_lints(
+ "The cluster updates its nodes nightly.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_cover_page() {
+ assert_no_lints(
+ "Its cover page mentions all contributors.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_not_anybody() {
+ assert_no_lints(
+ "Its not anybody to blame despite the outage.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_never_anywhere() {
+ assert_no_lints(
+ "Its never anywhere near the ideal timing we hoped for.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_at_its_highest() {
+ assert_no_lints(
+ "Curiosity about Gatsby was at its highest that night.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_pull_is() {
+ assert_no_lints(
+ "The Earth is huge, so its pull is super strong.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_unforeseen_consequences() {
+ assert_no_lints(
+ "The experiment continued despite its unforeseen consequences.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_potential_to_benefit() {
+ assert_no_lints(
+ "The proposal emphasized its potential to benefit local businesses.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_cover_was() {
+ assert_no_lints(
+ "Its cover was intricately engraved with floral patterns.",
+ ItsContraction::default(),
+ );
+ }
+
+ #[test]
+ fn allows_its_starting_level() {
+ assert_no_lints(
+ "Reduce the tracker to its starting level.",
+ ItsContraction::default(),
+ );
+ }
}
diff --git a/harper-core/src/linting/lint_group.rs b/harper-core/src/linting/lint_group.rs
index c5a94bc91..da5464178 100644
--- a/harper-core/src/linting/lint_group.rs
+++ b/harper-core/src/linting/lint_group.rs
@@ -376,6 +376,7 @@ pub struct LintGroup {
/// of the key.
chunk_expr_cache: LruCache<(CharString, u64), BTreeMap<String, Vec<Lint>>>,
hasher_builder: RandomState,
+ clashing_linter_names: Option<Vec<String>>,
}
impl LintGroup {
@@ -388,9 +389,136 @@ impl LintGroup {
chunk_expr_linters: BTreeMap::new(),
chunk_expr_cache: LruCache::new(NonZero::new(1000).unwrap()),
hasher_builder: RandomState::default(),
+ clashing_linter_names: None,
}
}
+ // Non-constructor methods
+
+ /// Check if the group already contains a linter with a given name.
+ pub fn contains_key(&self, name: impl AsRef<str>) -> bool {
+ self.linters.contains_key(name.as_ref())
+ || self.chunk_expr_linters.contains_key(name.as_ref())
+ }
+
+ /// Add a [`Linter`] to the group, returning whether the operation was successful.
+ /// If it returns `false`, it is because a linter with that key already existed in the group.
+ pub fn add(&mut self, name: impl AsRef<str>, linter: impl Linter + 'static) -> bool {
+ if self.contains_key(&name) {
+ if self.clashing_linter_names.is_none() {
+ self.clashing_linter_names = Some(vec![name.as_ref().to_string()]);
+ } else if let Some(clashing_names) = &mut self.clashing_linter_names {
+ clashing_names.push(name.as_ref().to_string());
+ }
+ false
+ } else {
+ self.linters
+ .insert(name.as_ref().to_string(), Box::new(linter));
+ true
+ }
+ }
+
+ /// Add a chunk-based [`ExprLinter`] to the group, returning whether the operation was successful.
+ /// If it returns `false`, it is because a linter with that key already existed in the group.
+ ///
+ /// This function is not significantly different from [`Self::add`], but allows us to take
+ /// advantage of some properties of chunk-based [`ExprLinter`]s for cache optimization.
+ pub fn add_chunk_expr_linter(
+ &mut self,
+ name: impl AsRef<str>,
+ // linter: impl ExprLinter + 'static,
+ linter: impl ExprLinter<Unit = Chunk> + 'static,
+ ) -> bool {
+ if self.contains_key(&name) {
+ if self.clashing_linter_names.is_none() {
+ self.clashing_linter_names = Some(vec![name.as_ref().to_string()]);
+ } else if let Some(clashing_names) = &mut self.clashing_linter_names {
+ clashing_names.push(name.as_ref().to_string());
+ }
+ false
+ } else {
+ self.chunk_expr_linters
+ .insert(name.as_ref().to_string(), Box::new(linter) as _);
+ true
+ }
+ }
+
+ /// Merge the contents of another [`LintGroup`] into this one.
+ /// The other lint group will be left empty after this operation.
+ pub fn merge_from(&mut self, other: &mut LintGroup) {
+ self.config.merge_from(&mut other.config);
+
+ let other_linters = std::mem::take(&mut other.linters);
+ if let Some((conflicting_key, _)) = other_linters.iter().find(|(k, _)| self.contains_key(k))
+ {
+ if self.clashing_linter_names.is_none() {
+ self.clashing_linter_names = Some(vec![conflicting_key.clone()]);
+ } else if let Some(clashing_names) = &mut self.clashing_linter_names {
+ clashing_names.push(conflicting_key.clone());
+ }
+ }
+ self.linters.extend(other_linters);
+
+ let other_expr_linters = std::mem::take(&mut other.chunk_expr_linters);
+ if let Some((conflicting_key, _)) = other_expr_linters
+ .iter()
+ .find(|(k, _)| self.contains_key(k))
+ {
+ if self.clashing_linter_names.is_none() {
+ self.clashing_linter_names = Some(vec![conflicting_key.clone()]);
+ } else if let Some(clashing_names) = &mut self.clashing_linter_names {
+ clashing_names.push(conflicting_key.clone());
+ }
+ }
+ self.chunk_expr_linters.extend(other_expr_linters);
+ }
+
+ pub fn iter_keys(&self) -> impl Iterator<Item = &str> {
+ self.linters
+ .keys()
+ .chain(self.chunk_expr_linters.keys())
+ .map(|v| v.as_str())
+ }
+
+ /// Set all contained rules to a specific value.
+ /// Passing `None` will unset that rule, allowing it to assume its default state.
+ pub fn set_all_rules_to(&mut self, enabled: Option<bool>) {
+ let keys = self.iter_keys().map(|v| v.to_string()).collect::<Vec<_>>();
+
+ for key in keys {
+ match enabled {
+ Some(v) => self.config.set_rule_enabled(key, v),
+ None => self.config.unset_rule_enabled(key),
+ }
+ }
+ }
+
+ /// Get map from each contained linter's name to its associated description.
+ pub fn all_descriptions(&self) -> HashMap<&str, &str> {
+ self.linters
+ .iter()
+ .map(|(key, value)| (key.as_str(), value.description()))
+ .chain(
+ self.chunk_expr_linters
+ .iter()
+ .map(|(key, value)| (key.as_str(), ExprLinter::description(value))),
+ )
+ .collect()
+ }
+
+ /// Get map from each contained linter's name to its associated description, rendered to HTML.
+ pub fn all_descriptions_html(&self) -> HashMap<&str, String> {
+ self.linters
+ .iter()
+ .map(|(key, value)| (key.as_str(), value.description_html()))
+ .chain(
+ self.chunk_expr_linters
+ .iter()
+ .map(|(key, value)| (key.as_str(), value.description_html())),
+ )
+ .collect()
+ }
+
/// Swap out [`Self::config`] with another [`LintGroupConfig`].
pub fn with_lint_config(mut self, config: LintGroupConfig) -> Self {
self.config = config;
@@ -400,7 +528,7 @@ impl LintGroup {
pub fn new_curated(dictionary: Arc<impl Dictionary + 'static>, dialect: Dialect) -> Self {
let mut out = Self::empty();
- /// Add a `Linter` to the group, setting it to be enabled by default.
+ /// Add a `Linter` to the group, setting it to be enabled or disabled.
macro_rules! insert_struct_rule {
($rule:ident, $default_config:expr) => {
out.add(stringify!($rule), $rule::default());
@@ -409,7 +537,25 @@ impl LintGroup {
};
}
- /// Add a chunk-based `ExprLinter` to the group, setting it to be enabled by default.
+ /// Add a `Linter` that requires a `Dictionary` to the group, setting it to be enabled or disabled.
+ macro_rules! insert_struct_rule_with_dict {
+ ($rule:ident, $default_config:expr) => {
+ out.add(stringify!($rule), $rule::new(dictionary.clone()));
+ out.config
+ .set_rule_enabled(stringify!($rule), $default_config);
+ };
+ }
+
+ /// Add a `Linter` that requires a `Dialect` to the group, setting it to be enabled or disabled.
+ macro_rules! insert_struct_rule_with_dialect {
+ ($rule:ident, $default_config:expr) => {
+ out.add(stringify!($rule), $rule::new(dialect));
+ out.config
+ .set_rule_enabled(stringify!($rule), $default_config);
+ };
+ }
+
+ /// Add a chunk-based `ExprLinter` to the group, setting it to be enabled or disabled.
/// While you _can_ pass an `ExprLinter` to `insert_struct_rule`, using this macro instead
/// will allow it to use more aggressive caching strategies.
macro_rules! insert_expr_rule {
@@ -420,6 +566,24 @@ impl LintGroup {
};
}
+ /// Add a chunk-based `ExprLinter` that requires a `Dictionary` to the group, setting it to be enabled or disabled.
+ macro_rules! insert_expr_rule_with_dict {
+ ($rule:ident, $default_config:expr) => {
+ out.add_chunk_expr_linter(stringify!($rule), $rule::new(dictionary.clone()));
+ out.config
+ .set_rule_enabled(stringify!($rule), $default_config);
+ };
+ }
+
+ /// Add a chunk-based `ExprLinter` that requires a `Dialect` to the group, setting it to be enabled or disabled.
+ macro_rules! insert_expr_rule_with_dialect {
+ ($rule:ident, $default_config:expr) => {
+ out.add_chunk_expr_linter(stringify!($rule), $rule::new(dialect));
+ out.config
+ .set_rule_enabled(stringify!($rule), $default_config);
+ };
+ }
+
out.merge_from(&mut weir_rules::lint_group());
out.merge_from(&mut phrase_set_corrections::lint_group());
out.merge_from(&mut proper_noun_capitalization_linters::lint_group(
@@ -442,6 +606,7 @@ impl LintGroup {
insert_expr_rule!(AllowTo, true);
insert_expr_rule!(AmInTheMorning, true);
insert_expr_rule!(AmountsFor, true);
+ insert_struct_rule_with_dialect!(AnA, true);
insert_expr_rule!(AndIn, true);
insert_expr_rule!(AndTheLike, true);
insert_expr_rule!(AnotherThingComing, true);
@@ -474,8 +639,10 @@ impl LintGroup {
insert_expr_rule!(DayAndAge, true);
insert_expr_rule!(DespiteItIs, true);
insert_expr_rule!(DespiteOf, true);
+ insert_expr_rule_with_dict!(DidPast, true);
insert_expr_rule!(Didnt, true);
insert_struct_rule!(DiscourseMarkers, true);
+ insert_expr_rule_with_dict!(DisjointPrefixes, true);
insert_expr_rule!(DoMistake, true);
insert_expr_rule!(DotInitialisms, true);
insert_expr_rule!(DoubleClick, true);
@@ -488,6 +655,7 @@ impl LintGroup {
insert_expr_rule!(ExpandTimeShorthands, true);
insert_expr_rule!(FarBeIt, true);
insert_expr_rule!(FascinatedBy, true);
+ insert_expr_rule_with_dialect!(FedUpWith, true);
insert_expr_rule!(FeelFell, true);
insert_expr_rule!(FewUnitsOfTimeAgo, true);
insert_expr_rule!(FillerWords, true);
@@ -502,6 +670,7 @@ impl LintGroup {
insert_expr_rule!(GoodAt, true);
insert_expr_rule!(Handful, true);
insert_expr_rule!(HavePronoun, true);
+ insert_struct_rule_with_dialect!(HaveTakeALook, true);
insert_expr_rule!(Hedging, true);
insert_expr_rule!(HelloGreeting, true);
insert_expr_rule!(Hereby, true);
@@ -510,6 +679,8 @@ impl LintGroup {
insert_expr_rule!(HyphenateNumberDay, true);
insert_expr_rule!(IAmAgreement, true);
insert_expr_rule!(IfWouldve, true);
+ insert_struct_rule_with_dialect!(InOnTheCards, true);
+ insert_struct_rule_with_dict!(InflectedVerbAfterTo, true);
insert_expr_rule!(InterestedIn, true);
insert_expr_rule!(ItLooksLikeThat, true);
insert_struct_rule!(ItsContraction, true);
@@ -525,6 +696,7 @@ impl LintGroup {
insert_struct_rule!(LongSentences, true);
insert_expr_rule!(LookDownOnesNose, true);
insert_expr_rule!(LookingForwardTo, true);
+ insert_struct_rule_with_dict!(MassNouns, true);
insert_struct_rule!(MergeWords, true);
insert_expr_rule!(MissingPreposition, true);
insert_expr_rule!(MissingTo, true);
@@ -534,6 +706,7 @@ impl LintGroup {
insert_expr_rule!(ModalOf, true);
insert_expr_rule!(ModalSeem, true);
insert_expr_rule!(Months, true);
+ insert_expr_rule_with_dict!(MoreAdjective, true);
insert_expr_rule!(MoreBetter, true);
insert_expr_rule!(MostNumber, true);
insert_expr_rule!(MostOfTheTimes, true);
@@ -556,6 +729,7 @@ impl LintGroup {
insert_expr_rule!(OnFloor, true);
insert_expr_rule!(OnceOrTwice, true);
insert_expr_rule!(OneAndTheSame, true);
+ insert_expr_rule_with_dict!(OneOfTheSingular, true);
insert_expr_rule!(OpenCompounds, true);
insert_expr_rule!(OpenTheLight, true);
insert_expr_rule!(OrthographicConsistency, true);
@@ -566,18 +740,21 @@ impl LintGroup {
insert_struct_rule!(PhrasalVerbAsCompoundNoun, true);
insert_expr_rule!(PiqueInterest, true);
insert_expr_rule!(PluralWrongWordOfPhrase, true);
+ insert_struct_rule_with_dict!(PossessiveNoun, false);
insert_expr_rule!(PossessiveYour, true);
insert_expr_rule!(ProgressiveNeedsBe, true);
insert_expr_rule!(PronounAre, true);
insert_struct_rule!(PronounContraction, true);
insert_expr_rule!(PronounInflectionBe, true);
insert_expr_rule!(PronounKnew, true);
+ insert_expr_rule_with_dict!(PronounVerbAgreement, true);
insert_expr_rule!(QuantifierNeedsOf, true);
insert_expr_rule!(QuantifierNumeralConflict, true);
insert_expr_rule!(QuiteQuiet, true);
insert_struct_rule!(QuoteSpacing, true);
insert_expr_rule!(RedundantAcronyms, true);
insert_expr_rule!(RedundantAdditiveAdverbs, true);
+ insert_struct_rule_with_dialect!(Regionalisms, true);
insert_struct_rule!(RepeatedWords, true);
insert_expr_rule!(Respond, true);
insert_expr_rule!(RightClick, true);
@@ -585,6 +762,7 @@ impl LintGroup {
insert_expr_rule!(RollerSkated, true);
insert_expr_rule!(SafeToSave, true);
insert_expr_rule!(SaveToSafe, true);
+ insert_struct_rule_with_dict!(SentenceCapitalization, true);
insert_expr_rule!(ShootOneselfInTheFoot, true);
insert_expr_rule!(SimplePastToPastParticiple, true);
insert_expr_rule!(SinceDuration, true);
@@ -618,9 +796,11 @@ impl LintGroup {
insert_expr_rule!(ToAdverb, true);
insert_struct_rule!(ToTwoToo, true);
insert_expr_rule!(Touristic, true);
+ insert_expr_rule_with_dict!(TransposedSpace, true);
insert_expr_rule!(TryOnesHandAt, true);
insert_struct_rule!(UnclosedQuotes, true);
insert_expr_rule!(UpdatePlaceNames, true);
+ insert_struct_rule_with_dict!(UseTitleCase, true);
insert_expr_rule!(VerbToAdjective, true);
insert_expr_rule!(VeryUnique, true);
insert_expr_rule!(ViceVersa, true);
@@ -636,85 +816,15 @@ impl LintGroup {
insert_expr_rule!(WinPrize, true);
insert_expr_rule!(WishCould, true);
insert_struct_rule!(WordPressDotcom, true);
+ insert_expr_rule_with_dict!(WorthToDo, true);
insert_expr_rule!(WouldNeverHave, true);
insert_expr_rule!(WrongApostrophe, true);
- out.add("SpellCheck", SpellCheck::new(dictionary.clone(), dialect));
- out.config.set_rule_enabled("SpellCheck", true);
-
- out.add(
- "InflectedVerbAfterTo",
- InflectedVerbAfterTo::new(dictionary.clone()),
- );
- out.config.set_rule_enabled("InflectedVerbAfterTo", true);
-
- out.add_chunk_expr_linter("InOnTheCards", InOnTheCards::new(dialect));
- out.config.set_rule_enabled("InOnTheCards", true);
-
- out.add(
- "SentenceCapitalization",
- SentenceCapitalization::new(dictionary.clone()),
- );
- out.config.set_rule_enabled("SentenceCapitalization", true);
-
- out.add("PossessiveNoun", PossessiveNoun::new(dictionary.clone()));
- out.config.set_rule_enabled("PossessiveNoun", false);
-
- out.add_chunk_expr_linter("Regionalisms", Regionalisms::new(dialect));
- out.config.set_rule_enabled("Regionalisms", true);
-
- out.add_chunk_expr_linter("HaveTakeALook", HaveTakeALook::new(dialect));
- out.config.set_rule_enabled("HaveTakeALook", true);
-
- out.add("MassNouns", MassNouns::new(dictionary.clone()));
- out.config.set_rule_enabled("MassNouns", true);
-
- out.add("UseTitleCase", UseTitleCase::new(dictionary.clone()));
- out.config.set_rule_enabled("UseTitleCase", true);
-
- out.add_chunk_expr_linter(
- "DisjointPrefixes",
- DisjointPrefixes::new(dictionary.clone()),
- );
- out.config.set_rule_enabled("DisjointPrefixes", true);
-
- // add_chunk_expr_linter doesn't support the `Sentence` `Unit` and there is not yet any
- // `add_sentence_expr_linter`
+ // Uses Sentence rather than Chunk
out.add("Damages", Damages::default());
out.config.set_rule_enabled("Damages", true);
- out.add(
- "PronounVerbAgreement",
- PronounVerbAgreement::new(dictionary.clone()),
- );
- out.config.set_rule_enabled("PronounVerbAgreement", true);
-
- out.add_chunk_expr_linter("TransposedSpace", TransposedSpace::new(dictionary.clone()));
- out.config.set_rule_enabled("TransposedSpace", true);
-
- out.add_chunk_expr_linter(
- "OneOfTheSingular",
- OneOfTheSingular::new(dictionary.clone()),
- );
- out.config.set_rule_enabled("OneOfTheSingular", true);
-
- out.add("AnA", AnA::new(dialect));
- out.config.set_rule_enabled("AnA", true);
-
- out.add("MoreAdjective", MoreAdjective::new(dictionary.clone()));
- out.config.set_rule_enabled("MoreAdjective", true);
-
- out.add("WorthToDo", WorthToDo::new(dictionary.clone()));
- out.config.set_rule_enabled("WorthToDo", true);
-
- out.add_chunk_expr_linter("DidPast", DidPast::new(dictionary.clone()));
- out.config.set_rule_enabled("DidPast", true);
-
- out.add_chunk_expr_linter("FedUpWith", FedUpWith::new(dialect));
- out.config.set_rule_enabled("FedUpWith", true);
-
- // add_chunk_expr_linter doesn't support the `Sentence` `Unit` and there is not yet any
- // `add_sentence_expr_linter`
+ // Uses Sentence rather than Chunk
out.add(
"MultipleFrequencyAdverbs",
MultipleFrequencyAdverbs::default(),
@@ -722,11 +832,14 @@ impl LintGroup {
out.config
.set_rule_enabled("MultipleFrequencyAdverbs", true);
- // add_chunk_expr_linter doesn't support the `Sentence` `Unit` and there is not yet any
- // `add_sentence_expr_linter`
+ // Uses Sentence rather than Chunk
out.add("PluralDecades", PluralDecades::default());
out.config.set_rule_enabled("PluralDecades", true);
+ // Uses Dictionary and Dialect
+ out.add("SpellCheck", SpellCheck::new(dictionary.clone(), dialect));
+ out.config.set_rule_enabled("SpellCheck", true);
+
out
}
@@ -740,104 +853,6 @@ impl LintGroup {
group
}
- // Non-constructor methods
-
- /// Check if the group already contains a linter with a given name.
- pub fn contains_key(&self, name: impl AsRef<str>) -> bool {
- self.linters.contains_key(name.as_ref())
- || self.chunk_expr_linters.contains_key(name.as_ref())
- }
-
- /// Add a [`Linter`] to the group, returning whether the operation was successful.
- /// If it returns `false`, it is because a linter with that key already existed in the group.
- pub fn add(&mut self, name: impl AsRef<str>, linter: impl Linter + 'static) -> bool {
- if self.contains_key(&name) {
- false
- } else {
- self.linters
- .insert(name.as_ref().to_string(), Box::new(linter));
- true
- }
- }
-
- /// Add a chunk-based [`ExprLinter`] to the group, returning whether the operation was successful.
- /// If it returns `false`, it is because a linter with that key already existed in the group.
- ///
- /// This function is not significantly different from [`Self::add`], but allows us to take
- /// advantage of some properties of chunk-based [`ExprLinter`]s for cache optimization.
- pub fn add_chunk_expr_linter(
- &mut self,
- name: impl AsRef<str>,
- // linter: impl ExprLinter + 'static,
- linter: impl ExprLinter<Unit = Chunk> + 'static,
- ) -> bool {
- if self.contains_key(&name) {
- false
- } else {
- self.chunk_expr_linters
- .insert(name.as_ref().to_string(), Box::new(linter) as _);
- true
- }
- }
-
- /// Merge the contents of another [`LintGroup`] into this one.
- /// The other lint group will be left empty after this operation.
- pub fn merge_from(&mut self, other: &mut LintGroup) {
- self.config.merge_from(&mut other.config);
-
- let other_linters = std::mem::take(&mut other.linters);
- self.linters.extend(other_linters);
-
- let other_expr_linters = std::mem::take(&mut other.chunk_expr_linters);
- self.chunk_expr_linters.extend(other_expr_linters);
- }
-
- pub fn iter_keys(&self) -> impl Iterator<Item = &str> {
- self.linters
- .keys()
- .chain(self.chunk_expr_linters.keys())
- .map(|v| v.as_str())
- }
-
- /// Set all contained rules to a specific value.
- /// Passing `None` will unset that rule, allowing it to assume its default state.
- pub fn set_all_rules_to(&mut self, enabled: Option<bool>) {
- let keys = self.iter_keys().map(|v| v.to_string()).collect::<Vec<_>>();
-
- for key in keys {
- match enabled {
- Some(v) => self.config.set_rule_enabled(key, v),
- None => self.config.unset_rule_enabled(key),
- }
- }
- }
-
- /// Get map from each contained linter's name to its associated description.
- pub fn all_descriptions(&self) -> HashMap<&str, &str> {
- self.linters
- .iter()
- .map(|(key, value)| (key.as_str(), value.description()))
- .chain(
- self.chunk_expr_linters
- .iter()
- .map(|(key, value)| (key.as_str(), ExprLinter::description(value))),
- )
- .collect()
- }
-
- /// Get map from each contained linter's name to its associated description, rendered to HTML.
- pub fn all_descriptions_html(&self) -> HashMap<&str, String> {
- self.linters
- .iter()
- .map(|(key, value)| (key.as_str(), value.description_html()))
- .chain(
- self.chunk_expr_linters
- .iter()
- .map(|(key, value)| (key.as_str(), value.description_html())),
- )
- .collect()
- }
-
pub fn organized_lints(&mut self, document: &Document) -> BTreeMap<String, Vec<Lint>> {
let mut results = BTreeMap::new();
@@ -1014,4 +1029,20 @@ mod tests {
}
}
}
+
+ #[test]
+ fn no_linter_names_clash() {
+ let group =
+ LintGroup::new_curated(Arc::new(MutableDictionary::default()), Dialect::American);
+
+ if let Some(names) = &group.clashing_linter_names {
+ if !names.is_empty() {
+ panic!(
+ "⚠️ Found {} clashing linter names: {}",
+ names.len(),
+ names.join(", ")
+ );
+ }
+ }
+ }
}
diff --git a/harper-core/src/linting/nobody.rs b/harper-core/src/linting/nobody.rs
index f620e023c..4bef53c1e 100644
--- a/harper-core/src/linting/nobody.rs
+++ b/harper-core/src/linting/nobody.rs
@@ -32,6 +32,20 @@ impl ExprLinter for Nobody {
fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Option<Lint> {
let span = matched_tokens[0..3].span()?;
let orig_chars = span.get_content(source);
+
+ if next_non_whitespace_char(source, span.end).is_some_and(|ch| ch == ',') {
+ return None;
+ }
+
+ if next_non_whitespace_word(source, span.end).is_some_and(|word| {
+ matches!(
+ word.as_str(),
+ "is" | "was" | "were" | "be" | "been" | "being"
+ )
+ }) {
+ return None;
+ }
+
Some(Lint {
span,
lint_kind: LintKind::WordChoice,
@@ -49,9 +63,38 @@ impl ExprLinter for Nobody {
}
}
+fn next_non_whitespace_char(source: &[char], offset: usize) -> Option<char> {
+ source
+ .get(offset..)?
+ .iter()
+ .find(|c| !c.is_whitespace())
+ .copied()
+}
+
+fn next_non_whitespace_word(source: &[char], offset: usize) -> Option<String> {
+ let suffix = source.get(offset..)?;
+ let mut iter = suffix
+ .iter()
+ .enumerate()
+ .skip_while(|(_, c)| c.is_whitespace());
+ let start = iter.next()?.0;
+ let end = suffix[start..]
+ .iter()
+ .position(|c| c.is_whitespace() || c.is_ascii_punctuation())
+ .map(|len| start + len)
+ .unwrap_or(suffix.len());
+
+ Some(
+ suffix[start..end]
+ .iter()
+ .collect::<String>()
+ .to_ascii_lowercase(),
+ )
+}
+
#[cfg(test)]
mod tests {
- use crate::linting::tests::assert_suggestion_result;
+ use crate::linting::tests::{assert_lint_count, assert_suggestion_result};
use super::Nobody;
@@ -63,4 +106,18 @@ mod tests {
"Nobody told me. I have a head but no body.",
);
}
+
+ #[test]
+ fn ignores_no_body_was_found() {
+ assert_lint_count("No body was found after the search.", Nobody::default(), 0);
+ }
+
+ #[test]
+ fn ignores_no_body_comma() {
+ assert_lint_count(
+ "No body, no signs of a struggle, no answers.",
+ Nobody::default(),
+ 0,
+ );
+ }
}
diff --git a/harper-core/src/linting/of_course.rs b/harper-core/src/linting/of_course.rs
index c41ec064c..5743c6e39 100644
--- a/harper-core/src/linting/of_course.rs
+++ b/harper-core/src/linting/of_course.rs
@@ -1,13 +1,10 @@
-//! Corrects "of curse/corse" to "of course" while ignoring phrases like "kind of curse".
-//!
-//! See also:
-//! - `OfCourse` in `phrase_corrections` for "off course" / "o course" / "ofcourse" → "of course" corrections.
+//! Corrects common mistaken forms of "of course" while ignoring valid phrases like
+//! "kind of curse".
-use crate::expr::Expr;
-use crate::expr::SequenceExpr;
+use crate::expr::{Expr, OwnedExprExt, SequenceExpr};
use crate::linting::expr_linter::Chunk;
use crate::{
- Token,
+ Token, TokenStringExt,
linting::{ExprLinter, Lint, LintKind, Suggestion},
patterns::WordSet,
};
@@ -18,11 +15,25 @@ pub struct OfCourse {
impl Default for OfCourse {
fn default() -> Self {
- let wrong_forms = WordSet::new(&["curse", "corse"]);
- let expr = SequenceExpr::default()
+ let curse_or_corse = SequenceExpr::default()
.t_aco("of")
.then_whitespace()
- .then(wrong_forms);
+ .then(WordSet::new(&["curse", "corse"]));
+
+ let off_course_or_coarse = SequenceExpr::default()
+ .t_aco("off")
+ .then_whitespace()
+ .then(WordSet::new(&["course", "coarse"]));
+
+ let expr = curse_or_corse
+ .or_longest(off_course_or_coarse)
+ .or_longest(
+ SequenceExpr::default()
+ .t_aco("o")
+ .then_whitespace()
+ .t_aco("course"),
+ )
+ .or_longest(WordSet::new(&["ofcourse"]));
Self {
expr: Box::new(expr),
@@ -38,50 +49,67 @@ impl ExprLinter for OfCourse {
}
fn match_to_lint(&self, matched: &[Token], source: &[char]) -> Option<Lint> {
- // Skip if the word before “of” is “kind” or “sort” → “kind of curse” is valid.
- if let Some(of_idx) = matched.first().map(|t| t.span.start)
- && let Some(prev) = source.get(..of_idx).map(|src| {
- // Walk backwards over whitespace to find the preceding word token.
- let mut i = of_idx.saturating_sub(1);
- while i > 0 && src[i].is_whitespace() {
- i -= 1;
- }
- // Return slice ending with that char to build a small string.
- let start = src[..=i]
- .iter()
- .rposition(|c| c.is_whitespace())
- .map(|p| p + 1)
- .unwrap_or(0);
- src[start..=i].iter().collect::<String>()
- })
+ let phrase_span = matched.span()?;
+ let phrase = phrase_span.get_content_string(source);
+
+ if (phrase.eq_ignore_ascii_case("of curse") || phrase.eq_ignore_ascii_case("of corse"))
+ && preceding_word(source, matched.first()?.span.start)
+ .is_some_and(|prev| matches!(prev.as_str(), "kind" | "sort"))
{
- let lower = prev.to_ascii_lowercase();
- if lower == "kind" || lower == "sort" {
- return None;
- }
+ return None;
}
- let typo_span = matched.last()?.span;
- let original = typo_span.get_content(source);
+ if phrase.eq_ignore_ascii_case("off course")
+ && preceding_non_whitespace_char(source, matched.first()?.span.start)
+ .is_some_and(|ch| ch.is_alphanumeric())
+ {
+ return None;
+ }
Some(Lint {
- span: typo_span,
+ span: phrase_span,
lint_kind: LintKind::WordChoice,
- suggestions: vec![Suggestion::replace_with_match_case(
- "course".chars().collect(),
- original,
+ suggestions: vec![Suggestion::replace_with_match_case_str(
+ "of course",
+ phrase_span.get_content(source),
)],
- message: "Did you mean “of **course**” (= clearly) instead of “of curse / corse”?"
- .to_string(),
+ message: "Did you mean `of course`?".to_string(),
priority: 31,
})
}
fn description(&self) -> &str {
- "Corrects the common eggcorn “of curse / corse” to “of course,” ignoring phrases like “kind of curse.”"
+ "Corrects common mistaken forms of `of course`, including `of curse`, `off course`, and `ofcourse`, while ignoring valid phrases like `kind of curse`."
}
}
+fn preceding_word(source: &[char], offset: usize) -> Option<String> {
+ let prefix = source.get(..offset)?;
+ let mut i = prefix.len().checked_sub(1)?;
+
+ while prefix[i].is_whitespace() {
+ i = i.checked_sub(1)?;
+ }
+
+ let start = prefix[..=i]
+ .iter()
+ .rposition(|c| c.is_whitespace())
+ .map(|pos| pos + 1)
+ .unwrap_or(0);
+
+ Some(
+ prefix[start..=i]
+ .iter()
+ .collect::<String>()
+ .to_ascii_lowercase(),
+ )
+}
+
+fn preceding_non_whitespace_char(source: &[char], offset: usize) -> Option<char> {
+ let prefix = source.get(..offset)?;
+ prefix.iter().rev().find(|c| !c.is_whitespace()).copied()
+}
+
#[cfg(test)]
mod tests {
use super::OfCourse;
@@ -119,4 +147,49 @@ mod tests {
0,
);
}
+
+ #[test]
+ fn flags_off_course() {
+ assert_suggestion_result(
+ "Yes, off course we should do that.",
+ OfCourse::default(),
+ "Yes, of course we should do that.",
+ );
+ }
+
+ #[test]
+ fn flags_o_course() {
+ assert_suggestion_result(
+ "Yes, o course we should do that.",
+ OfCourse::default(),
+ "Yes, of course we should do that.",
+ );
+ }
+
+ #[test]
+ fn flags_ofcourse() {
+ assert_suggestion_result(
+ "Ofcourse, I like other languages.",
+ OfCourse::default(),
+ "Of course, I like other languages.",
+ );
+ }
+
+ #[test]
+ fn flags_off_coarse() {
+ assert_suggestion_result(
+ "Off coarse, the web service will still be operational.",
+ OfCourse::default(),
+ "Of course, the web service will still be operational.",
+ );
+ }
+
+ #[test]
+ fn ignores_literal_off_course() {
+ assert_lint_count(
+ "Her sailboat had been driven off course by the storm.",
+ OfCourse::default(),
+ 0,
+ );
+ }
}
diff --git a/harper-core/src/linting/weir_rules/Intact.weir b/harper-core/src/linting/weir_rules/Intact.weir
deleted file mode 100644
index fcdabb528..000000000
--- a/harper-core/src/linting/weir_rules/Intact.weir
+++ /dev/null
@@ -1,9 +0,0 @@
-expr main (in tact)
-
-let message "Use `intact` to mean undamaged or whole."
-let description "Prevents the erroneous spacing in `in tact`; `intact` is the single correct word."
-let kind "BoundaryError"
-let becomes "intact"
-
-test "The code remains in tact after the merge." "The code remains intact after the merge."
-allows "The data set remains intact."
\ No newline at end of file
diff --git a/harper-core/src/linting/weir_rules/ItsContraction.weir b/harper-core/src/linting/weir_rules/ItsContraction.weir
deleted file mode 100644
index fd2eddc84..000000000
--- a/harper-core/src/linting/weir_rules/ItsContraction.weir
+++ /dev/null
@@ -1,29 +0,0 @@
-expr main <(its [anybody, anyone, anything, anywhere, everybody, everyone, everything, everywhere, somebody, someone, something, somewhere, nobody, nothing, nowhere]), (its)>
-
-let message "When `its` introduces an idea such as `anything`, `someone`, or `nowhere`, reach for the contraction `it's` instead."
-let description "The possessive `its` is often mistaken for `it's` when it is followed by vague pronouns (any-, every-, some-, or no- + body/one/thing/where)."
-let kind "Grammar"
-let becomes "it's"
-let strategy "MatchCase"
-
-# True positives
-test "Its anybody who volunteers should speak up." "It's anybody who volunteers should speak up."
-test "Its anyone you ping will be looped in automatically." "It's anyone you ping will be looped in automatically."
-test "Its everyone on the thread noticed the spike." "It's everyone on the thread noticed the spike."
-test "Its everything we collect ends up in the archive." "It's everything we collect ends up in the archive."
-test "Its somebody on call right now." "It's somebody on call right now."
-test "Its somewhere safe to stash the nightly dump." "It's somewhere safe to stash the nightly dump."
-test "Its nobody left who can approve this." "It's nobody left who can approve this."
-test "Its anywhere the monitors blink red." "It's anywhere the monitors blink red."
-test "Its anything worth keeping should be archived." "It's anything worth keeping should be archived."
-test "Its something that keeps restarting the job." "It's something that keeps restarting the job."
-
-# False negatives (current limitation: `its` + negative modifiers such as "not" or "never" are not covered yet)
-allows "Its not anybody to blame despite the outage."
-allows "Its never anywhere near the ideal timing we hoped for."
-
-# Guardrails / False positives
-test "Its tail twitches every time I call it." "Its tail twitches every time I call it."
-test "Its release pipeline is stable in production." "Its release pipeline is stable in production."
-test "The cluster updates its nodes nightly." "The cluster updates its nodes nightly."
-test "Its cover page mentions all contributors." "Its cover page mentions all contributors."
diff --git a/harper-core/src/linting/weir_rules/OfCourse.weir b/harper-core/src/linting/weir_rules/OfCourse.weir
deleted file mode 100644
index 45be22413..000000000
--- a/harper-core/src/linting/weir_rules/OfCourse.weir
+++ /dev/null
@@ -1,11 +0,0 @@
-expr main [(off course), (o course), (ofcourse), (off coarse)]
-
-let message "Did you mean `of course`?"
-let description "Detects common mistaken forms of `of course`."
-let kind "Eggcorn"
-let becomes "of course"
-
-test "Yes, off course we should do that." "Yes, of course we should do that."
-test "Yes, o course we should do that." "Yes, of course we should do that."
-test "Ofcourse, I like other languages.. uzulla has 183 repositories available." "Of course, I like other languages.. uzulla has 183 repositories available."
-test "Off coarse, the web service will still be operational." "Of course, the web service will still be operational."
\ No newline at end of file