Skip to main content

max / makenotwork

clear clippy warnings, update quinn-proto, drop unused kberg deps Update quinn-proto across mnw-cli, ops-exec and wam for RUSTSEC-2026-0185. Drop tower and tower-http from kberg, which references neither. Make the discover match-tier assert a const assert so tier drift fails the build rather than a test, give the rate-limiting ignores their reasons, and take the remaining style lints. TMixWeights keeps its _pct field names behind an allow: they are the serde wire format.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-01 21:28 UTC
Signed with PGP, not checked
Commit: c25c65f56a844a8969fc70555276fc1ff5713d12
Parent: 303d73e
12 files changed, +190 insertions, -250 deletions
M mnw-cli/Cargo.lock +15 -36
@@ -1198,11 +1198,9 @@
1198 1198 checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
1199 1199 dependencies = [
1200 1200 "cfg-if",
1201 - "js-sys",
1202 1201 "libc",
1203 1202 "r-efi 5.3.0",
1204 1203 "wasip2",
1205 - "wasm-bindgen",
1206 1204 ]
1207 1205
1208 1206 [[package]]
@@ -2506,15 +2504,16 @@
2506 2504
2507 2505 [[package]]
2508 2506 name = "quinn-proto"
2509 - version = "0.11.14"
2507 + version = "0.11.16"
2510 2508 source = "registry+https://github.com/rust-lang/crates.io-index"
2511 - checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098"
2509 + checksum = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560"
2512 2510 dependencies = [
2513 2511 "aws-lc-rs",
2514 2512 "bytes",
2515 - "getrandom 0.3.4",
2513 + "getrandom 0.4.2",
2516 2514 "lru-slab",
2517 - "rand 0.9.2",
2515 + "rand 0.10.2",
2516 + "rand_pcg",
2518 2517 "ring",
2519 2518 "rustc-hash",
2520 2519 "rustls",
@@ -2568,20 +2567,10 @@
2568 2567 checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
2569 2568 dependencies = [
2570 2569 "libc",
2571 - "rand_chacha 0.3.1",
2570 + "rand_chacha",
2572 2571 "rand_core 0.6.4",
2573 2572 ]
2574 2573
2575 - [[package]]
2576 - name = "rand"
2577 - version = "0.9.2"
2578 - source = "registry+https://github.com/rust-lang/crates.io-index"
2579 - checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
2580 - dependencies = [
2581 - "rand_chacha 0.9.0",
2582 - "rand_core 0.9.5",
2583 - ]
2584 -
2585 2574 [[package]]
2586 2575 name = "rand"
2587 2576 version = "0.10.2"
@@ -2603,16 +2592,6 @@
2603 2592 "rand_core 0.6.4",
2604 2593 ]
2605 2594
2606 - [[package]]
2607 - name = "rand_chacha"
2608 - version = "0.9.0"
2609 - source = "registry+https://github.com/rust-lang/crates.io-index"
2610 - checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
2611 - dependencies = [
2612 - "ppv-lite86",
2613 - "rand_core 0.9.5",
2614 - ]
2615 -
2616 2595 [[package]]
2617 2596 name = "rand_core"
2618 2597 version = "0.6.4"
@@ -2622,21 +2601,21 @@
2622 2601 "getrandom 0.2.17",
2623 2602 ]
2624 2603
2625 - [[package]]
2626 - name = "rand_core"
2627 - version = "0.9.5"
2628 - source = "registry+https://github.com/rust-lang/crates.io-index"
2629 - checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
2630 - dependencies = [
2631 - "getrandom 0.3.4",
2632 - ]
2633 -
2634 2604 [[package]]
2635 2605 name = "rand_core"
2636 2606 version = "0.10.1"
2637 2607 source = "registry+https://github.com/rust-lang/crates.io-index"
2638 2608 checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
2639 2609
2610 + [[package]]
2611 + name = "rand_pcg"
2612 + version = "0.10.2"
2613 + source = "registry+https://github.com/rust-lang/crates.io-index"
2614 + checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a"
2615 + dependencies = [
2616 + "rand_core 0.10.1",
2617 + ]
2618 +
2640 2619 [[package]]
2641 2620 name = "ratatui"
2642 2621 version = "0.30.0"
@@ -1093,7 +1093,7 @@
1093 1093
1094 1094 [[package]]
1095 1095 name = "docengine"
1096 - version = "0.3.5"
1096 + version = "0.4.0"
1097 1097 dependencies = [
1098 1098 "ammonia",
1099 1099 "pulldown-cmark",
M wam/Cargo.lock +41 -69
@@ -232,6 +232,17 @@
232 232 source = "registry+https://github.com/rust-lang/crates.io-index"
233 233 checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
234 234
235 + [[package]]
236 + name = "chacha20"
237 + version = "0.10.1"
238 + source = "registry+https://github.com/rust-lang/crates.io-index"
239 + checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81"
240 + dependencies = [
241 + "cfg-if",
242 + "cpufeatures",
243 + "rand_core",
244 + ]
245 +
235 246 [[package]]
236 247 name = "chrono"
237 248 version = "0.4.44"
@@ -354,6 +365,15 @@
354 365 source = "registry+https://github.com/rust-lang/crates.io-index"
355 366 checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
356 367
368 + [[package]]
369 + name = "cpufeatures"
370 + version = "0.3.0"
371 + source = "registry+https://github.com/rust-lang/crates.io-index"
372 + checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
373 + dependencies = [
374 + "libc",
375 + ]
376 +
357 377 [[package]]
358 378 name = "directories"
359 379 version = "6.0.0"
@@ -499,20 +519,6 @@
499 519 "wasm-bindgen",
500 520 ]
501 521
502 - [[package]]
503 - name = "getrandom"
504 - version = "0.3.4"
505 - source = "registry+https://github.com/rust-lang/crates.io-index"
506 - checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
507 - dependencies = [
508 - "cfg-if",
509 - "js-sys",
510 - "libc",
511 - "r-efi 5.3.0",
512 - "wasip2",
513 - "wasm-bindgen",
514 - ]
515 -
516 522 [[package]]
517 523 name = "getrandom"
518 524 version = "0.4.2"
@@ -520,10 +526,13 @@
520 526 checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555"
521 527 dependencies = [
522 528 "cfg-if",
529 + "js-sys",
523 530 "libc",
524 - "r-efi 6.0.0",
531 + "r-efi",
532 + "rand_core",
525 533 "wasip2",
526 534 "wasip3",
535 + "wasm-bindgen",
527 536 ]
528 537
529 538 [[package]]
@@ -1102,15 +1111,6 @@
1102 1111 "zerovec",
1103 1112 ]
1104 1113
1105 - [[package]]
1106 - name = "ppv-lite86"
1107 - version = "0.2.21"
1108 - source = "registry+https://github.com/rust-lang/crates.io-index"
1109 - checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
1110 - dependencies = [
1111 - "zerocopy",
1112 - ]
1113 -
1114 1114 [[package]]
1115 1115 name = "prettyplease"
1116 1116 version = "0.2.37"
@@ -1152,15 +1152,16 @@
1152 1152
1153 1153 [[package]]
1154 1154 name = "quinn-proto"
1155 - version = "0.11.14"
1155 + version = "0.11.16"
1156 1156 source = "registry+https://github.com/rust-lang/crates.io-index"
1157 - checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098"
1157 + checksum = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560"
1158 1158 dependencies = [
1159 1159 "aws-lc-rs",
1160 1160 "bytes",
1161 - "getrandom 0.3.4",
1161 + "getrandom 0.4.2",
1162 1162 "lru-slab",
1163 1163 "rand",
1164 + "rand_pcg",
1164 1165 "ring",
1165 1166 "rustc-hash",
1166 1167 "rustls",
@@ -1195,12 +1196,6 @@
1195 1196 "proc-macro2",
1196 1197 ]
1197 1198
1198 - [[package]]
1199 - name = "r-efi"
1200 - version = "5.3.0"
1201 - source = "registry+https://github.com/rust-lang/crates.io-index"
1202 - checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
1203 -
1204 1199 [[package]]
1205 1200 name = "r-efi"
1206 1201 version = "6.0.0"
@@ -1209,31 +1204,28 @@
1209 1204
1210 1205 [[package]]
1211 1206 name = "rand"
1212 - version = "0.9.4"
1207 + version = "0.10.2"
1213 1208 source = "registry+https://github.com/rust-lang/crates.io-index"
1214 - checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea"
1209 + checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80"
1215 1210 dependencies = [
1216 - "rand_chacha",
1217 - "rand_core",
1218 - ]
1219 -
1220 - [[package]]
1221 - name = "rand_chacha"
1222 - version = "0.9.0"
1223 - source = "registry+https://github.com/rust-lang/crates.io-index"
1224 - checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
1225 - dependencies = [
1226 - "ppv-lite86",
1211 + "chacha20",
1212 + "getrandom 0.4.2",
1227 1213 "rand_core",
1228 1214 ]
1229 1215
1230 1216 [[package]]
1231 1217 name = "rand_core"
1232 - version = "0.9.5"
1218 + version = "0.10.1"
1233 1219 source = "registry+https://github.com/rust-lang/crates.io-index"
1234 - checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
1220 + checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
1221 +
1222 + [[package]]
1223 + name = "rand_pcg"
1224 + version = "0.10.2"
1225 + source = "registry+https://github.com/rust-lang/crates.io-index"
1226 + checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a"
1235 1227 dependencies = [
1236 - "getrandom 0.3.4",
1228 + "rand_core",
1237 1229 ]
1238 1230
1239 1231 [[package]]
@@ -2375,26 +2367,6 @@
2375 2367 "synstructure",
2376 2368 ]
2377 2369
2378 - [[package]]
2379 - name = "zerocopy"
2380 - version = "0.8.48"
2381 - source = "registry+https://github.com/rust-lang/crates.io-index"
2382 - checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9"
2383 - dependencies = [
2384 - "zerocopy-derive",
2385 - ]
2386 -
2387 - [[package]]
2388 - name = "zerocopy-derive"
2389 - version = "0.8.48"
2390 - source = "registry+https://github.com/rust-lang/crates.io-index"
2391 - checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
2392 - dependencies = [
2393 - "proc-macro2",
2394 - "quote",
2395 - "syn",
2396 - ]
2397 -
2398 2370 [[package]]
2399 2371 name = "zerofrom"
2400 2372 version = "0.1.7"
@@ -680,8 +680,6 @@
680 680 "thiserror",
681 681 "tokio",
682 682 "tokio-stream",
683 - "tower",
684 - "tower-http 0.7.0",
685 683 "tracing",
686 684 "tracing-subscriber",
687 685 "uuid",
@@ -959,7 +957,7 @@
959 957 "tokio",
960 958 "tokio-rustls",
961 959 "tower",
962 - "tower-http 0.6.11",
960 + "tower-http",
963 961 "tower-service",
964 962 "url",
965 963 "wasm-bindgen",
@@ -1462,23 +1460,6 @@
1462 1460 "url",
1463 1461 ]
1464 1462
1465 - [[package]]
1466 - name = "tower-http"
1467 - version = "0.7.0"
1468 - source = "registry+https://github.com/rust-lang/crates.io-index"
1469 - checksum = "b11f75e912b0c2be01b63d8cf8057b8c3f97cf34abb3d431a3a4c8675498e233"
1470 - dependencies = [
1471 - "bitflags",
1472 - "bytes",
1473 - "http",
1474 - "http-body",
1475 - "percent-encoding",
1476 - "pin-project-lite",
1477 - "tower-layer",
1478 - "tower-service",
1479 - "tracing",
1480 - ]
1481 -
1482 1463 [[package]]
1483 1464 name = "tower-layer"
1484 1465 version = "0.3.3"
@@ -10,7 +10,7 @@
10 10
11 11 [features]
12 12 default = ["server", "ollama"]
13 - server = ["dep:axum", "dep:tokio", "dep:tokio-stream", "dep:tower", "dep:tower-http"]
13 + server = ["dep:axum", "dep:tokio", "dep:tokio-stream"]
14 14 ollama = ["dep:reqwest", "dep:tokio"]
15 15
16 16 [dependencies]
@@ -22,8 +22,6 @@
22 22 uuid = { version = "1", features = ["v4", "serde"] }
23 23
24 24 axum = { version = "0.8", optional = true }
25 - tower = { version = "0.5", optional = true }
26 - tower-http = { version = "0.7", optional = true, features = ["trace"] }
27 25
28 26 reqwest = { version = "0.13", optional = true, features = ["json"] }
29 27