lightcraft/crates/segment
Daniel Voshart 7fa7506db4 Fetch: the model downloader is its own crate, lightcraft-fetch
The downloader in lightcraft-segment (mirrors, resume, pinned SHA-256, pure-Rust
HTTPS) was already generic apart from four SAM 3 constants. Move it to
crates/fetch (L0, native only) so other model features can use it without
depending on the SAM 3 inference code. lightcraft-segment keeps SAM3_FILES,
DEFAULT_MIRRORS, MIRRORS_ENV and wraps mirrors(); no behaviour change. The
downloader's 13 tests moved with it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-07 12:07:24 -04:00
..
examples M12: SAM 3 Object and Describe masks (pure Rust, Metal) 2026-10-06 20:15:04 -03:00
src Fetch: the model downloader is its own crate, lightcraft-fetch 2026-10-07 12:07:24 -04:00
tests M12: SAM 3 Object and Describe masks (pure Rust, Metal) 2026-10-06 20:15:04 -03:00
Cargo.toml Fetch: the model downloader is its own crate, lightcraft-fetch 2026-10-07 12:07:24 -04:00