From review on the Map view: - An error answer (429, 5xx) is returned with its status and headers as soon as they arrive, its body never read: an error page too large or too slow no longer hides that the host is throttling (Retry-After reaches the backoff). - lightcraft-fetch's Limits gains an overall deadline (`deadline`, HttpError::TooSlow), checked before every socket read and write, including chunk-size and trailer lines and each TLS handshake step (complete_io looped inside and is no longer used), and in connection setup when it comes before the connect timeout. A server trickling one byte under the stall timeout can no longer hold a request indefinitely. The tile transport sets it to its connect + body time; the model downloader passes none.
lightcraft-fetch
Native model downloads in pure Rust (L0, Apache-2.0): HTTP/1.1 over std sockets and rustls with the RustCrypto provider, without ring, aws-lc, C or assembly build dependencies. The wasm32 crate is empty.
Call download with bounded file specifications and ordered mirrors, or download_url for an exact catalog URL (including its query). Each file has a local filename independent of the URL, a size cap and optional pinned size/SHA-256. Transfers resume pinned .part files, verify before renaming, report progress and check cancellation during reads. Run on a worker thread. No proxy support; DNS resolution uses the platform resolver. Tokens are off by default and never forwarded to a different redirect host. A redirect from https to http is refused.
Tests use local synthetic HTTP servers for redirects, resume, truncation, cancellation, stalls, hashes, size limits and hostile specifications; they make no internet requests.