Skip to main content

max / shop

Pin quasi-type at the rev that can take a mirror quasi-type 0.1.2 reads QUASI_TYPE_MIRROR, a base URL under which every pinned file is addressed by the sha256 the pin already carries. shop's build script is the third fetch in an Alloy image build and the one the image's seed cache cannot cover, so moving this pin is what lets a build host cover it without shop changing.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session
https://claude.ai/code/session_0153yKAYUmoC9bZz2eV6cA88
Author: Max Johnson <me@maxj.phd> · 2026-08-29 17:25 UTC
Signed with PGP, not checked
Commit: e4e3df348c3f2ea48483d51ce6c400a956a9701d
Parent: 99fe46d
3 files changed, +45 insertions, -37 deletions
M Cargo.lock +36 -36
@@ -2382,6 +2382,42 @@
2382 2382 "simd-adler32",
2383 2383 ]
2384 2384
2385 + [[patch.unused]]
2386 + name = "quasi-axum"
2387 + version = "0.79.0"
2388 +
2389 + [[patch.unused]]
2390 + name = "quasi-basics"
2391 + version = "0.79.0"
2392 +
2393 + [[patch.unused]]
2394 + name = "quasi-http"
2395 + version = "0.79.0"
2396 +
2397 + [[patch.unused]]
2398 + name = "quasi-immediate"
2399 + version = "0.79.0"
2400 +
2401 + [[patch.unused]]
2402 + name = "quasi-notifs"
2403 + version = "0.79.0"
2404 +
2405 + [[patch.unused]]
2406 + name = "quasi-router"
2407 + version = "0.79.0"
2408 +
2409 + [[patch.unused]]
2410 + name = "quasi-store"
2411 + version = "0.1.0"
2412 +
2413 + [[patch.unused]]
2414 + name = "quasi-tauri"
2415 + version = "0.79.0"
2416 +
2417 + [[patch.unused]]
2418 + name = "quasi-webview"
2419 + version = "0.79.0"
2420 +
2385 2421 [[patch.unused]]
2386 2422 name = "docengine"
2387 2423 version = "0.7.0"
@@ -2409,39 +2445,3 @@
2409 2445 [[patch.unused]]
2410 2446 name = "synckit-config"
2411 2447 version = "0.2.0"
2412 -
2413 - [[patch.unused]]
2414 - name = "quasi-axum"
2415 - version = "0.75.0"
2416 -
2417 - [[patch.unused]]
2418 - name = "quasi-basics"
2419 - version = "0.75.0"
2420 -
2421 - [[patch.unused]]
2422 - name = "quasi-http"
2423 - version = "0.75.0"
2424 -
2425 - [[patch.unused]]
2426 - name = "quasi-immediate"
2427 - version = "0.75.0"
2428 -
2429 - [[patch.unused]]
2430 - name = "quasi-notifs"
2431 - version = "0.75.0"
2432 -
2433 - [[patch.unused]]
2434 - name = "quasi-router"
2435 - version = "0.75.0"
2436 -
2437 - [[patch.unused]]
2438 - name = "quasi-store"
2439 - version = "0.1.0"
2440 -
2441 - [[patch.unused]]
2442 - name = "quasi-tauri"
2443 - version = "0.75.0"
2444 -
2445 - [[patch.unused]]
2446 - name = "quasi-webview"
2447 - version = "0.75.0"
@@ -30,4 +30,4 @@
30 30 # rev is ignored, which is the point of that block; off the tree it is what a
31 31 # build resolves. Bump it in the same pass as a glyph-set change, alongside
32 32 # Alloy's `QUASI_TYPE_REV`.
33 - quasi-type = { git = "https://makenot.work/git/max/quasi-type.git", version = "0.1.1", rev = "e57a57f35563252b5ed00a8caf1262517f3d51f4" }
33 + quasi-type = { git = "https://makenot.work/git/max/quasi-type.git", version = "0.1.2", rev = "43845e3a35c8f46c0ed66c3945cc1710158d58d4" }
@@ -7,6 +7,14 @@
7 7 //!
8 8 //! The base is downloaded once into `OUT_DIR` and checksummed against
9 9 //! `quasi-type`'s pins, so a warm target directory needs no network.
10 + //!
11 + //! A cold one reaches raw.githubusercontent.com, which rate-limits by IP and
12 + //! took Alloy's image build down on 2026-08-17. `QUASI_TYPE_MIRROR` in the
13 + //! environment names a base URL that is tried first, with the pinned url as the
14 + //! fallback; every file is addressed under it by the sha256 the pin already
15 + //! carries, so a mirror is a second source rather than a second thing to trust.
16 + //! Nothing here reads it -- it is `quasi-type`'s own knob, and setting it is
17 + //! what lets a build host cover this fetch without shop changing.
10 18
11 19 fn main() {
12 20 println!("cargo:rerun-if-changed=build.rs");